Connect via MCP →

Enter Calculation

Plane equation: a·x + b·y + c·z + d = 0

Formula

Advertisement

Results

Distance from Point to Plane
0.333333
units
Signed value (a·x₀+b·y₀+c·z₀+d) -1
Normal magnitude √(a²+b²+c²) 3

What This Calculator Does

This tool finds the shortest (perpendicular) distance between a point in three-dimensional space and a plane. The plane is given in general form \(ax + by + cz + d = 0\), and the point is given by its coordinates \((x_0, y_0, z_0)\). The result is always a non-negative number representing how far the point lies from the plane.

How to Use It

Enter the four plane coefficients a, b, c and d, then enter the point coordinates x₀, y₀ and z₀. Press calculate to get the distance, along with the signed numerator and the magnitude of the plane's normal vector for reference. If the signed numerator is zero, the point lies exactly on the plane (distance = 0).

The Formula Explained

The vector \((a, b, c)\) is the normal to the plane. The expression \(a\cdot x_0 + b\cdot y_0 + c\cdot z_0 + d\) measures how far the point sits along that normal direction (a signed value). Dividing its absolute value by the normal's length \(\sqrt{a^2+b^2+c^2}\) converts it into a true geometric distance:

$$d = \frac{\left| a\cdot x_0 + b\cdot y_0 + c\cdot z_0 + d \right|}{\sqrt{a^{2}+b^{2}+c^{2}}}$$

Advertisement
A flat plane in 3D with a point above it and a perpendicular dropped to the plane
The distance is the length of the perpendicular segment from the point to the plane.

Worked Example

Plane: \(x + 2y + 2z - 6 = 0\), point \((1, 1, 1)\). Numerator = \(|1\cdot 1 + 2\cdot 1 + 2\cdot 1 - 6| = |-1| = 1\). Normal magnitude = \(\sqrt{1^2+2^2+2^2} = \sqrt{9} = 3\). So $$d = \frac{1}{3} \approx 0.3333 \text{ units}.$$

3D coordinate axes with a plane, a point, and a labeled perpendicular distance
Worked example setup: point coordinates and plane shown in 3D coordinates.

FAQ

What if the plane is given as \(ax+by+cz = d\)? Rearrange to \(ax+by+cz - d = 0\), so enter the constant as \(-d\) in this calculator.

Why is the result never negative? Distance is a magnitude, so the absolute value of the numerator is used. The signed value is shown separately to indicate which side of the plane the point is on.

What happens if a, b and c are all zero? Then there is no valid plane (the normal has zero length) and the distance is undefined; this calculator returns 0 in that degenerate case.

Last updated: