Free Distance from Point to Plane Calculator

Plane Input Mode

Point Coordinates

Plane Parameters

Enter the point coordinates and plane parameters above, then click Calculate

In three-dimensional geometry, the distance from a point to a plane is defined as the length of the shortest path that connects the point to any point on the plane. This path is always perpendicular to the plane, making it the perpendicular distance. This quantity is fundamental in disciplines such as computer graphics, physics, engineering, and spatial analysis. Whenever you need this value, a dedicated point to plane distance calculator delivers instant results, but knowing how to compute it manually deepens your understanding and gives you full control over the process.

A helpful mental model is to imagine a sphere that expands from the given point until it just touches the plane. The sphere’s radius at that moment exactly equals the perpendicular distance. This analogy illustrates why the shortest line segment is always aligned with the plane’s normal vector.

Point‑to‑Plane Distance Formulas

The calculation depends on how the plane is specified. Two common representations exist: the standard form equation and a normal vector together with a point that lies on the plane.

Plane in Standard Form

If the plane is written as

Ax+By+Cz+D=0,Ax + By + Cz + D = 0,

the shortest distance from a point (a,b,c)(a, b, c) to this plane is

L=∣Aa+Bb+Cc+D∣A2+B2+C2.L = \frac{\lvert Aa + Bb + Cc + D \rvert}{\sqrt{A^{2} + B^{2} + C^{2}}}.

Here A,B,C,DA, B, C, D are the constants in the plane equation, and a,b,ca, b, c are the coordinates of the point. The denominator is the magnitude of the plane’s normal vector; it must be positive because a valid plane requires A,B,CA, B, C not all zero.

Plane Given by a Normal Vector and a Point

When you know the normal vector n=[A,B,C]\mathbf{n} = [A, B, C] and a point P=(x,y,z)P = (x, y, z) that belongs to the plane, the distance to the point (a,b,c)(a, b, c) is

L=∣A(a−x)+B(b−y)+C(c−z)∣A2+B2+C2.L = \frac{\lvert A(a - x) + B(b - y) + C(c - z) \rvert}{\sqrt{A^{2} + B^{2} + C^{2}}}.

This form is identical to the previous one: you can obtain it by setting D=−(Ax+By+Cz)D = -(Ax + By + Cz) and substituting into the standard formula.

The following table summarizes the two approaches.

InputDistance formula
Standard plane equation Ax+By+Cz+D=0Ax+By+Cz+D=0 and point (a,b,c)(a,b,c)L=∣Aa+Bb+Cc+D∣A2+B2+C2\displaystyle L = \frac{\lvert Aa+Bb+Cc+D \rvert}{\sqrt{A^{2}+B^{2}+C^{2}}}
Normal vector n=(A,B,C)\mathbf{n}=(A,B,C) and plane point P=(x,y,z)P=(x,y,z)L=∣A(a−x)+B(b−y)+C(c−z)∣A2+B2+C2\displaystyle L = \frac{\lvert A(a-x)+B(b-y)+C(c-z) \rvert}{\sqrt{A^{2}+B^{2}+C^{2}}}

Manual Calculation Procedure

Follow these steps to determine the shortest distance from point to plane without a calculator.

  1. Obtain the plane in standard form. If you have the normal vector n=(A,B,C)\mathbf{n} = (A, B, C) and a point (x,y,z)(x, y, z) on the plane, compute D=−(Ax+By+Cz)D = -(Ax + By + Cz). Now the plane is Ax+By+Cz+D=0Ax + By + Cz + D = 0.
  2. Calculate the squared magnitude of the normal vector: M=A2+B2+C2M = A^{2} + B^{2} + C^{2}. If M=0M = 0, the input does not represent a proper plane.
  3. Compute the numerator. For the point (a,b,c)(a,b,c), evaluate N=∣Aa+Bb+Cc+D∣N = \lvert Aa + Bb + Cc + D \rvert. (If you used the normal‑vector method, the equivalent expression is ∣A(a−x)+B(b−y)+C(c−z)∣\lvert A(a-x) + B(b-y) + C(c-z) \rvert.)
  4. Divide by M\sqrt{M} to obtain the distance: L=N/ML = N / \sqrt{M}.

Worked Examples

Example 1 — Standard form
Find the distance from (1,1,1)(1, 1, 1) to the plane x+y=0x + y = 0.

  • Rewrite as 1x+1y+0z+0=01x + 1y + 0z + 0 = 0 → A=1,B=1,C=0,D=0A = 1, B = 1, C = 0, D = 0.
  • M=12+12+02=2M = 1^{2} + 1^{2} + 0^{2} = 2, so M=2\sqrt{M} = \sqrt{2}.
  • N=∣1⋅1+1⋅1+0⋅1+0∣=2N = \lvert 1\cdot1 + 1\cdot1 + 0\cdot1 + 0 \rvert = 2.
  • Distance L=2/2=2≈1.414L = 2 / \sqrt{2} = \sqrt{2} \approx 1.414.

Example 2 — Normal vector method
The plane has normal n=(2,−1,3)\mathbf{n} = (2, -1, 3) and contains the point P=(0,1,2)P = (0, 1, 2). Compute the distance from the point Q=(4,5,6)Q = (4, 5, 6).

  • A=2,B=−1,C=3,x=0,y=1,z=2,a=4,b=5,c=6A = 2, B = -1, C = 3, x = 0, y = 1, z = 2, a = 4, b = 5, c = 6.
  • A(a−x)=2(4−0)=8A(a-x) = 2(4-0) = 8.
  • B(b−y)=(−1)(5−1)=−4B(b-y) = (-1)(5-1) = -4.
  • C(c−z)=3(6−2)=12C(c-z) = 3(6-2) = 12.
  • Numerator: N=∣8−4+12∣=∣16∣=16N = \lvert 8 - 4 + 12 \rvert = \lvert 16 \rvert = 16.
  • M=22+(−1)2+32=4+1+9=14M = 2^{2} + (-1)^{2} + 3^{2} = 4 + 1 + 9 = 14, M=14≈3.742\sqrt{M} = \sqrt{14} \approx 3.742.
  • Distance L=16/14≈4.276L = 16 / \sqrt{14} \approx 4.276.

Special Cases

  • Coordinate planes. The xyxy-plane, z=0z=0, corresponds to A=0,B=0,C=1,D=0A=0, B=0, C=1, D=0. The distance from (a,b,c)(a,b,c) to this plane is simply ∣c∣|c|. Analogously, distance to the xzxz-plane is ∣b∣|b|, and to the yzyz-plane is ∣a∣|a|.
  • Distance to the origin. For a plane Ax+By+Cz+D=0Ax + By + Cz + D = 0, the distance from the origin (0,0,0)(0,0,0) reduces to L=∣D∣/A2+B2+C2L = |D| / \sqrt{A^{2}+B^{2}+C^{2}}. This value is often used to describe the plane’s offset from the center of the coordinate system.
  • Plane passing through the origin. If the plane passes through the origin (D=0D = 0), the distance from the origin is zero, as expected.

Using the 3D Point‑Plane Distance Calculator

The manual steps above are straightforward, but performing them repeatedly can be tedious. The distance from point to plane calculator eliminates this drudgery. Simply input the point’s coordinates, choose whether your plane is given in standard form or as a normal vector with a point, and fill in the necessary fields. The tool instantly calculates the perpendicular distance, saving time and avoiding algebraic slips. This online 3D point plane distance tool is free and ready to use whenever you need the shortest distance.

FAQ

1. How do I calculate the distance from a point to a plane when the plane equation is in standard form?

Use the formula L = |A·a + B·b + C·c + D| / sqrt(A² + B² + C²), where (a,b,c) are the coordinates of your point. Compute the absolute value of the result of plugging the point into the plane's equation, then divide by the magnitude of the normal vector.

2. How can I find the distance using a normal vector and a point on the plane?

If you have the normal vector n=(A,B,C) and a known plane point (x,y,z), compute D = -(A·x + B·y + C·z) to convert to standard form, or directly apply L = |A·(a-x) + B·(b-y) + C·(c-z)| / sqrt(A²+B²+C²).

3. What is the distance from a point to the xy-plane?

The xy-plane is defined by z=0, so the distance from a point (a,b,c) to it is simply the absolute value of its z-coordinate: |c|.

4. What is the distance from the origin to a plane?

For the plane Ax+By+Cz+D=0, the distance from the origin (0,0,0) is |D| / sqrt(A²+B²+C²). If D=0, the plane passes through the origin and the distance is zero.

How to Use

  1. Enter the coordinates (a, b, c) of the point from which you want to measure the distance.
  2. Select your plane input mode: Standard Form Equation (Ax + By + Cz + D = 0) or Normal Vector and a Point on the Plane.
  3. Fill in the plane parameters and click Calculate to get the perpendicular distance from the point to the plane.