How this calculation works
Measure perpendicular distance to a line given in implicit form.
d = |Ax+By+C|/hypot(A,B)A worked example
For (3,4) and 3x+4y−5=0, the numerator is 20 and the denominator is 5.
Good to know
The two line coefficients cannot both be zero.
Reference: OpenStax Algebra and Trigonometry, Trigonometric Applications (opens in a new tab) ↗
Read the result
Measure perpendicular distance to a line given in implicit form.
The primary result is labeled “Perpendicular distance”. Keep the input definitions in view when comparing this result with another method.
Try a related calculation
The two line coefficients cannot both be zero.
For a related exercise, try the circle calculator.
A few questions, answered
How can I check the default inputs by hand?
For (3,4) and 3x+4y−5=0, the numerator is 20 and the denominator is 5.
Which rule does this calculator apply?
d = |Ax+By+C|/hypot(A,B)