Loading…

Point to Plane Distance Tool

Math Geometry • Three Dimensional Geometry

View all topics

Distance from Point to Plane Calculator in 3D

Compute the shortest (perpendicular) distance from a point \(P_0(x_0,y_0,z_0)\) to a plane \(ax+by+cz+d=0\). The tool also finds the foot of the perpendicular (projection point) and visualizes the segment.

Inputs accept 1e-3, pi, e, sqrt(2), sin(), cos(), tan(), ln(), log(), abs(). Use * for multiplication.

Inputs
Example: \(x+y-z=0\) corresponds to \(a=1,b=1,c=-1,d=0\).

Point \(P_0(x_0,y_0,z_0)\)
The perpendicular distance is \(\displaystyle \frac{|ax_0+by_0+cz_0+d|}{\sqrt{a^2+b^2+c^2}}\).
Display & view

Drag to orbit • Shift+drag to pan • wheel/trackpad to zoom • “Reset view” fits the geometry. Units are square.

Ready
3D view (plane patch + perpendicular)

The plane is drawn as a finite patch for visualization. The shortest segment is from \(P_0\) to its projection on the plane.

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.

Frequently Asked Questions

Why is the point-to-plane distance perpendicular to the plane?

Any slanted segment from the point to the plane is longer than the perpendicular segment. The shortest path is aligned with the plane’s normal vector and meets the plane at 90 degrees.

What does the signed value s = a x0 + b y0 + c z0 + d tell me?

It tells you which side of the plane the point lies on. If s=0 the point is on the plane; if s>0 it is on the side the normal points toward; if s<0 it is on the opposite side.

How is the foot of the perpendicular computed?

Using F = P0 - ((n·P0 + d)/||n||^2) n, where n=(a,b,c). This moves from the point along the normal direction until the plane equation is satisfied.

Can I define the plane using three points instead of coefficients?

Yes. The calculator computes a normal vector using the cross product of AB and AC, then computes d so the plane passes through one of the points.