Distance from a point to a plane Created 2026-09-24 Updated 2026-10-18
The distance from a point to a plane is the shortest Euclidean distance from the given point to any point on the plane. For with nonzero normal vector , a point hasThe numerator is the residual of the plane equation, not yet a length: its size depends on the chosen normal vector. Dividing by that vector's Euclidean norm removes this arbitrary scale.
For the original example and , the normal vector is and . The residual is , so the distance is . Using the equivalent plane equation instead gives numerator and Euclidean norm , hence the same . A point already on the plane has zero residual and zero distance.
Why is the perpendicular route shortest? Let be the closest point on a plane and any other point on it. The displacement is orthogonal to , so the Pythagorean theorem givesEquality holds only for . This is the closest-point principle of orthogonal decomposition, applied after a translation of an affine plane to its direction linear subspace.[ref]
Orthogonal Projection. Interactive Linear Algebra, §6.3.1: Orthogonal decomposition theorem, Closest vector and distance
The perpendicular route to a plane is shortest, and rescaling its plane equation preserves the distance
. Original cross-section using the worked distance . The comparison point lies two length units along the plane from the closest point on a plane, giving a longer route of . The second panel reverses the unit normal without moving the plane. Details.The formula is useful whenever the deviation from a flat reference should be measured geometrically. A raw linear equation residual cannot be compared across arbitrary equation scalings; a perpendicular distance can. The same reasoning works for a hyperplane in any finite-dimensional Euclidean space, with the appropriate number of coordinates.
