A plane equation calculator turns whatever geometric data you have about a flat surface in three dimensions into the single algebraic statement that describes it: ax + by + cz + d = 0. Three points on the plane, a point and a perpendicular direction, or a point and two directions lying in the surface — all three are enough, and all three lead to the same equation up to an overall scale factor.
This tool takes any of those three inputs and returns the general form, the vector form, the Hessian normal form with a unit normal, a parametric form, and the intercepts. Arb Digital built it because the arithmetic is short but unforgiving: one sign error in a cross product produces a plane facing the wrong way, and the mistake is invisible until something downstream goes wrong.
What This Plane Equation Calculator Does
In three-point mode you enter A, B and C, and the tool forms two edge vectors from A, takes their cross product to get a normal, and uses A to pin the constant. In normal mode you supply a point on the plane and a vector perpendicular to it, which is the shortest route when a problem gives you an orientation directly. In vector mode you supply a point and two direction vectors that lie within the plane, and the cross product of those two directions gives the normal.
Alongside the equation you get the perpendicular distance from the origin to the plane, the length of the normal vector, the x-intercept where the plane crosses the x-axis, and the dihedral angle between the plane and the horizontal xy-plane. The panel below the calculator prints the full set of standard forms, so you can copy whichever one your assignment or your CAD system expects.
Degenerate inputs are handled explicitly rather than being allowed to produce zeros. Three collinear points do not determine a plane; neither do two parallel direction vectors, nor a zero normal vector. In each of those cases the tool says what has gone wrong in words instead of printing 0x + 0y + 0z + 0 = 0, which is not a plane and not an error message either.
How to Use It
- Choose the mode that matches your data. Three points is the most common in coursework; a point and a normal is the most common in graphics and engineering.
- Enter point A. This point lies on the plane in every mode and is what fixes the constant term.
- Fill the second triple. It is point B, the normal vector, or the first direction vector, depending on the mode — the hint under the row updates to tell you which.
- Fill the third triple unless you are in normal mode, where it is ignored.
- Read the forms panel under the results for the vector form, the Hessian normal form, the parametric form and the intercepts.
The Formula: How It Is Calculated
Everything rests on one fact: a plane is the set of all points whose displacement from a known point on the plane is perpendicular to a fixed direction. Write the known point as P₀, the normal as n = (a, b, c), and a general point as P. Then the plane is exactly the set where n · (P − P₀) = 0. Expanding that dot product gives a(x − x₀) + b(y − y₀) + c(z − z₀) = 0, and collecting the constants gives ax + by + cz + d = 0 with d = −(ax₀ + by₀ + cz₀). Paul’s Online Math Notes on equations of planes works the same derivation through step by step.
When you start from three points, the normal has to be constructed first. Form the edge vectors u = B − A and v = C − A, both of which lie in the plane, and take their cross product: n = u × v. The cross product of two vectors is perpendicular to both by construction, so it is a normal to the plane containing them. Our cross product calculator does that step alone if you want to see it in isolation, and MathWorld's article on the plane gives the equivalent determinant formulation of the same construction.
Why Your Answer Can Look Different and Still Be Right
The equation of a plane is not unique. Multiply a, b, c and d all by 2, or by −1, or by any non-zero constant, and the set of points satisfying the equation is identical. So x + y + z − 1 = 0, 2x + 2y + 2z − 2 = 0 and −x − y − z + 1 = 0 are the same plane written three ways, and a marking scheme that expects one of them will usually accept the others.
Two things do change with the scaling. The normal vector's length changes, which matters if you are using it for lighting calculations or projections and expect it normalised. And the sign flips which side of the plane counts as positive, which matters for back-face culling in graphics, for signed distance queries, and for any half-space test. That is why this tool reports the unit normal separately and why the Hessian normal form, in which the normal is scaled to unit length and the constant becomes the signed distance from the origin, is worth having as a distinct output.
The tool normalises the general form for display by dividing through by the greatest common divisor when the coefficients are whole numbers, and by making the leading non-zero coefficient positive. That is a presentation choice, not mathematics, and it is what makes two answers computed from differently-ordered points come out looking the same.
Point Order Changes the Direction the Plane Faces
Swap points B and C in three-point mode and the cross product reverses, so the normal points the opposite way and every coefficient changes sign. The plane is geometrically identical. The orientation is not. In a mesh, the winding order of a triangle's vertices is what tells the renderer which face is the front, and reversing it turns a visible surface into an invisible one.
This is the single most common source of confusion when moving between a maths textbook, which usually does not care about orientation, and a graphics or CAD pipeline, which cares about very little else. If a surface disappears when you render it, the vertex order is the first thing to check. If a signed distance comes back with the wrong sign, it is the second.
When Three Points Do Not Define a Plane
Three points determine a unique plane only when they are not collinear. If they all lie on one straight line, infinitely many planes pass through them — the line can be spun like an axle — and the cross product of the two edge vectors comes out as the zero vector. This tool detects that case and says so.
The same failure appears in vector mode when the two direction vectors are parallel or anti-parallel, because they then span a line rather than a surface. And it appears in normal mode if the normal is entered as (0, 0, 0), which specifies no direction at all. A near-degenerate case is worth watching for too: three points that are almost collinear give a very short normal vector, and the resulting coefficients are numerically unreliable even though the calculation formally succeeds. The tool reports the normal's length so you can see when it is uncomfortably small relative to the distances between your points.
Reading the Other Forms
The vector form, n · r = −d, treats r as the position vector of a general point and is the most compact statement of the same fact. The Hessian normal form divides everything by |n| so the normal has unit length; the constant term is then the signed perpendicular distance from the origin to the plane, which is why that output appears in the results grid without needing a separate calculation.
The parametric form describes the plane as a starting point plus two independent directions scaled by free parameters: r = A + s·u + t·v. It is the form you want for generating points on the surface rather than testing them, and it is what a mesh generator or a plotting routine actually consumes. The intercept form, x/p + y/q + z/r = 1, exists when none of a, b, c is zero and d is not zero, and it reads the three axis crossings straight off. A plane parallel to an axis has no intercept on it, and the tool says so rather than printing an infinity.
How This Fits With the Other 3D Tools
This page builds the plane. If you already have a plane and want the perpendicular distance from a point to it, that is our point to plane distance calculator, which also returns the foot of the perpendicular. For the straight-line separation between two points in space, with no plane involved, use the 3D distance calculator. General vector arithmetic — addition, magnitude, angle between vectors — lives in the vector calculator, and the dot product calculator handles the perpendicularity test on its own.
One name collision is worth clearing up. Our inclined plane calculator is a physics tool about forces on a ramp and has nothing to do with the geometric object here, despite the shared word. And coordinate conversion between Cartesian, cylindrical and spherical systems is a separate step you may need before any of this, since a plane equation in Cartesian coordinates does not translate directly into the others.
Arb Digital builds fast, dependency-free calculators and configurators that run entirely in the browser — no backend, no library bloat, no waiting. If your site needs one, we can build it.
Web Design Services Talk to Arb DigitalCommon Mistakes to Avoid
- Forgetting the minus sign in d — the constant is −(ax₀ + by₀ + cz₀), and dropping the negation puts the plane on the wrong side of the origin.
- Reversing a cross product — u × v and v × u point in opposite directions, and the order of your two edge vectors decides which face is the front.
- Assuming a unique equation — any non-zero multiple of the coefficients describes the same plane, so a different-looking answer is not automatically wrong.
- Using three collinear points — they lie on infinitely many planes, and the cross product collapses to the zero vector rather than failing loudly.
- Reading d as the distance from the origin — it only is once the normal has been scaled to unit length, which is exactly what the Hessian normal form does.
Related Free Tools From Arb Digital
Work through the surrounding geometry with the cross product calculator for the normal on its own, the dot product calculator for perpendicularity and angles, the vector calculator for general vector arithmetic, the 3D distance calculator for point-to-point separation, the point to plane distance calculator for the perpendicular drop onto a plane, and the determinant calculator if you prefer the determinant route to the same equation. Everything else is in the free online tools hub.
Frequently Asked Questions
Three, provided they are not collinear. Three points on one straight line lie on infinitely many planes, because the line can be rotated freely about itself, so the calculation returns a zero normal vector rather than a unique answer.
ax + by + cz + d = 0, where (a, b, c) is a vector normal to the plane and d is fixed by requiring a known point on the plane to satisfy the equation. The coefficients are determined only up to an overall non-zero scale factor.
Because the equation is only defined up to scaling. Multiplying every coefficient by the same non-zero constant, including by minus one, gives an identical set of points. Divide both answers through by their leading coefficient and they should match.
Form two edge vectors from the same starting point, u = B − A and v = C − A, then take the cross product u × v. The result is perpendicular to both edges and therefore normal to the plane containing all three points.
Not for the plane itself, but it does for orientation. Swapping two points reverses the cross product, flipping the sign of every coefficient and reversing which side of the plane counts as the front face — which matters in rendering and in any signed-distance test.
It is the plane equation divided through by the length of the normal vector, so the normal has unit length. The constant term then equals the signed perpendicular distance from the origin to the plane, which makes distance queries immediate.
It never crosses that axis, so the corresponding intercept does not exist. The coefficient for that variable is zero, division to find the intercept is undefined, and this tool reports the absence in words rather than printing an infinite value.
This page performs exact geometric algebra on the coordinates you enter and reports the result in several equivalent forms. Results are computed in double-precision floating point, so coefficients derived from nearly collinear points should be treated with caution regardless of how confident the display looks.