Math

Intersection of Two Lines Calculator

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

Parameters Live Compute
Calculated Output
x 2
y 5
Formula: x = (b₂ − b₁) ÷ (m₁ − m₂)
Step-by-Step Breakdown
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 this calculator solve your problem today?
Report issue to loopingon.com
Sponsored

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.

Frequently Asked Questions

What if the slopes are equal?

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

Advertisement