Distance of point to straight line online calculation

发布日期 : 2019-11-11 01:53:18 UTC      

分类 : Algebraic

X +
Y = 
 , 

App description

Distance of point to straight line online calculation

The length from the point outside the line to the vertical line of the line is called the distance from the point to the line.

Let the equation of the straight line L be \(Ax+By+C=0\), and the coordinate of the point P be (Xo,Yo), then the distance from the point P to the straight line L is:

\(d=│AXo+BYo+C│ / √(A2+B2)\).

Usage example

Straight line: 3X + 1Y = 5

Point: 5, 3

Click "calculate" to output the result

Results: 4.1110