Line Through a Point (3D) Calculator

Published on: August 30, 2026

This Line Through a Point with a Direction Vector Calculator helps you find the equation of a line in three-dimensional space from a given point and direction vector. Use the point as the starting position and the direction vector to describe how the line moves in the x-, y-, and z-directions. This gives the line in vector form and parametric form. It is a simple way to check answers, understand the method clearly, and practise 3D coordinate geometry step by step.

Step-by-step method

  1. Identify the point and direction components.
  2. Write the vector form of the line and substitute values.
  3. Write the parametric form and substitute values (and symmetric form if applicable).

Formula:

r=r0+tv
x=x0+at, y=y0+bt, z=z0+ct

Example 1: (1,2,3),(4,5,6)

Step 1 - Identify the components.

In this problem: From the given point P0 = (1, 2, 3) and direction v = (4, 5, 6), the components are:

x0=1, y0=2, z0=3
a=4, b=5, c=6

Step 2a - Write the vector form.

In this problem: Use r = r₀ + tv.

r=r0+tv

Step 2b - Substitute values.

In this problem: Replace r₀ with the point and v with the direction vector.

r=( 1, 2, 3 )+t( 4, 5, 6 )

Step 3a - Write the parametric form.

In this problem: Use x = x₀ + at, y = y₀ + bt, z = z₀ + ct.

x=x0+at, y=y0+bt, z=z0+ct

Step 3b - Substitute values.

In this problem: Substitute x₀,y₀,z₀,a,b,c into the parametric equations.

x=1 + 4t, y=2 + 5t, z=3 + 6t

Step 3c - Write the symmetric form.

In this problem: Since a, b, c are nonzero, the symmetric form is valid.

x1
4
=
y2
5
=
z3
6

Final answer: Vector form: r = (1, 2, 3) + t(4, 5, 6)

Example 2: (0,0,0),(1,0,0)

Step 1 - Identify the components.

In this problem: From the given point P0 = (0, 0, 0) and direction v = (1, 0, 0), the components are:

x0=0, y0=0, z0=0
a=1, b=0, c=0

Step 2a - Write the vector form.

In this problem: Use r = r₀ + tv.

r=r0+tv

Step 2b - Substitute values.

In this problem: Replace r₀ with the point and v with the direction vector.

r=( 0, 0, 0 )+t( 1, 0, 0 )

Step 3a - Write the parametric form.

In this problem: Use x = x₀ + at, y = y₀ + bt, z = z₀ + ct.

x=x0+at, y=y0+bt, z=z0+ct

Step 3b - Substitute values.

In this problem: Substitute x₀,y₀,z₀,a,b,c into the parametric equations.

x=t, y=0, z=0

Final answer: Vector form: r = (0, 0, 0) + t(1, 0, 0)