Distance From Point to Plane Calculator - Perpendicular and Signed Distance

Use this distance from point to plane calculator to find the perpendicular distance from a 3D point to any plane ax + by + cz + d = 0.

Updated: June 18, 2026 • Free Tool

Distance From Point to Plane Calculator

x-coordinate of the external point.

y-coordinate of the external point.

z-coordinate of the external point.

x-coefficient of the plane normal vector (a, b, c).

y-coefficient of the plane normal vector (a, b, c).

z-coefficient of the plane normal vector (a, b, c).

Constant term of the plane equation ax + by + cz + d = 0.

Results

Perpendicular distance
0units
Signed distance 0units
Normal vector length 0units
Substituted plane value 0units
Input validity 0

What Is Distance From Point to Plane Calculator?

The distance from point to plane calculator is the fastest way to find the shortest line segment that connects a 3D point to an infinite plane, measured perpendicular to the plane. Our distance from point to plane calculator takes the point (x0, y0, z0) and the plane ax + by + cz + d = 0, then returns the perpendicular distance, signed distance, substituted plane value, and normal vector length so you can verify every step of the formula.

  • Linear algebra and calculus homework: Confirm point-to-plane answers in multivariable calculus, analytic geometry, and linear algebra without re-deriving the formula.
  • Computer graphics and ray-plane intersection: Find how far a 3D point sits from a clipping or bounding plane when checking visibility, reflections, or camera placement.
  • Engineering and CAD tolerance checks: Measure how far a manufactured point lies from a reference plane to confirm flatness, parallelism, or perpendicularity.
  • Physics and robotics: Compute the gap between a particle, end effector, or sensor and an idealized surface used as a constraint.

Because the formula uses the general form ax + by + cz + d = 0, the same calculator handles horizontal planes (z = 5), tilted planes (2x - y + 3z = 4), and planes with only one or two non-zero coefficients.

The result is always non-negative for perpendicular distance, which is what most textbook problems ask for. The signed output also tells you which side of the plane the point is on, which matters when you need to push toward or pull away from the plane.

When the question is just 'how far apart are these two points', Distance Calculator gives the straight-line Euclidean answer without needing a plane in the picture.

How Distance From Point to Plane Calculator Works

The calculator follows the standard analytic geometry result. It plugs the point into the left side of the plane equation, takes the absolute value, and divides by the magnitude of the normal vector.

d = |a*x0 + b*y0 + c*z0 + d| / sqrt(a^2 + b^2 + c^2)
  • x0, y0, z0: Coordinates of the external point whose distance you want.
  • a, b, c: Components of the plane's normal vector; they describe which direction the plane 'faces'.
  • d: Constant term that places the plane at the right offset from the origin.
  • |a*x0 + b*y0 + c*z0 + d|: Absolute value of the plane expression after substituting the point.
  • sqrt(a^2 + b^2 + c^2): Magnitude of the normal vector; normalizes the answer so it does not depend on plane scaling.

The signed value is exposed so you can see whether a, b, c, d match the sign convention your textbook uses. If your reference gives the plane as 2x − y + 2z − 6 = 0 and you enter d = 6 by mistake, the signed value flips sign even though the perpendicular distance stays the same.

The normal vector length is also returned for sanity-checking. For (a, b, c) = (1, 1, 1), sqrt(3) ≈ 1.7321.

Point (0, 0, 5) to the plane x + 2y − z + 3 = 0

a = 1, b = 2, c = −1, d = 3, point = (0, 0, 5)

Substitute: 1·0 + 2·0 + (−1)·5 + 3 = −2. Absolute value: |−2| = 2. Divide by sqrt(6) ≈ 2.4495.

Perpendicular distance ≈ 0.8165; signed distance ≈ −0.8165.

Negative signed distance means the point sits on the side opposite to the normal vector (1, 2, −1).

Point (4, 5, −2) to the horizontal plane z = 7

Plane rewritten as 0·x + 0·y + 1·z − 7 = 0, so a = 0, b = 0, c = 1, d = −7.

Substitute: 0·4 + 0·5 + 1·(−2) + (−7) = −9. Normalize by sqrt(1) = 1.

Perpendicular distance = 9; signed distance = −9.

For a horizontal plane, the calculator confirms the vertical gap: |−2 − 7| = 9 units.

According to Wikipedia, the perpendicular distance from a point (x0, y0, z0) to the plane ax + by + cz + d = 0 is |ax0 + by0 + cz0 + d| / sqrt(a^2 + b^2 + c^2), where (a, b, c) is the plane's normal vector.

Because the perpendicular distance is really a length measured along one direction, you can cross-check the answer with 3D Distance Calculator once you have the closest point on the plane.

Key Concepts Explained

These four ideas make the formula click. Knowing the role each piece plays prevents sign errors and unit mistakes.

Normal vector (a, b, c)

The coefficients a, b, c form a vector that points straight out of the plane at a 90° angle. The plane's orientation is fully described by this vector and the constant d.

Plane equation ax + by + cz + d = 0

Every point that satisfies this equation lies exactly on the plane; every point that does not sits on one side or the other.

Substituted plane value a·x₀ + b·y₀ + c·z₀ + d

Plugging the external point into the plane equation tells you how far above or below the plane the point is in raw units. Dividing by the normal magnitude turns that raw value into a true distance.

Magnitude of the normal vector sqrt(a² + b² + c²)

Multiplying the plane equation by any non-zero constant leaves the plane unchanged but stretches the normal vector. Dividing by its length removes that scaling.

If you can identify the normal vector and rewrite any plane in ax + by + cz + d = 0, you have everything the calculator needs.

The denominator sqrt(a² + b² + c²) is just the magnitude of the normal vector, so Vector Magnitude Calculator is the fastest way to confirm that piece before you divide.

How to Use This Calculator

Work through these steps any time you need a quick point-to-plane distance. The calculator updates as you type, so you can also play with values to see how each coefficient changes the answer.

  1. 1 Rewrite the plane in general form: If your plane is written as 2x − y + 3z = 4, move the constant to the left so it reads 2x − y + 3z − 4 = 0.
  2. 2 Read off the four plane coefficients: Enter a, b, c, and d exactly as they appear in ax + by + cz + d = 0. Writing 2x − y + 3z = 4 gives d = −4, not d = 4.
  3. 3 Enter the external point coordinates: Type the x₀, y₀, and z₀ of the point. The point does not need to sit on the plane.
  4. 4 Read the perpendicular distance: The first result is the shortest distance from the point to the plane. Use it for non-negative lengths like tolerance checks.
  5. 5 Check the signed distance: Use the signed value to know which side of the plane the point is on. Positive means the side the normal vector points toward.
  6. 6 Verify with the substituted value and normal length: If your hand calculation does not match, compare the substituted value (a·x₀ + b·y₀ + c·z₀ + d) and the normal length against your own work.

A CAD engineer needs to know whether a bolt head sits 1.5 mm above the mounting plate. The plate is z = 0, so a = 0, b = 0, c = 1, d = 0. The bolt head is at (3, 7, 1.5). The calculator returns a perpendicular distance of 1.5 mm.

The numerator a·x₀ + b·y₀ + c·z₀ + d can also be written as a dot product plus the constant d, which is exactly the operation Dot Product Calculator performs on two 3D vectors.

Benefits of Using This Calculator

Using this calculator for point-to-plane problems gives you a faster and more reliable workflow than re-running the formula by hand.

  • Skip the algebra: Substituting coordinates, taking the absolute value, and dividing by a square root on every problem is tedious; the calculator returns the same numbers in milliseconds.
  • Catch sign errors: Showing the signed value, signed distance, and normal length together exposes where a missing negative sign flipped your answer.
  • Works for any plane orientation: Horizontal, tilted, vertical, or planes defined by only one or two coefficients all use the same formula.
  • Transparent enough to learn from: The substituted plane value and normal magnitude are returned alongside the distance, so the page doubles as a worked example.
  • Pairs with related geometry tools: For problems that also involve a line, normal vector, or projection, the same point and normal vector feed naturally into our 3D distance, vector magnitude, and dot product tools.

Once you have the normal vector, turning it into a unit normal with Unit Vector Calculator is the conceptual next step if you want to project the point onto the plane.

Factors That Affect Your Results

The numerical result depends on a few characteristics of the plane and the point. Understanding them helps you predict how the answer will change before you re-enter values.

Normal vector orientation

Reversing (negating) the same normal vector describes the same plane, so the perpendicular distance is unchanged, but the signed distance flips sign.

Scaling of the plane equation

Multiplying every term in ax + by + cz + d = 0 by the same non-zero number describes the same plane; the distance stays the same.

Plane offset from the origin

The constant d moves the plane along the normal direction. Larger |d| pushes the plane further from the origin.

Point location relative to the plane

Only motion perpendicular to the plane changes the point-to-plane distance. Sliding the point parallel to the plane keeps the distance the same; moving it along the normal direction is what makes the number grow or shrink.

Validity of the plane definition

If a, b, and c are all zero, the expression does not define a plane. The calculator detects this and shows an error.

  • The result is a geometric length, so it carries the same units as the input coordinates. Mixing units in the same problem will mix them in the distance.
  • The formula assumes a Euclidean metric in standard Cartesian 3-space. It does not apply to curved surfaces, latitude-longitude points, or non-orthogonal coordinate systems without a transform.
  • Numerical precision is limited by IEEE 754 double-precision arithmetic. For inputs larger than about 1e15 in magnitude, rounding error becomes visible in the last decimals.

According to Wolfram MathWorld, the distance from a point to a plane equals the absolute value of the dot product between the vector to the point and the unit normal vector of the plane.

According to Paul's Online Math Notes, the plane equation ax + by + cz + d = 0 uses (a, b, c) as the normal vector, and substituting the point coordinates yields the signed distance when divided by the normal's length.

When you want to find the foot of the perpendicular on the plane, the midpoint between the original point and its reflection across the plane is that foot, which is exactly the situation Midpoint Calculator handles for two endpoints.

Distance from point to plane calculator showing a 3D point above the plane ax + by + cz + d = 0 with the perpendicular distance result
Distance from point to plane calculator showing a 3D point above the plane ax + by + cz + d = 0 with the perpendicular distance result

Frequently Asked Questions

Q: What is the formula for the distance from a point to a plane?

A: The formula is d = |a*x0 + b*y0 + c*z0 + d| / sqrt(a^2 + b^2 + c^2). It uses the plane ax + by + cz + d = 0, the point (x0, y0, z0), and the magnitude of the normal vector (a, b, c).

Q: How do I find the perpendicular distance from a point to a plane?

A: Rewrite the plane as ax + by + cz + d = 0, plug the point into the left side, take the absolute value, and divide by sqrt(a^2 + b^2 + c^2). The calculator does those four steps when you enter the seven numbers.

Q: What does each letter in ax + by + cz + d = 0 mean?

A: a, b, and c are the components of the plane's normal vector, which points perpendicular to the plane. The constant d shifts the plane away from the origin along that direction.

Q: Can the distance from a point to a plane be negative?

A: The perpendicular distance is always non-negative because the formula uses an absolute value. The signed distance can be negative when the point sits on the side opposite to the normal vector.

Q: What happens if the point lies exactly on the plane?

A: Substituting the point into ax + by + cz + d gives 0, so both the perpendicular and signed distance become 0.

Q: What if the plane has only two coefficients, like z = 5?

A: Rewrite the plane as 0*x + 0*y + 1*z - 5 = 0 and enter a = 0, b = 0, c = 1, d = -5. The formula still works because at least one of a, b, c is non-zero.