Distance between a point and a line

Distance between a point (.) M and a line both on the plane and in three-dimensional space, is expressed as a segment of a perpendicular, which is the shortest distance between the point (.) M and the line.

The formula by which the online calculator calculates the length of the perpendicular segment from (.) M to the line described by the equation Ax + By + C = 0, represents an algebraic expression, in the numerator of which |A•Mx + B•My + C|, and in the denominator the square root of the sum of the squares of the coefficients of the equation A and B.

Mx and My - coordinates of the point (.) M in the Cartesian coordinate system. The need to calculate the perpendicular segment from (.) M to the line arises in construction design, mechanical engineering, the aerospace industry, etc.



Enter the coordinates of the point:

M (;)

and the line equation:

*x+ *y+ =0


d =