Distance From a Point to a Line Calculator

This easy-to-use calculator finds the distance \( d \) between a line in general form \[ ax + by + c = 0 \] and a point with coordinates \[ P(x_0,y_0). \]

The distance formula is:

\[ d = \frac{|ax_0 + by_0 + c|}{\sqrt{a^2 + b^2}} \]

How to Use the Distance From a Point to a Line Calculator

1. Enter the coefficients \(a\), \(b\), and \(c\) of the line.
2. Enter the coordinates \(x_0\) and \(y_0\) of the point.
3. Choose the number of decimal places.
4. Click Calculate Distance.

Line
\( a = \) , \( b = \)
\( c = \)

Point
\( x_0 = \) , \( y_0 = \)

Decimal places =



Distance between the line and the point
Distance =

More References and Links

General Equation of a Line: \(ax + by + c = 0\)
Math Calculators and Solvers