Closest point on a plane 2026-10-18
For a nonzero normal vector and the plane equation , the closest point on a plane to isIt subtracts only the normal displacement. Substituting gives , so lies on the plane; the difference is a scalar multiple of its normal vector. These two checks identify the orthogonal projection onto a plane without solving a three-variable minimization problem.
For , , and , the residual givesIndeed, , and . Choosing the plane point instead gives distance : being on the plane does not make a point the nearest one.
The closest point on a plane is reached along its normal vector
. Original three-dimensional example , with and . The finite mesh is only a displayed patch of the infinite plane; it is not a physical measurement. Details.As a function of , this projection isIt is an affine map, becoming a linear map when . Projecting a second time changes nothing. It preserves displacements along the plane and removes the normal displacement, so it is a concrete example of an idempotent map.
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.
Use the distance from a point to a plane formula with the unit normal . Since the plane passes through the origin, the distance isFor a direct check, the closest point on a plane is , whose displacement from has Euclidean norm .
Signed distance from a point to a plane Created 2026-10-06 Updated 2026-10-18
Orient the plane with a unit normal . A point then has signed distance from a point to a planeIts absolute value is the ordinary distance from a point to a plane. The closest point on a plane is , so the displacement from the point to its orthogonal projection onto a plane is . Reversing the unit normal and reverses without changing the plane or the distance from a point to a plane. A sphere of radius centred at has sphere-plane intersection radius when .
For a general, not necessarily unit, normal vector in , the oriented distance is . In the worked example of distance from a point to a plane, orientation toward assigns to ; reversing that unit normal assigns . The closest point on a plane and the unsigned distance are unaffected.

