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.

Equation of Line L1
x + y + = 0
Equation of Line L2
x + y + = 0

Result

The distance between line and line is:

Quick Examples

Rate this tool

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}}\)

Distance between two parallel lines on the Cartesian plane

Related Tools

Daniel Machado

Professor of Mathematics, graduated from the Faculty of Exact, Chemical and Natural Sciences of the National University of Misiones (UNAM). Developer and creator of RigelUp, dedicated to building tools for mathematical learning.

Leave a Reply

Your email address will not be published. Required fields are marked *