Point Line Distance Calculator
Perpendicular distance from a plane point to the line through two points. Same engine as Coordinate Geometry. Coincident line points are invalid. Not Pythagorean. Not a second engine. Not CAS. Runs locally.
Enter values to calculate.
Trust summary CVP VERIFIED · CVP protocol 1.0.0-proposed · Core assurance · all published modes
- Input interpretation
- Enter values to calculate.
- Result
- —
- Verified scope
- all published modes
- Assurance
- Core
- Declared partition coverage
- PASS · 8/8 declared partitions (distance, midpoint, slope, line, point-line, intersect, angle, invalid-domain) · Matrix
- Known limitations
- Core CVP does not include live graph, viewport, or pointer interaction.
- Model
- Perpendicular distance from a plane point to the unique line through two distinct points, with an engine-linked figure of the foot.
- Scope
- Euclidean plane
- Verification
- Engine tested · Specification checked · v1.5.0 · CVP VERIFIED · CVP protocol 1.0.0-proposed · Core assurance · all published modes· View Manifest · CVP overview · Specification
- Versions
- Calculation 1.5.0 · CVP protocol 1.0.0-proposed · Evidence 2026-09-22.geometry-cvp
- Verification revision
- 2026-09-22.geometry-cvp · 3/3 property · digest c0f46759e9a3
- Legacy regression
- 21/21 tests · Production surface contract 6/6
- Trust layers
- Verification VERIFIED · Production CURRENT · Overall CVP state: VERIFIED under CVP 1.0.0-proposed
- Reference
- O1 model · O2 expected_values · O2 numerical_behavior
- Interfaces
- PASS · UI (SSR) / REST / MCP
- Supplemental domain review
- Not performed
- Named expert review
- Not performed
- CVP suite
- 10/10 golden · 4/4 CVP boundary · 8/8 invalid · 3/3 property · 4/4 cross-interface · 2/2 cross-calculator · 6/6 CVP contract · Manifest
- Specification basis
- ISO 80000-2:2019 Quantities and units — Mathematics
- Evidence
- 8 legacy golden · 3 legacy boundary · legacy regression suite · 10/10 oracle-backed golden · 8/8 invalid · Artifact integrity PASS
- Semantic contract
- PASS
Full verification
Formulas
Core equations used by this calculator.
How to use
Enter the line as two distinct points
(0, 0) and (4, 0) is the x-axis. The two-point equation page stays at /line-equation.
Enter the query point
(1, 3) is 3 units from the x-axis. The foot is (1, 0).
Example calculations
Common configurations with formula and result.
Distance 3
Line (0, 0)–(4, 0), point (1, 3)
√2 to x + y = 2
Line (2, 0)–(0, 2), point (0, 0)
On the line
Line (0, 0)–(4, 0), point (2, 0)
Point Line Distance calculator specification
Version 1.5.0 · Engine tested
- Engine tested 21/21 tests · Production surface contract 6/6
- Named expert review Not performed
- Calculation version 1.5.0
- Definition
- The distance from (x₀, y₀) to Ax + By + C = 0 is |Ax₀ + By₀ + C| / √(A² + B²). This page is mode=point_line on math.geometry.coordinate. The line is the unique line through two distinct points. Coincident points are invalid. Not a second engine. Not Pythagorean. Not CAS.
- What it calculates
- Perpendicular distance from a plane point to the unique line through two distinct points, with an engine-linked figure of the foot.
- Inputs
- x1
- y1
- x2
- y2
- x0
- y0
- Outputs
- distance
- signed
- foot_x
- foot_y
- A
- B
- C
- standard
- Formula
|Ax₀ + By₀ + C| / √(A² + B²)- Assumptions
- Euclidean plane
- Two distinct line points
- Not 3-D / spherical
- Not Pythagorean
- Not CAS
- Units
- length (consistent units)
- Boundary conditions
- missing coordinates → MISSING_REQUIRED_INPUT
- coincident line points → INVALID_INPUT
- unknown mode (including cas, pythagorean) → INVALID_MODE
- Example
- x1=0 y1=0 x2=4 y2=0 x0=1 y0=3 → 3
- Validation cases
2 published on this page · 21/21 tests · Production surface contract 6/6 · View evidence
- x1=0 y1=0 x2=4 y2=0 x0=1 y0=3 → distance=3
- mode=cas x1=0 y1=0 x2=4 y2=0 x0=1 y0=3 → INVALID_MODE
- Specification basis
- ISO 80000-2:2019 Quantities and units — Mathematics
- Calculation version
- 1.5.0
Related tools
Other calculators in this family: Angle Between Lines Calculator, Coordinate Geometry Calculator, Line Equation Calculator, Line Intersection Calculator . Explore all Analytic Geometry.
Frequently asked questions
Key distinctions behind the calculation.
Is this a second coordinate engine?
No. It is mode=point_line on math.geometry.coordinate, the same engine as /calc/math/coordinate-geometry.
What if the two line points coincide?
There is no unique line. The engine returns INVALID_INPUT.
Where is the two-point line equation?
/calc/math/line-equation is mode=line on this same engine.