Intersection of Two Lines Calculator

Enter the coefficients for two lines in slope-intercept form (y = ax + b) and find their exact point of intersection. Input slope (a) and y-intercept (b) for each line, and the calculator returns the x and y coordinates of the intersection point — or tells you if the lines are parallel or identical.

The slope coefficient for the first line: y = a₁x + b₁

The y-intercept for the first line: y = a₁x + b₁

The slope coefficient for the second line: y = a₂x + b₂

The y-intercept for the second line: y = a₂x + b₂

Results

X Coordinate of Intersection

--

Y Coordinate of Intersection

--

Status

--

Lines and Intersection Point

Results Table

Frequently Asked Questions

What is the intersection of two lines?

The intersection of two lines is the point where they cross each other. In 2D space, two lines intersect at exactly one point — unless they are parallel (no intersection) or identical (infinite intersections). The intersection point satisfies both line equations simultaneously.

How do I find the intersection of two lines algebraically?

Given y = a₁x + b₁ and y = a₂x + b₂, set the right-hand sides equal: a₁x + b₁ = a₂x + b₂. Solve for x: x = (b₂ − b₁) / (a₁ − a₂). Then substitute that x back into either equation to find y.

How do I know if two lines in 2D will intersect?

Two lines in 2D will intersect if and only if they have different slopes (a₁ ≠ a₂). If the slopes are equal but the y-intercepts differ, the lines are parallel and never meet. If both the slopes and y-intercepts are equal, the lines are identical and overlap entirely.

What is the intersection of lines y = x + 3 and y = 2x + 1?

Set x + 3 = 2x + 1, which gives x = 2. Substituting back: y = 2 + 3 = 5. So the lines intersect at the point (2, 5).

Do non-parallel lines always intersect in 3D?

No — in 3D space, two lines can be non-parallel yet still not intersect. These are called skew lines. True intersection in 3D requires both lines to share a common point, which means their parametric equations must yield the same (x, y, z) for some parameter values.

What does it mean if the calculator returns 'Parallel Lines'?

If both lines have the same slope (a₁ = a₂) but different y-intercepts, they run in the same direction and never meet. There is no point of intersection, and the calculator will indicate this as parallel lines.

Can two lines intersect at more than one point?

Only if they are the same line. Two distinct lines in a plane can intersect at most at one single point. If the lines are identical (same slope and same y-intercept), every point on the line is an intersection point.

How is the slope-intercept form used in this calculator?

This calculator uses the slope-intercept form y = ax + b, where 'a' is the slope and 'b' is the y-intercept. You enter a and b for each of the two lines, and the tool solves the system of equations to find the exact intersection coordinates.

More Math Tools