How to use this calculator

Enter the values shown and apply the formula Distance = |Ax + By + C| / √(A² + B²).

The method

Distance = |Ax + By + C| / √(A² + B²)

Enter your values in the labeled fields and choose Calculate. The result panel shows the answer and supporting values when useful.

WORKED EXAMPLE INPUT

Point x: 3, Point y: 4, A: 2, B: -1, C: 5

Select Calculate to evaluate these example values.

Scope and limitations

A and B cannot both be zero.

Common questions

Can I change the example values?

Yes. Replace every prefilled value with your own inputs and calculate again.

Are displayed results exact?

Some results are rounded for readability. Keep extra precision when the next step depends on the result.

Methods & verification

Formulas use standard mathematical definitions and fixed unit factors where applicable. See our methodology for numerical conventions, rounding, privacy, and limitations.