Math calculator

Plane Equation Calculator

Three points fix a plane. A fourth measures against it.

A plane through three points

One point per line, as x, y and z.

the plane through those three points

1x + 1y + 1z = 1

The fourth point is 0.57735027 away, on the side the normal points away from.

Normal vector

(1, 1, 1)

perpendicular to the plane

Constant

1

the dot product with any point on it

Distance

0.57735027

shortest, along the normal

Signed distance

-0.57735027

the sign says which side

Which side

on the side the normal points away from

relative to the normal direction

  • The normal is the cross product of two edge vectors, computed exactly — an all-zero normal is what tells you the three points were collinear, and that test has to be exact rather than approximate.
  • A plane equation is only fixed up to a scale factor: multiplying every coefficient by the same non-zero number describes the same plane.
  • The distance is reported signed as well as absolute, because the sign says which side of the plane the point is on — which is exactly what a clipping or collision test needs.

The normal is exact, so three collinear points are recognised as collinear rather than producing a plane out of rounding noise.

What this tool shows

Three points fix a plane, and the coefficients of its equation are the components of the normal vector. That is why the equation reads as “the dot product with the normal is constant” — and why the distance formula looks the way it does.

  • The equation of a plane through three points
  • The normal vector, and what it means
  • The distance from a point to the plane
  • Which side of the plane a point is on
  • Why three collinear points fix nothing
  • Why the equation is only fixed up to scale
From three points Normal vector Exact collinearity test Signed distance

Add a fourth point to measure the distance to it.

Updated 7 September 2026 · Works in any browser, no installation

Cross two edge vectors to get the normal, then substitute a point. For (1,0,0), (0,1,0) and (0,0,1) the normal is (1, 1, 1) and the plane is x + y + z = 1. The coefficients of a plane equation always ARE the normal vector, which is the fact everything else here follows from.

At a glance

Formula shown
The normal n is (Q − P) × (R − P). The plane is n·x = n·P, or ax + by + cz = d with (a, b, c) = n. The signed distance from a point w is (n·w − d)/|n|, whose sign says which side of the plane w lies on.
Scenario support
Fitting a plane to three surveyed points; finding how far a point is from a surface; deciding which side of a boundary something is on.
Educational estimate
Planning support from the values you enter — not professional advice.

Three points, one plane

Two points fix a line. Three fix a plane — provided they are not already on a line themselves.

Physically it is the reason a three-legged stool never rocks and a four-legged one sometimes does. Three feet always lie in a plane; a fourth has to be lucky.

The construction is direct: take two vectors along the plane, from the first point to each of the others, and cross them. The cross product is perpendicular to both, so it is perpendicular to every direction in the plane — which is what a normal vector is.

The normal is the equation

In ax + by + cz = d, the numbers a, b and c are the components of the normal vector. Not related to it — they are it.

That makes the equation readable rather than arbitrary. It says the dot product of the position with the normal is a constant, and a dot product measures how far along a direction something lies. So the plane is the set of points that sit the same distance along the normal.

Everything else follows. The distance formula divides by the normal’s length in order to measure in units of distance rather than units of the normal. The angle between two planes is the angle between their normals. Two planes are parallel exactly when their normals are.

One consequence worth stating: the equation is only fixed up to scale. Multiplying every coefficient by the same non-zero number describes the same plane, so two correct answers to the same problem can look different.

Signed distance

The distance from a point to a plane is measured along the normal — the shortest route, and the only one perpendicular to the surface.

Substituting the point into the equation gives a number that is not the distance yet; dividing by the normal’s length makes it one.

Before that absolute value, the quantity is signed, and the sign is the useful part: positive means the point is on the side the normal points to, negative means the other side, and zero means it lies in the plane.

That is exactly what a clipping test, a collision check or a shadow calculation needs. “How far” is often less important than “which side”, and a page that reports only the absolute distance has thrown the answer away.

A signed distance of zero for a fourth point is also the coplanarity test: all four points lie in one plane.

When three points are not enough

Three points on a straight line do not fix a plane. Infinitely many planes contain a single line — imagine a page rotating about its spine.

The arithmetic says so cleanly: the two edge vectors are parallel, so their cross product is the zero vector, and there is no direction to call the normal.

This is the reason the cross product here is computed exactly. Three nearly collinear points give a very small normal, and normalising it amplifies whatever rounding error it contains into a plane tilted at an arbitrary angle. An exact computation returns a genuine zero and the page refuses, which is the honest answer.

Where it gets used

Computer graphics. Every surface is a mesh of triangles, and every triangle carries a normal. Lighting is a dot product with it, and which side you are looking at is the sign of that product.

Collision and clipping. Signed distance to a plane decides inside from outside, and a convex shape is an intersection of half-spaces defined exactly this way.

Surveying and construction. Fitting a plane to measured points to check whether a surface is flat, and measuring the deviations from it.

Data analysis. A plane of best fit through points in three dimensions is the three-dimensional version of a line of best fit, and principal component analysis finds it.

Sources and methodology

The vector formulation is standard; these are the references.

Method. The normal is a cross product on exact rationals, and that exactness is doing real work: an all-zero normal is precisely what tells you the three points were collinear, and a floating-point cross product of three nearly-collinear points gives a small non-zero vector rather than a zero one, which would produce a plane out of rounding noise. The distance is reported signed as well as absolute, because the sign carries which side — the part a clipping or collision test needs. The suite checks the normal is perpendicular to both edge vectors on six hundred generated triples. That engine is verified on every change against 119 hand-written assertions, including that the computed normal has a dot product of zero with both edge vectors on every generated point triple, and that a point lying in the plane is reported at distance exactly zero. The count and the per-case breakdown are published on the formula verification page.

Related calculators

Where this goes next:

VectorMagnitude, unit vector, sum, both products and the projection — with parallelism decided on the cross product, so exactly parallel vectors return exactly 0° and not a millionth of a degree.
DistanceThe distance between two points in the plane or in space, kept exact as a surd wherever the square root does not come out — √50 stays √50, and is also shown as 5√2.
Angle Between Two VectorsDot product, magnitudes and the angle as separate steps, in the plane or in space — with exactly parallel vectors returning 0° rather than a floating-point smudge.
Polygon AreaThe shoelace formula on any number of corners, kept exact — with the signed area whose sign is the winding direction, and a clear warning where a self-intersecting outline breaks it.
Intersection of Two LinesWhere two lines cross, in exact fractions — and which of the three outcomes you have, since a zero determinant means parallel or identical and those are different answers.
Line EquationThe equation of a line in all three standard forms from two points or from a point and a slope, with the intercepts and the vertical case that has no y = mx + c form at all.

More in Math, or browse all calculators.

Read the guide

The cross product this rests on — what it measures and when it vanishes — is worked through on the Vector Calculator.

Educational use disclaimer

This is an educational tool. A plane equation is only fixed up to a scale factor, so a different but proportional set of coefficients describes the same plane.

How we calculate · Found an error? email us

Authorship & verification

Written and maintained by , a business operator who builds spreadsheet-based calculators.

What's changed (3 updates)

Published 7 September 2026

  1. Published the plane equation page computing the normal as an exact cross product, since an all-zero normal is precisely what identifies three collinear points — and a floating-point cross product of nearly-collinear points gives a small non-zero vector that would produce a plane out of rounding noise.
  2. Reports the distance to a fourth point signed as well as absolute, because the sign says which side of the plane the point is on, and that is the part a clipping or collision test actually needs.
  3. States that a plane equation is only fixed up to a scale factor, so two correct answers to the same problem can look different.

Add this calculator to your site

Responsive embed — and private: nothing your visitors type leaves their browser.