Distance From Point to Plane Calculator
Test cases replayed : 2 of 2 match · Methodology · No outside source listed
Enter the plane's coefficients a, b, c, d (ax + by + cz + d = 0) and the point's coordinates.
Result
Distance from the point to the plane
Signed distance (ax₀ + by₀ + cz₀ + d) ÷ √(a² + b² + c²)
- Foot of the perpendicular: x
- Foot of the perpendicular: y
- Foot of the perpendicular: z
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- Plane: a (coefficient of x): enter a number.
- Plane: b (coefficient of y): enter a number.
- Plane: c (coefficient of z): enter a number.
- Plane: d (constant): enter a number.
- Point: x₀: enter a number.
- Point: y₀: enter a number.
- Point: z₀: enter a number.
- Read the result: Distance from the point to the plane; the panel also shows Signed distance (ax₀ + by₀ + cz₀ + d) ÷ √(a² + b² + c²), Foot of the perpendicular: x, Foot of the perpendicular: y and Foot of the perpendicular: z.
How this calculator works
The distance from P(x₀, y₀, z₀) to the plane ax + by + cz + d = 0 is |ax₀ + by₀ + cz₀ + d| ÷ √(a² + b² + c²): the projection of any vector from the plane to P onto the normal vector (a, b, c).
Without the absolute value the distance is signed: positive on the side the normal points to. The closest point of the plane (foot of the perpendicular) is P − t·(a, b, c) with t = (ax₀ + by₀ + cz₀ + d) ÷ (a² + b² + c²).
The formula
| Symbol | Meaning |
|---|---|
| Plane: a (coefficient of x) | |
| Plane: b (coefficient of y) | |
| Plane: c (coefficient of z) | |
| Plane: d (constant) | |
| Point: x₀ | |
| Point: y₀ | |
| Point: z₀ | |
| Signed distance (ax₀ + by₀ + cz₀ + d) ÷ √(a² + b² + c²) | |
| Distance from the point to the plane |
Worked example
| Plane: a (coefficient of x) | 2 |
|---|---|
| Plane: b (coefficient of y) | -1 |
| Plane: c (coefficient of z) | 2 |
| Plane: d (constant) | -4 |
| Point: x₀ | 1 |
| Point: y₀ | 2 |
| Point: z₀ | 3 |
| Signed distance (ax₀ + by₀ + cz₀ + d) ÷ √(a² + b² + c²) | 0.6667 |
|---|---|
| Foot of the perpendicular: x | 0.5556 |
| Foot of the perpendicular: y | 2.2222 |
| Foot of the perpendicular: z | 2.5556 |
Distance from the point to the plane 0.6667
Each step uses the unrounded value of the step before it; figures on this page are rounded for display.
Frequently asked questions
What is the distance from (1, 2, 3) to 2x − y + 2z − 4 = 0?
|2 − 2 + 6 − 4| ÷ √(4 + 1 + 4) = 2 ÷ 3 ≈ 0.6667.
What is the distance from (5, −3, 7) to the xy-plane?
The xy-plane is z = 0 (a = b = d = 0, c = 1), so the distance is 7 and the foot is (5, −3, 0).