Distance Point To Line Calculator
Find the shortest (perpendicular) distance from a point to a line using either the standard form Ax + By + C = 0 or two points on the line.
Use the Distance Point To Line Calculator
Line Input Mode
Line: Ax + By + C = 0
Two points on the line
Point (x₀, y₀)
Enter values and click Calculate Distance
Perpendicular Distance
—
units
Step-by-Step Solution
Summary
Summary
This calculator finds the perpendicular (shortest) distance from any point to a straight line in 2D space. Supply the line in standard form Ax + By + C = 0, or define the line by entering two points and letting the tool derive the equation. The result includes step-by-step working so you can follow the formula.
How it works
- Choose input mode: Standard Form (Ax + By + C = 0) or Two-Point Form.
- Enter the coefficients A, B, C — or the coordinates of two points on the line.
- Enter the coordinates of the point (x₀, y₀) you want to measure from.
- Click Calculate to see the perpendicular distance with step-by-step work.
- Review the perpendicular distance result, summary table, and step-by-step algebraic breakdown.
Use cases
- Find how far a city coordinate is from a straight road or border line.
- Verify geometry homework involving perpendicular distances.
- Check the closest approach distance between a point and a line in a physics problem.
- Compute tolerance margins in 2D CAD or graphics work.
- Validate analytical geometry proofs and calculations.
Frequently Asked Questions
Last updated: 2026-06-11 · Reviewed by Nham Vu