Line Intersection Calculator

Use tab and shift + tab to navigate inputs

F(y) = x +

G(y) = x +



Formulas

A line is y = mx + b

where x and y are coordinates, m is the slope, and b is the y-intercept

so to calculate the point where the lines intersect we substitute and get

x = (b1-b2)/(m2-m1)

y = x*m1+b1 = x*m2+b2