dash–calculator

04 Numbers and Counting

Plane Equation Calculator: Find the Plane from 3 Points

Readout 04-0605 · Updated · Standard formula, shown below

The calculator on this page is switched off while it is checked. The formula is below, and the worked example shows how to do the sum by hand.

This calculator determines the equation of a plane in 3D space from three given points. You enter the x, y, and z coordinates of three non-collinear points, and the calculator returns the plane equation in the form Ax + By + Cz + D = 0, along with the normal vector components. It uses the standard cross-product method to compute the normal vector and then solves for D using one of the points.

Formula

Given three points P₁(x₁, y₁, z₁), P₂(x₂, y₂, z₂), and P₃(x₃, y₃, z₃), the plane equation is found by first computing two vectors lying in the plane:

  • u = P₂ − P₁ = (x₂−x₁, y₂−y₁, z₂−z₁)
  • v = P₃ − P₁ = (x₃−x₁, y₃−y₁, z₃−z₁)

The normal vector n = (A, B, C) is the cross product u × v:

A = (y₂−y₁)(z₃−z₁) − (z₂−z₁)(y₃−y₁)
B = (z₂−z₁)(x₃−x₁) − (x₂−x₁)(z₃−z₁)
C = (x₂−x₁)(y₃−y₁) − (y₂−y₁)(x₃−x₁)

Then, using point P₁, the constant D is:

D = −(A·x₁ + B·y₁ + C·z₁)

All coordinates are unitless numbers (typically in the same length unit, e.g., meters or feet). The resulting equation is Ax + By + Cz + D = 0.

Worked Example

Using the default values: P₁(1,2,3), P₂(4,5,6), P₃(7,8,0).

  1. Compute u = (4−1, 5−2, 6−3) = (3, 3, 3)
  2. Compute v = (7−1, 8−2, 0−3) = (6, 6, −3)
  3. Cross product u × v:
    A = 3·(−3) − 3·6 = −9 − 18 = −27
    B = 3·6 − 3·(−3) = 18 + 9 = 27
    C = 3·6 − 3·6 = 18 − 18 = 0
  4. D = −(−27·1 + 27·2 + 0·3) = −(−27 + 54) = −27

So the plane equation is −27x + 27y + 0z − 27 = 0, or simplified −x + y − 1 = 0 (dividing by 27). The calculator shows A = −27, B = 27, C = 0, D = −27, matching the result.

When to Use This Calculator

You need the plane equation in many geometry, physics, and computer graphics contexts:

  • Finding the equation of a plane through three points in 3D space (common in multivariable calculus homework).
  • Determining the normal vector to a surface for lighting calculations in 3D rendering.
  • Checking whether a point lies on a plane (substitute coordinates into the equation).
  • Finding the distance from a point to a plane (requires the plane equation).
  • Intersecting a plane with a line or another plane.

The calculator is also useful for verifying manual calculations or for quick checks in engineering design where planes define faces of solids.

How to Read the Result

The output gives the coefficients A, B, C, and D. The normal vector is (A, B, C). The plane is the set of all points (x, y, z) that satisfy Ax + By + Cz + D = 0. If you plug in any of the three original points, the equation should equal zero (within rounding).

Note that the equation is not unique: multiplying all coefficients by any non-zero constant gives the same plane. The calculator returns one possible equation; you may see different signs or scaled versions in textbooks.

Common Mistakes and Misconceptions

  • Collinear points: If the three points lie on a straight line, the cross product is zero (A=B=C=0), and no unique plane exists. The calculator will show zeros or a division error; check that your points are not collinear.
  • Unit mix-ups: Coordinates must be in the same unit. Mixing meters and feet will give a wrong plane.
  • Rounding: Rounding coefficients early can shift the plane slightly. Keep full precision until the final step.
  • Sign of D: Some textbooks write the equation as Ax+By+Cz = D (with D positive on the right). Here we use the standard form Ax+By+Cz+D=0, so D is often negative.

Alternatives and Related Calculations

If you have a normal vector and a single point, you can find the plane equation directly: plug the normal components into A, B, C and compute D = −(A·x₀ + B·y₀ + C·z₀). If you have two vectors that lie in the plane, cross them to get the normal. For a plane given by an equation, you can extract the normal vector directly. This calculator covers the most common case of three points.

Limitations and Accuracy

The calculator assumes the three points are distinct and non-collinear. It uses double-precision arithmetic internally, so results are accurate to about 15 significant digits. The displayed values are rounded to 4 decimal places by default; you can change the rounding in the output settings. For very large coordinates (over 10^6), numerical precision may degrade slightly, but for typical inputs it is exact.

Frequently Asked Questions

What if my three points are collinear?

If the points lie on a straight line, there are infinitely many planes that contain that line, so no unique equation exists. The calculator will output A=B=C=0 (or a division error). Check your points: they are collinear if the vectors between them are scalar multiples of each other.

Can I use this calculator for points in 2D?

No, this calculator is for 3D space. In 2D, three points define a circle (if non-collinear), not a plane. For a line in 2D, you need two points.

Why is my plane equation different from the textbook answer?

The plane equation is unique up to a scalar multiple. If you multiply all coefficients by −1, you get the same plane. Also, different methods (e.g., using a different point for D) can produce different but equivalent equations. Check that your normal vector is a scalar multiple of the calculator’s.

How do I find the distance from a point to the plane?

Use the formula: distance = |A·x₀ + B·y₀ + C·z₀ + D| / sqrt(A² + B² + C²). Plug in the point coordinates (x₀, y₀, z₀) and the coefficients from this calculator.

What does the normal vector represent?

The normal vector (A, B, C) is perpendicular to the plane. It points in the direction that is orthogonal to every line lying in the plane. Its length is not standardized; scaling it changes the equation but not the plane itself.

Related

Formula used
in x1 | X₁ | - | 1 | -100 | 100
in y1 | Y₁ | - | 2 | -100 | 100
in z1 | Z₁ | - | 3 | -100 | 100
in x2 | X₂ | - | 4 | -100 | 100
in y2 | Y₂ | - | 5 | -100 | 100
in z2 | Z₂ | - | 6 | -100 | 100
in x3 | X₃ | - | 7 | -100 | 100
in y3 | Y₃ | - | 8 | -100 | 100
in z3 | Z₃ | - | 0 | -100 | 100
out A | A | - | (y2-y1)*(z3-z1) - (z2-z1)*(y3-y1) | 4
out B | B | - | (z2-z1)*(x3-x1) - (x2-x1)*(z3-z1) | 4
out C | C | - | (x2-x1)*(y3-y1) - (y2-y1)*(x3-x1) | 4
out D | D | - | -(A*x1 + B*y1 + C*z1) | 4

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More on this panel

The whole Numbers and Counting panel →