Distance from Point to Plane Calculator - 3D Geometry

Calculate the perpendicular distance from a point to a plane in 3D space using the formula |ax₀+by₀+cz₀+d|/√(a²+b²+c²).

Distance from Point to Plane Calculator - 3D Geometry
Calculate the perpendicular distance from a point to a plane in 3D space using the formula |ax₀+by₀+cz₀+d|/√(a²+b²+c²).

Enter point coordinates (x₀, y₀, z₀) and plane coefficients a, b, c, d where the plane equation is ax + by + cz + d = 0.

Point Coordinates

Plane Equation (ax + by + cz + d = 0)

Enter coefficients a, b, c, and the constant d.

Load a quick example:

About the Distance from Point to Plane Calculator

The distance from a point to a plane is one of the fundamental measurements of three-dimensional analytic geometry. Given a point P = (x₀, y₀, z₀) and a plane with equation ax + by + cz + d = 0, the perpendicular distance is D = |ax₀ + by₀ + cz₀ + d| / √(a² + b² + c²). The formula has two parts: the numerator, which is the absolute value of the result when the point's coordinates are substituted into the left-hand side of the plane equation, and the denominator, which is the Euclidean length (magnitude) of the plane's normal vector n = (a, b, c). The geometry behind the formula is elegant. Every plane in 3D has a normal vector — a vector perpendicular to the plane. In the equation ax + by + cz + d = 0, the normal vector is exactly (a, b, c). The shortest path from a point to a plane is always along this normal direction, because any non-perpendicular path would be longer. The formula measures how far P is projected along the normal, divided by the normal's length to give a unit-normalised distance. When the plane equation is given in the form ax + by + cz = e (without the d term on the left), rewrite it as ax + by + cz − e = 0 and use d = −e in the formula. For example, the plane x + y + z = 3 becomes x + y + z − 3 = 0, so a = b = c = 1 and d = −3. The calculator accepts coefficients in this exact form: a, b, c are the variable coefficients and d is the constant added to make the equation equal zero. A special case occurs when the distance is zero: this means the point lies exactly on the plane. The condition ax₀ + by₀ + cz₀ + d = 0 is satisfied, confirming that the point is a solution of the plane equation. This provides a quick way to test whether a point belongs to a given plane. Applications span many fields. In computer graphics, lighting models compute the distance from a light source or camera to geometry planes to determine shadows and visibility. In machine learning, support vector machines maximise the margin between two classes, where the margin is twice the point-to-hyperplane distance for the nearest support vectors. In structural engineering and architecture, clearance checks verify that points of interest lie at safe distances from boundary planes. In robotics, collision avoidance systems compute distances from robot parts to planar workspace boundaries in real time. Enter any point and any plane equation to find the exact perpendicular distance instantly.

Distance from Point to Plane Examples

Four worked examples demonstrating different geometric scenarios.

Point and PlaneDistanceExplanation
Point (1,2,3), Plane x+y+z−6=00Numerator = |1+2+3−6| = 0. The point lies exactly on the plane, so the distance is zero.
Origin (0,0,0), Plane x+y+z−3=0√3 ≈ 1.732Numerator = |0+0+0−3| = 3. Denominator = √(1+1+1) = √3. Distance = 3/√3 = √3 ≈ 1.732.
Point (1,1,1), Plane 2x+3y+6z−11=00Numerator = |2+3+6−11| = 0. The point (1,1,1) lies on the plane 2x+3y+6z=11.
Point (−2,1,3), Plane x−y+2z−4=0≈ 0.408Numerator = |−2−1+6−4| = |−1| = 1. Denominator = √(1+1+4) = √6. Distance = 1/√6 ≈ 0.408.

How to Use the Distance from Point to Plane Calculator

  1. Write your plane equation in the standard form ax + by + cz + d = 0. Rearrange if necessary — for example, x + y + z = 3 becomes x + y + z − 3 = 0, so a=1, b=1, c=1, d=−3.
  2. Enter the point coordinates x₀, y₀, z₀ in the Point Coordinates section.
  3. Enter the plane coefficients a, b, c, and d in the Plane Equation section.
  4. Click Calculate Distance to see the perpendicular distance and the formula used.
  5. Use the quick-load buttons to see classic worked examples, or click Reset to clear all fields.

Distance from Point to Plane Calculator FAQ

What is the formula for the distance from a point to a plane?
For a point P = (x₀, y₀, z₀) and a plane ax + by + cz + d = 0, the perpendicular distance is |ax₀ + by₀ + cz₀ + d| / √(a² + b² + c²). The numerator is the absolute value of substituting the point into the plane equation, and the denominator is the magnitude of the plane's normal vector (a, b, c).
Why is the distance perpendicular to the plane?
The shortest path from a point to a plane is always along the line perpendicular to the plane, which is parallel to the plane's normal vector n = (a, b, c). Any other path from the point to a point on the plane would be longer. The formula computes this minimum distance directly.
What does it mean if the distance is zero?
A distance of zero means the point lies exactly on the plane. Substituting the point into ax + by + cz + d gives zero, so the numerator of the formula is zero. You can use this as a quick test to check whether a given point satisfies a plane equation.
How do I convert a plane equation to the required form?
Move all terms to one side so the equation equals zero. For example, 3x − y + 2z = 7 becomes 3x − y + 2z − 7 = 0, giving a=3, b=−1, c=2, d=−7. For x = 4, rewrite as x − 4 = 0, giving a=1, b=0, c=0, d=−4. The constant d is always the term with no x, y, or z.
Can I find the distance from a point to a line in 3D with this calculator?
No — this calculator specifically handles point-to-plane distance in 3D. The formula for point-to-line distance in 3D is different and requires the cross product. For a line defined by a point and direction vector, the distance involves |PQ × d̂| where PQ is the vector from the line point to your point and d̂ is the unit direction of the line.
What applications use point-to-plane distance?
Point-to-plane distance appears in computer graphics (shadow and lighting calculations), robotics (collision detection between end effectors and workspace boundaries), machine learning (the margin in support vector machines is a point-to-hyperplane distance), and civil engineering (checking clearances between structures and geometric constraints). Any 3D geometry problem involving how far a location is from a flat surface uses this formula.