Skip to content
FiftyCalc Free calculators for all 50 states

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

Sample figures

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.

Distance From Point to Plane Calculator

Plane: a (coefficient of x): enter a number. Prefilled example: 2.

Plane: b (coefficient of y): enter a number. Prefilled example: -1.

Plane: c (coefficient of z): enter a number. Prefilled example: 2.

Plane: d (constant): enter a number. Prefilled example: -4.

Point: x₀: enter a number. Prefilled example: 1.

Point: y₀: enter a number. Prefilled example: 2.

Point: z₀: enter a number. Prefilled example: 3.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Plane: a (coefficient of x): enter a number.
  2. Plane: b (coefficient of y): enter a number.
  3. Plane: c (coefficient of z): enter a number.
  4. Plane: d (constant): enter a number.
  5. Point: x₀: enter a number.
  6. Point: y₀: enter a number.
  7. Point: z₀: enter a number.
  8. 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

  1. Sd=a×x0+b×y0+c×z0+da2+b2+c2+0
  2. Di=|Sd|
Symbols used in the formula
SymbolMeaning
aPlane: a (coefficient of x)
bPlane: b (coefficient of y)
cPlane: c (coefficient of z)
dPlane: d (constant)
x0Point: x₀
y0Point: y₀
z0Point: z₀
SdSigned distance (ax₀ + by₀ + cz₀ + d) ÷ √(a² + b² + c²)
DiDistance 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: x0.5556
Foot of the perpendicular: y2.2222
Foot of the perpendicular: z2.5556
  1. Sd=2×1+−1×2+2×3+−422+(−1)2+22+0=0.666667
  2. Di=|0.666667|=0.666667

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).

Questions answered

Related calculators