Distance from a Point to a Plane

Calculate the unsigned and signed Cartesian distance from a point to a plane given by ax + by + cz + d = 0.

Key facts

What it does
Calculate the unsigned and signed Cartesian distance from a point to a plane given by ax + by + cz + d = 0.
Formula
unsigned distance = |a x + b y + c z + d|/sqrt(a^2+b^2+c^2); signed distance = (a x + b y + c z + d)/sqrt(a^2+b^2+c^2).
You enter
Plane a · Plane b · Plane c · Plane d · Point x · Point y · Point z
Worked example
The unsigned distance is 1/sqrt(14), approximately 0.267261, and the signed distance is positive.

A clearer path to an answer

From your question to a useful result

This page keeps the calculation transparent: define the goal, enter the matching values, inspect the method, and decide what the result means in your situation.

01

Goal

Calculate the unsigned and signed Cartesian distance from a point to a plane given by ax + by + cz + d = 0.

02

Inputs

Plane a · Plane b · Plane c · Plane d · Point x · Point y · Point z

03

Method

unsigned distance = |a x + b y + c z + d|/sqrt(a^2+b^2+c^2); signed distance = (a x + b y + c z + d)/sqrt(a^2+b^2+c^2).

04

Next step

Calculate, review the assumptions below, then compare a related tool when the decision needs more context.

Distance from a Point to a Plane

Calculate the unsigned and signed Cartesian distance from a point to a plane given by ax + by + cz + d = 0.

The x coefficient of the plane normal.

The y coefficient of the plane normal.

The z coefficient of the plane normal.

The constant in ax + by + cz + d = 0.

The x coordinate of the point.

The y coordinate of the point.

The z coordinate of the point.

Result

Enter your values above and choose Calculate to see the result here.

Calculation map

Follow the path from input to answer

Ready to calculate
01

Inputs (7)

  • Plane a Ready
  • Plane b Ready
  • Plane c Ready
  • Plane d Ready
  • +3 more inputs
02

Formula

unsigned distance = |a x + b y + c z + d|/sqrt(a^2+b^2+c^2); signed distance = (a x + b y + c z + d)/sqrt(a^2+b^2+c^2).

Bounded, transparent calculation

03

Result

  • Calculate to preview the result.
This diagram mirrors the calculator contract. It summarizes the declared inputs, formula, and returned outputs; it does not add a forecast or professional advice.

Recent runs

Your recent runs stay in this browser session only.

Formula, assumptions, and example

Formula: unsigned distance = |a x + b y + c z + d|/sqrt(a^2+b^2+c^2); signed distance = (a x + b y + c z + d)/sqrt(a^2+b^2+c^2).

The point-to-plane distance divides the absolute plane expression by the Euclidean length of the nonzero normal. The signed result keeps the side indicated by the entered normal orientation.

  • The plane coefficients and point coordinates use one Cartesian 3D coordinate system, and (a,b,c) is nonzero.
  • Unsigned distance is the shortest Euclidean distance; signed distance uses the entered normal orientation and does not infer physical units or a closest-point coordinate.

Worked example: The unsigned distance is 1/sqrt(14), approximately 0.267261, and the signed distance is positive.

Displayed input contract

  • Plane a · minimum -1000000 · maximum 1000000
  • Plane b · minimum -1000000 · maximum 1000000
  • Plane c · minimum -1000000 · maximum 1000000
  • Plane d · minimum -1000000 · maximum 1000000
  • Point x · minimum -1000000 · maximum 1000000
  • Point y · minimum -1000000 · maximum 1000000
  • Point z · minimum -1000000 · maximum 1000000

The displayed limits are checked before the handler runs. Model-specific domain checks may also reject impossible or non-finite inputs.

Methodology: This calculator follows the WorldCalculate input, formula, precision, and boundary policy. Read the official methodology.

Calculator usage statistics

Usage of this calculator and related tools

This section counts anonymous successful Calculate submissions, not unique visitors. Counts and top tools appear only when trusted aggregate data is available; country analysis is shown only under the same condition and reporting threshold.

Waiting for trusted aggregate usage data.

Answer-first guide

How to use the Distance from a Point to a Plane for a real question

Calculate the unsigned and signed Cartesian distance from a point to a plane given by ax + by + cz + d = 0. Start with one clearly defined goal, enter values in the units shown, and keep the result attached to the assumptions below.

What this answers

This tool is useful when your question includes point to plane distance, distance from point to plane, signed plane distance. It returns the outputs declared in the calculator contract rather than a live quote, approval, diagnosis, or professional sign-off.

What you enter

Plane a · Plane b · Plane c · Plane d · Point x · Point y · Point z. Keep the same time period, unit system, and currency wherever the form requires comparable values.

How to check it

Run the worked example first, compare its output with the page's example, then change one input at a time. This makes an unexpected result easier to trace to a unit, boundary, or assumption.

Three checks before you rely on the answer

  1. Match the question. Confirm that the result means the quantity you need, not a similar-sounding percentage, balance, rate, or estimate.
  2. Match the inputs. Use the requested units and period, and read each hint before replacing the example values with your own.
  3. Read the boundary. Review the assumptions and limits. The plane coefficients and point coordinates use one Cartesian 3D coordinate system, and (a,b,c) is nonzero.

Need a wider view? Browse Math Calculators or compare the related tools below. The WorldCalculate methodology explains how formulas, examples, limits, and revisions are reviewed.

How to use the Distance from a Point to a Plane

  1. Enter Plane a — The x coefficient of the plane normal.
  2. Enter Plane b — The y coefficient of the plane normal.
  3. Enter Plane c — The z coefficient of the plane normal.
  4. Enter Plane d — The constant in ax + by + cz + d = 0.
  5. Enter Point x — The x coordinate of the point.
  6. Enter Point y — The y coordinate of the point.
  7. Enter Point z — The z coordinate of the point.
  8. Choose Calculate and read the result panel.
  9. Use Download PDF or Download Word to save a result sheet.

Formula

unsigned distance = |a x + b y + c z + d|/sqrt(a^2+b^2+c^2); signed distance = (a x + b y + c z + d)/sqrt(a^2+b^2+c^2).

The point-to-plane distance divides the absolute plane expression by the Euclidean length of the nonzero normal. The signed result keeps the side indicated by the entered normal orientation.

Worked example

The unsigned distance is 1/sqrt(14), approximately 0.267261, and the signed distance is positive.

Assumptions and limits

  • The plane coefficients and point coordinates use one Cartesian 3D coordinate system, and (a,b,c) is nonzero.
  • Unsigned distance is the shortest Euclidean distance; signed distance uses the entered normal orientation and does not infer physical units or a closest-point coordinate.

Who uses this calculator?

  • Analytic-geometry and linear-algebra students
  • Physics and engineering learners
  • Developers checking plane boundaries and distances

When is it useful?

  • Measure the shortest distance from a point to a plane.
  • Check a signed plane-expression calculation and normal orientation.
  • Supply a scalar distance to a separate geometry or tolerance workflow.

Context and background

The mathematical structure behind the tools

Math calculators move from named quantities to a relation, then to a result that can be checked with substitution, units, or an alternate form.

Arithmetic, algebra, geometry, trigonometry, and number theory provide reusable structures for classroom work and everyday reasoning. Each page narrows that structure to one declared problem.

Research and review

How this guide was researched

Researched by , Founder and editorial researcher at WorldCalculate.

This guide follows the live calculator's declared inputs, formula, worked example, assumptions, validation boundaries, and source-backed methodology. The review date describes editorial review of the calculator explanation; it is not a promise that external facts or rates remain current.

Read the WorldCalculate research and methodology policy

WorldCalculate visual showing equations, factoring, roots, matrices, vectors, substitution, checking, and interpretation for Distance from a Point to a Plane
A correct equation still needs the right question, domain, substitution check, and interpretation. An original mathematics visual showing a problem moving from definition through algebraic transformation and substitution to a checked result. WorldCalculate original artwork; watermark included.

The distance from a point to a plane is the length of the shortest perpendicular segment joining them. This calculator accepts the seven coefficients and coordinates in the plane equation ax + by + cz + d = 0 followed by a point (x, y, z). It returns both the unsigned distance and the signed distance associated with the entered normal orientation. The normal must be nonzero because its length is the denominator. The page does not construct the closest point, convert units, fit a plane, or decide what a distance means in a physical application. This guide explains the field contract, plane expression, normalization by the normal length, examples, signs, boundaries, verification, and safe limits.

Small WorldCalculate visual showing define, transform, substitute, check, and interpret steps for a math problem for Distance from a Point to a Plane
Show enough of the transformation that another learner can reproduce the result. Compact math visual showing why algebraic steps and domain checks belong with the final answer. WorldCalculate original artwork; watermark included.

What distance is being measured

The unsigned result is the shortest Euclidean distance between the entered point and the infinite plane described by the four coefficients. It is a nonnegative scalar. The shortest segment is perpendicular to the plane, so the plane normal supplies the direction used to measure it. The page reports the length of that segment without returning either endpoint of the segment or a projection point.

The signed result uses the same numerator and keeps its sign. A positive or negative value identifies the side of the plane relative to the orientation of the normal (a, b, c). Reversing all three normal coefficients and d leaves the geometric plane unchanged but reverses the signed distance. The unsigned distance is unchanged because it takes the absolute value of the numerator.

The plane is treated as an infinite Cartesian surface. If a real object is a finite panel, polygon, wall, or clipped boundary, the point-to-plane distance may be only an intermediate quantity. The closest point on the finite object could be on an edge or corner instead. The calculator does not test those additional boundaries.

The result has the same length unit as the coordinates when the plane coefficients are used consistently. Because a standard equation can be scaled, the coefficients themselves may carry a reciprocal scale that cancels in the quotient. The form does not identify units or convert them, so preserve the coordinate convention and coefficient construction with any shared distance.

  • Unsigned distance is nonnegative shortest Euclidean distance.
  • Signed distance preserves the side indicated by the entered normal.
  • The model uses an infinite plane, not a finite panel or polygon.
  • Units and coordinate conventions must be supplied by the surrounding problem.

The seven ordered fields

The first four fields are a, b, c, and d from the implicit plane equation. The next three fields are x, y, and z for the point being measured. Read the point coordinates as one ordered triple and the normal coefficients as another ordered triple. Mixing a point coordinate into the plane group changes the equation and can produce a plausible but unrelated distance.

Every field accepts a finite number from negative 1,000,000 through positive 1,000,000. Zero is valid for d and for individual normal or point components. The complete normal cannot be zero. The visible form and pure handler both reject blanks, non-finite values, and values beyond the inclusive bounds. Derived values are checked after multiplication, square root, absolute value, and division.

The plane coefficients should already be expressed in the same Cartesian coordinate system as the point. If the point comes from one origin and the plane from another, translate one representation before entry. A unit conversion applied to coordinates may require a corresponding conversion of the plane coefficients. The calculator performs no frame or unit transformation.

The d field is a complete constant, not the point's z coordinate or a value to be recalculated from the point. If the plane was created from a normal and point, use the separately constructed d and then use this page for the distance. Keeping construction and measurement as separate contracts makes the source of each coefficient clear.

  • Enter plane a, b, c, d before point x, y, z.
  • Individual zeros are valid; the full normal must not be zero.
  • All seven numbers share finite signed bounds.
  • The page consumes d as entered and does not infer it from a point.

The plane expression and normal length

Evaluate the plane expression at the point: E = ax + by + cz + d. If E is zero, the point lies on the plane and both returned distances are zero. If E is nonzero, its magnitude must be divided by the normal length. The normal length is sqrt(a^2 + b^2 + c^2), which is positive because the normal is required to be nonzero.

The unsigned formula is absolute value of E divided by the normal length. The signed formula is E divided by the same length. The calculator computes the signed numerator, divides it for the signed result, and takes the absolute numerator for the unsigned result. It returns both so a caller does not need to reconstruct the side information from a nonnegative value.

For a = 1, b = 2, c = 3, d = -6 and point (2, 1, 1), the expression is 1 x 2 + 2 x 1 + 3 x 1 - 6 = 1. The normal length is sqrt(1 + 4 + 9) = sqrt(14). The unsigned distance is 1/sqrt(14), approximately 0.267261, and the signed distance is positive 1/sqrt(14).

The normalization by the normal length is essential. The raw expression E changes if all plane coefficients are scaled, while the distance does not when the scale is applied consistently to a, b, c, and d. Dividing by the normal length removes that coefficient scale and converts the plane expression into a geometric length under the Euclidean model.

  • Evaluate E = ax + by + cz + d at the point.
  • Normalize by sqrt(a^2 + b^2 + c^2).
  • Zero E means the point is on the plane.
  • The absolute numerator gives unsigned distance; the signed numerator gives side information.

Worked examples on and away from a plane

Use the plane x + 2y + 3z - 6 = 0 and point (1, 1, 1). The expression is 1 + 2 + 3 - 6 = 0, so both distances are zero. This is the primary membership test for a plane equation. A point can have nonzero coordinates and still lie on the plane; being away from the origin is not the same as being away from the plane.

Keep the same plane and use point (2, 1, 1). The expression is 2 + 2 + 3 - 6 = 1. The normal length is sqrt(14), so the unsigned result is approximately 0.267261 and the signed result has the same positive value. Use point (0, 1, 1) instead and the expression is -1, so the unsigned distance is unchanged while the signed distance is negative.

For the coordinate plane z = 4, use a = 0, b = 0, c = 1, and d = -4. The normal length is one. A point with z = 7 has signed expression 3 and distance 3; a point with z = 2 has expression -2 and distance 2. This example makes the signed side rule visible because the normal points in positive z.

Scaling the last plane by five gives 5z - 20 = 0. At z = 7, the expression is 15 and the normal length is five, so the distance is still 3. This is a valuable check when plane coefficients come from different sources with different common scales. Compare normalized results, not the raw plane expression alone.

  • A point satisfying the plane expression has zero distance.
  • Opposite sides can have equal unsigned distances and opposite signed distances.
  • Coordinate planes provide simple unit-normal checks.
  • Common scaling of all plane coefficients preserves geometric distance.

Signed orientation and zero boundaries

The sign of the signed result is a convention tied to the normal. If E is positive, the point lies on the positive side according to n; if E is negative, it lies on the opposite side. The phrase positive side has no independent geometric meaning until the normal orientation is selected. Reversing n and d reverses the sign without moving the plane.

A point exactly on the plane returns zero in exact arithmetic. Floating-point evaluation can leave a small residual when coefficients and coordinates are decimal approximations. The handler returns the computed finite value and does not impose a broad membership tolerance. If the application needs a classification threshold, define it with the scale and uncertainty of the source data.

A zero individual coefficient does not make the plane invalid. For example, a = 0 describes a plane whose expression is independent of x. The only invalid normal is (0, 0, 0). The constant d may be any finite bounded value, including zero. These boundaries should be tested separately because a coordinate plane, a plane through the origin, and an invalid normal have different meanings.

The unsigned result uses absolute value only after the signed numerator has been computed and validated. This preserves the signed result and ensures that a non-finite intermediate is not hidden by absolute value. Both outputs are checked for finiteness before they are handed to the renderer.

  • Signed side is defined by the entered normal orientation.
  • Do not use a broad tolerance without a domain reason.
  • Individual zero coefficients and d equal to zero are valid.
  • The complete zero normal is the invalid degeneracy.

Geometric meaning and closest-point limits

The normal direction points along the shortest path from the point toward the plane. In exact Euclidean geometry, the foot of that perpendicular is the closest point on the infinite plane. The distance formula can therefore support a later projection calculation. This page does not return the foot because finding it requires additional coordinate outputs and a separate output contract.

The signed distance can be useful for a plane boundary test. Points with the same signed value lie on a parallel offset plane when the normal and coefficient convention remain fixed. A positive threshold can describe one side and a negative threshold the other. Such a threshold is a model decision, not a property automatically supplied by the calculator.

If the target is a line, ray, segment, polygon, or solid, point-to-plane distance may not be the final distance of interest. The closest point on a bounded object can occur away from the infinite plane's perpendicular foot. Additional intersection, segment-boundary, or inside-outside tests are required. Do not call the returned scalar a distance to an object unless those boundaries have been checked.

The normal length also explains why coefficient units need care. In a standard equation whose coordinates share one length unit, the normalized quotient has that length unit. In a weighted or transformed coordinate system, the ordinary Euclidean denominator may not be the correct metric. The page states its Cartesian assumption instead of silently changing the geometry.

  • The normal gives the direction of the shortest perpendicular path.
  • Signed distances can support explicit parallel-boundary tests.
  • Finite objects need edge, segment, or solid checks beyond an infinite plane.
  • Weighted or transformed metrics require a different formula.

Precision, scaling, and conditioning

The formula contains products, a square root, an absolute value, and a division. Each stage can contribute floating-point rounding. The engine validates the plane normal length, signed expression, signed distance, and unsigned distance rather than assuming that finite inputs guarantee finite derived values. The bounded input range makes ordinary K1 scenarios safe, while the explicit checks keep direct calls honest.

Common coefficient scaling is a useful invariant. Multiply a, b, c, and d by a nonzero factor k and the unsigned distance remains the same. The signed distance also remains the same when k is positive and changes sign when k is negative because the normal orientation reverses. If only d is scaled, the plane changes and no invariance should be expected.

Near-zero normal coefficients can create an ill-conditioned representation even when at least one coefficient is technically nonzero. A small normal length magnifies the normalized expression and can make measurement noise important. The page rejects only the exact zero normal under its stated finite contract. Use a scale-aware threshold and uncertainty analysis when the data come from a fitting or sensing process.

Do not compare a rounded displayed distance with a strict boundary without considering the stored numeric result and a tolerance. A value shown as zero may be a small residual, and a value shown to six decimals may hide a later digit. Keep the coefficients, point, full result, and comparison rule together in a reproducible record.

  • Validate every derived stage, not only the seven inputs.
  • Common positive coefficient scaling preserves distance.
  • Negative common scaling reverses signed orientation.
  • Near-zero normals need scale-aware conditioning review.
  • Use numeric tolerances instead of display-string equality.

Common mistakes and verification checks

A common error is forgetting the denominator and reporting the raw plane expression as a distance. Another is taking the absolute value before retaining the signed result, which loses side information. A third is using the length of the point vector instead of the length of the plane normal. Write E and the normal length on separate lines before dividing.

The easiest checks are a point on the plane, a coordinate-plane case, and a common coefficient rescaling. A point that satisfies the equation must return two zeros. For z = 4 with a unit z normal, the result should be the absolute difference between the point's z and four. Multiplying every plane coefficient by two should preserve the distance and positive signed orientation.

Check normal reversal by replacing a, b, c, and d with their negatives. The unsigned value must stay the same, while the signed value must change sign. Check point movement along a direction tangent to the plane: the distance should remain unchanged when the movement is truly tangent. These tests reveal sign, denominator, and coordinate-order defects.

If a reference differs, determine whether it reports unsigned distance, signed distance, squared distance, or the distance to a finite object. Compare plane coefficient scaling, coordinate units, and point order before comparing decimal values. The K1 output labels intentionally distinguish the two scalar results so a caller does not need to infer which convention was used.

  • Do not report the raw plane expression as a distance.
  • Test membership, coordinate planes, scaling, and normal reversal.
  • Tangent movement should preserve distance to the infinite plane.
  • Confirm whether another source uses signed, unsigned, squared, or bounded-object distance.

Limits, privacy, and safety boundaries

This calculator implements one finite Euclidean point-to-infinite-plane formula. It does not fit coefficients from samples, repair a degenerate plane, transform coordinate frames, calculate a distance to a polygon or solid, propagate uncertainty, or choose a collision tolerance. Those tasks require additional inputs and domain rules. A valid scalar under this formula may be an intermediate rather than the final quantity needed by an application.

Plane coefficients and point coordinates can reveal building layouts, robot workspaces, medical geometry, map locations, or proprietary designs. Enter only the seven values needed and avoid names, account identifiers, credentials, or raw records in notes and shared captures. The calculator's local arithmetic does not change the sensitivity of its spatial inputs.

Do not use an unreviewed distance as a safety clearance, collision decision, medical margin, structural tolerance, or compliance result. Validate the coordinate frame, units, object boundaries, uncertainty, and threshold with appropriate software and qualified review. Preserve the signed convention when a downstream rule depends on side, and do not treat a positive number as approval by itself.

For a reproducible handoff, retain the plane equation, normal orientation, point, signed numerator, normal length, both distances, and any tolerance. State whether the plane is exact, nominal, or measurement-derived. That context prevents an accurate arithmetic result from being detached from the assumptions that make it meaningful.

When a distance is compared with a clearance threshold, keep the sign convention and threshold units in the same record. A rounded display can be adequate for a lesson but is not sufficient evidence for a boundary decision.

The shortest segment to the infinite plane is parallel to the normal, but the page does not return that segment. If a caller constructs the closest point, it should use the same signed convention and verify that the constructed point satisfies the plane equation. This separates the trusted scalar distance from a downstream vector reconstruction that may introduce its own rounding or frame errors.

A point can be far from the origin and still lie on the plane, or be close to the origin and far from a plane that is offset. Do not substitute the point norm for plane distance. The plane expression is evaluated relative to the four entered coefficients, and only the normal length converts that expression to the perpendicular Euclidean measure.

When comparing distances from several points, preserve the same plane coefficient scale and orientation. Unsigned comparisons are invariant under common scaling, while signed comparisons require a consistent normal direction. Mixing equations that describe the same surface with opposite orientations can make a correct set of signed values look internally inconsistent.

  • The formula is for an infinite Euclidean plane only.
  • Protect spatial data and proprietary plane definitions.
  • Validate finite-object boundaries and safety thresholds separately.
  • Record orientation, intermediate values, and tolerances with shared results.

Frequently asked questions

Why are two distance results returned? Unsigned distance answers how far the point is from the plane without a side. Signed distance retains the sign of the plane expression relative to the entered normal. Both use the same denominator. Returning both avoids forcing a caller to choose a convention or to lose orientation information by taking an absolute value too early.

Does multiplying a plane equation by a constant change distance? No, when every coefficient including d is multiplied by the same nonzero constant. The numerator and normal length scale together. A positive factor preserves signed orientation, while a negative factor reverses it. Scaling only part of the equation changes the plane and therefore can change the distance.

Does zero distance prove the point is exactly measured on a physical surface? It proves the entered plane expression is zero under the numeric calculation, subject to rounding. The physical surface may be uncertain, curved, finite, or represented in another coordinate frame. Use a domain tolerance and surface model before making a physical membership or clearance decision.

Can the page return the closest point on the plane? No. It returns the two scalar distances only. The closest point can be computed from the point, the signed distance, and the normalized normal, but that is a separate vector-output operation with its own input and finite-result contract.

  • Unsigned and signed outputs answer different scalar questions.
  • Common nonzero scaling preserves the geometric plane and unsigned distance.
  • Zero arithmetic distance still needs measurement and model context.
  • Closest-point coordinates are outside this page's output contract.

Frequently asked questions

What is the Distance from a Point to a Plane?

Calculate the unsigned and signed Cartesian distance from a point to a plane given by ax + by + cz + d = 0.

What is the formula for the Distance from a Point to a Plane?

unsigned distance = |a x + b y + c z + d|/sqrt(a^2+b^2+c^2); signed distance = (a x + b y + c z + d)/sqrt(a^2+b^2+c^2). The point-to-plane distance divides the absolute plane expression by the Euclidean length of the nonzero normal. The signed result keeps the side indicated by the entered normal orientation.

What do I need to use this calculator?

Enter Plane a, Plane b, Plane c, Plane d, Point x, Point y, Point z, then choose Calculate.

What are the limits of this calculator?

The plane coefficients and point coordinates use one Cartesian 3D coordinate system, and (a,b,c) is nonzero. Unsigned distance is the shortest Euclidean distance; signed distance uses the entered normal orientation and does not infer physical units or a closest-point coordinate.

Methodology

This calculator is part of the WorldCalculate library. Its formula, example, assumptions, input bounds, and output formatting follow the official methodology.

Read the WorldCalculate methodology

Use this calculator as part of a bigger plan

These WorldCalculate collections connect this tool with related questions while keeping each calculation separate and transparent.

Keep this guide handy

Share this guide

Send the canonical WorldCalculate page to a classmate, client, teammate, or friend with the destination you already use.