Line of Intersection of Two Planes Calculator

Find the point, direction vector, and parametric equation shared by two planes in 3D.

Enter two plane equations
Use coefficients from ax + by + cz + d = 0.
Plane 1
Plane 2

About the line of intersection

Two nonparallel planes in three-dimensional space meet along a straight line. This calculator accepts each plane in the standard form ax + by + cz + d = 0 and returns a point on their shared line, a direction vector, and a parametric vector equation. The four coefficients describe the orientation and offset of each plane. Multiplying every coefficient in one equation by the same nonzero number does not change that plane. The direction of the intersection line comes from the cross product of the two plane normals. A plane written as ax + by + cz + d = 0 has normal vector (a, b, c). A vector perpendicular to both normals must lie parallel to both planes, so n1 cross n2 gives a valid line direction. The calculator then fixes one coordinate and solves the remaining two simultaneous equations to find a convenient point on the line. Any nonzero scalar multiple of the displayed direction vector represents the same geometric line, and a different point may also describe the same answer. If the cross product is the zero vector, the normals are parallel. In that case the planes are either distinct and never meet, or coincident and share infinitely many lines. Neither case has one unique line of intersection, so the calculator reports that distinction instead of inventing a result. Very small values are treated carefully to avoid displaying negative zero caused by floating-point arithmetic. Intersection lines appear throughout analytic geometry, computer graphics, CAD, structural modeling, and multivariable calculus. You can verify a result by substituting the displayed point into both original equations. You can also add any multiple of the direction vector to that point; every resulting coordinate triple should satisfy both plane equations. The parametric form is especially useful for finding points, testing intersections with other objects, or converting the line into symmetric form when all direction components are nonzero.

Examples

These plane pairs illustrate common intersection configurations.

Plane equationsIntersectionCheck
x + y + z - 1 = 0; x - y + z - 1 = 0r = (0, 0, 1) + t(2, 0, -2)Both equations equal zero along the line.
x + y - 2 = 0; z - 3 = 0r = (2, 0, 3) + t(1, -1, 0)The line stays in the horizontal plane z = 3.
x = 0; y = 0r = (0, 0, 0) + t(0, 0, 1)The two coordinate planes meet at the z-axis.

How to use the calculator

  1. Rewrite each plane so every term is on the left and the right side is zero.
  2. Enter the x, y, z, and constant coefficients for Plane 1.
  3. Enter the corresponding four coefficients for Plane 2.
  4. Select Calculate intersection to obtain a point, direction, and parametric equation.

Frequently asked questions

How is the direction vector found?

The calculator takes the cross product of the two normal vectors. The result is perpendicular to both normals and therefore parallel to both planes.

Why can my answer look different from another correct answer?

A line has infinitely many points and its direction vector can be multiplied by any nonzero scalar. Different-looking parametric equations can therefore describe exactly the same line.

What happens when the planes are parallel?

Parallel normals have a zero cross product, so no unique direction can be computed. Distinct parallel planes never intersect, while coincident planes share infinitely many lines.

How can I verify the result?

Substitute the displayed point into both plane equations and confirm each expression equals zero. Then check that each plane normal has dot product zero with the direction vector.

Does the coefficient d have to be negative?

No, d can be positive, negative, or zero. Just enter the equation exactly in the form ax + by + cz + d = 0.