Shapes & spaces

Distance from a point to a line calculator

Measure perpendicular distance to a line given in implicit form.

Your numbers

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

Report an issue

Behind the numbers

How this calculation works

Measure perpendicular distance to a line given in implicit form.

THE FORMULAd = |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.

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)

Find your calculator

Start typing to explore the library.