Distance Between Two Lines Calculator
Enter the equations of both lines to get the distance between them, see the step-by-step solution, and their graph.
Result
The distance between line and line is:
Quick Examples
What Is the Distance Between Two Lines?
The distance between two lines in the plane is the measure of their minimum separation. When the lines are intersecting (they cross at a single point) or coincident (they are the same line), the distance between them is zero.
On the other hand, if the lines are parallel and non-coincident, the distance between them is the length of the perpendicular segment drawn from any point on one line to the other line, and it is a constant positive value.
Given two parallel lines in their general form: L1: Ax + By + C1 = 0 and L2: Ax + By + C2 = 0 where the coefficients A and B are identical, the distance between them is given by the following formula:
\(d(L_1, L_2)=\dfrac{|C_2-C_1|}{\sqrt{A^2+B^2}}\)


Leave a Reply