Point to Line Distance Calculator

Calculate the perpendicular distance from a point to a line given in standard form Ax + By + C = 0, plus the foot of the perpendicular.

Inputs

Line (Ax + By + C = 0)

Ax + By + C = 0

Point

Results

Enter a value to see results.

Foot of Perpendicular

xyP
\begin{aligned} d &= \dfrac{|Ap_x + Bp_y + C|}{\sqrt{A^2 + B^2}} \\ &= \dfrac{|(3)(0) + (4)(0) + (-5)|}{\sqrt{(3)^2 + (4)^2}} \\ &= ? \end{aligned}
\begin{aligned} F_x &= p_x - \dfrac{A(Ap_x + Bp_y + C)}{A^2 + B^2} \\ &= (0) - \dfrac{(3)({\text{?}})}{{\text{?}}} \\ &= ? \end{aligned}
\begin{aligned} F_y &= p_y - \dfrac{B(Ap_x + Bp_y + C)}{A^2 + B^2} \\ &= (0) - \dfrac{(4)({\text{?}})}{{\text{?}}} \\ &= ? \end{aligned}

Embed this calculator

Preview

Paste this code into your page to show the calculator.

Share this calculation

Anyone who opens this link sees your values already filled in.

200+ calculators · 10 languages · 100% free

Was this calculator helpful?

No

How can we improve this calculator?