Distance from a Point to a Plane Calculator

Find how far a point is from a plane, and the closest point on it.

The x, y and z coordinates of the point, like (1, 0, 0).

Write the plane as an equation in x, y and z, such as 2x - y + 2z = 3.

Try

Result

You enteredd((0,0,0), x+y+z=1)d\left(\left(0, 0, 0\right),\ x + y + z = 1\right)

33≈0.57735\displaystyle \frac{\sqrt{3}}{3} \approx 0.57735

Foot of the perpendicular

(13,13,13)\displaystyle \left(\frac{1}{3}, \frac{1}{3}, \frac{1}{3}\right)
Show the work
  1. Plane in standard form

    Write the plane as ax+by+cz=dax + by + cz = d. The numbers aa, bb, cc are the components of a normal vector, which points straight out of the plane.

    a=1, b=1, c=1, d=1a = 1,\ b = 1,\ c = 1,\ d = 1
  2. Distance from a point to a plane

    Put the point (x0,y0,z0)(x_0, y_0, z_0) into ax+by+cz−dax + by + cz - d: the result measures how far the point is from the plane, scaled by the length of the normal. Dividing by that length gives the true distance.

    D=∣ax0+by0+cz0−d∣a2+b2+c2=∣1×0+1×0+1×0−1∣12+12+12=∣−1∣3=13=33≈0.57735\begin{aligned} D &= \frac{\left|ax_0 + by_0 + cz_0 - d\right|}{\sqrt{a^2 + b^2 + c^2}} \\ &= \frac{\left|1 \times 0 + 1 \times 0 + 1 \times 0 - 1\right|}{\sqrt{1^2 + 1^2 + 1^2}} \\ &= \frac{\left|-1\right|}{\sqrt{3}} \\ &= \frac{1}{\sqrt{3}} \\ &= \frac{\sqrt{3}}{3} \approx 0.57735 \end{aligned}
  3. Foot of the perpendicular

    The closest point on the plane is found by moving from the point straight along the normal, back to the plane. The distance moved, in units of the normal, is the number below.

    Q=P−ax0+by0+cz0−da2+b2+c2 n=(0,0,0)−(−13)(1,1,1)=(13,13,13)\begin{aligned} Q &= P - \frac{ax_0 + by_0 + cz_0 - d}{a^2 + b^2 + c^2}\,\mathbf{n} \\ &= \left(0, 0, 0\right) - \left(-\frac{1}{3}\right)\left(1, 1, 1\right) \\ &= \left(\frac{1}{3}, \frac{1}{3}, \frac{1}{3}\right) \end{aligned}
  4. Result

    So the distance from the point to the plane is 33≈0.57735\frac{\sqrt{3}}{3} \approx 0.57735.

Worked examples