Distance from Point to Line

Algebra, Coordinate Geometry

Let's Do Math!

Intro: We normalize by $\sqrt{A^2+B^2}$ and return an exact simplified value.

Worked example

FAQs

Can I enter non-simplified lines?

Yes—we parse coefficients and internally normalize; the distance formula is invariant under scaling of A, B, C.

Vertical or horizontal lines?

Works directly: for $x=c$ use $A=1,B=0,C=−c → d=|x0−c|$; for $y=c$ use $A=0,B=1,C=−c → d=|y0−c|$.

Why choose MathGPT?

How this calculator works

Related