Intersection of Two Lines Calculator

Find where two lines y = m₁x + b₁ and y = m₂x + b₂ cross.

x 2
y 5

Formula: x = (b₂ − b₁) ÷ (m₁ − m₂)

Step-by-step with your numbers:
1. Values used:
2. Slope m₁ = 2
3. Intercept b₁ = 1
4. Slope m₂ = -1
5. Intercept b₂ = 7
6.
7. x = Slope m₁ x Intercept b₁ = 2 x 1 = 2
8. y = 5
Did we solve your problem today?

Two non-parallel lines meet at exactly one point — this finds it.

The math behind it

Set m₁x + b₁ = m₂x + b₂ and solve: x = (b₂ − b₁) ÷ (m₁ − m₂), then substitute back for y.

Worked example

y = 2x + 1 and y = −x + 7 → x = 2, y = 5.

FAQ

What if the slopes are equal?

The lines are parallel and never intersect (or are the same line).