Intersection of Two Lines

Find the intersection of two lines using slope-intercept equations or pairs of points, including vertical lines.

Inputs

Formula
Slope-intercept: y = mx + b; point pairs: solve the two parametric lines
  • m₁, m₂ — slopes of the two lines
  • b₁, b₂ — y-intercepts of the two lines