Skip to content
LoveToCalc

Theorem — what does that mean?

Distance from a point to a plane

Put the point into the plane's left-hand side, take the absolute value, and divide by the length of the normal vector.

In Swedish: Avstånd från en punkt till ett plan

D=|ax₀+by₀+cz₀+d|a²+b²+c²

D
Distance
a
Coefficient of x
b
Coefficient of y
c
Coefficient of z
d
Constant term
x₀
x of the point
y₀
y of the point
z₀
z of the point
A plane drawn in perspective as a shaded parallelogram and a point above it. The perpendicular from the point meets the plane at a right angle, and its length D is the distance.

The formula

The plane is ax + by + cz + d = 0 and the point is (x₀, y₀, z₀). The distance D is the shortest one, along the normal from the point straight to the plane. The letter d is already the plane’s constant, so the distance is D here.

Holds when a, b and c are not all 0. Otherwise the equation describes no plane, and the denominator is 0.

The plane 2x + 3y + 6z − 5 = 0 and the point (1, 2, 3):

The absolute value

The left side ax₀ + by₀ + cz₀ + d is positive for points on one side of the plane and negative for points on the other. A distance is not negative, so the sign is removed.

The plane 2x − 3y + 6z + 5 = 0 and the point (−2, 3, −1):

Working D
|−4 − 9 − 6 + 5| / 7 = |−14| / 7 2
(−4 − 9 − 6 + 5) / 7, no absolute value −2
|−4 − 9 − 6| / 7, d forgotten 19/7 ≈ 2.71

The sign still tells you something: two points with the same sign lie on the same side of the plane.

Points where the formula gets simple

A point in the plane. The point (1, 4, 1) and the plane 2x + 3y + 6z − 20 = 0 give the numerator 2 + 12 + 6 − 20 = 0, and the distance is 0. The point lies in the plane.

A plane perpendicular to an axis. The plane z = 4 is 0x + 0y + 1z − 4 = 0, with normal vector (0, 0, 1) and denominator 1. The distance from (3, 7, 9) is |9 − 4| = 5, just the difference in z.

Why the formula holds

Call the foot of the perpendicular from the point Q. The vector from Q to the point is parallel to the normal vector n = (a, b, c), so the distance is the length of that vector’s projection onto n. The projection’s length is the dot product with n, divided by the length of n. Take any point in the plane instead of Q: the difference lies in the plane and is perpendicular to n, so the dot product does not change. The working lands on the numerator ax₀ + by₀ + cz₀ + d.

The same formula with one dimension fewer gives the distance from a point to a line in the plane, |ax₀ + by₀ + c| / √(a² + b²).

Common mistakes

Common questions

How do I find the distance between two parallel planes? Pick a point in one plane and find its distance to the other. Every point of the first plane gives the same distance.

Does the normal vector need to have length 1? No, that is what the denominator takes care of. Multiply the plane’s equation by a number and the numerator and denominator change by the same factor, so the distance stays the same.

Where do I find the equation of the plane? How to set it up and read it is on the page on the equation of a plane.

Last reviewed October 7, 2026 ·How pages are reviewed

GeometryAll formulas