StatGardenREF. DESK
Calculators/Maths/Point of Intersection
Maths

Point of Intersection calculator

Where two straight lines cross, from their slope-intercept equations, with parallel and identical lines handled.

Published 21 August 2026

What this calculator does

The point of intersection is the single (x, y) point where two straight lines cross, if they cross at all. Given each line's equation in slope-intercept form, y = mx + c, the point of intersection formula sets the two equations equal to each other and solves for the x-value they share, then substitutes that back in to find y.

Two straight lines on a plane meet at exactly one point, unless they are parallel, in which case they never meet, or unless they are the same line, in which case every point on it counts as an intersection. This calculator handles all three cases and reports clearly when there is no single answer, rather than showing a divide-by-zero error.

The formula

Formulay = m1x + c1 and y = m2x + c2; x = (c2 − c1) / (m1 − m2); y = m1x + c1

Set the two equations equal, m1x + c1 = m2x + c2, and rearrange to solve for x: x = (c2 − c1) ÷ (m1 − m2). Substitute that x back into either line's equation to get y. If the two slopes are identical, this division is undefined, which means the lines are either parallel (different intercepts, no intersection) or the same line (same intercepts, infinite intersections).

TermMeaning
Slope (m)How steeply a line rises or falls; the coefficient of x in y = mx + c.
Intercept (c)The y-value where a line crosses the y-axis, when x = 0.
Point of intersectionThe single (x, y) coordinate shared by both lines, where their two equations give the same y for the same x.

The inputs explained

FieldWhat to enter
Line 1 slope (m1)The slope of the first line.
Line 1 intercept (c1)The y-intercept of the first line.
Line 2 slope (m2)The slope of the second line.
Line 2 intercept (c2)The y-intercept of the second line.

When to use it

Finding where two trend lines cross

Two straight-line trends, such as a rising cost line and a falling savings line, cross at the point where their equations give the same value, which the point of intersection formula finds directly.

Solving a break-even style problem framed as two lines

Many break-even questions are really two linear equations, such as cost against volume and revenue against volume, and the volume where they intersect is the break-even point.

Checking whether two lines are parallel

Rather than comparing slopes by eye, running both equations through this calculator confirms directly whether they intersect, run parallel, or are the same line.

Worked examples

Every figure in the tables below is produced by this page’s own calculator at build time, so the numbers and the tool always agree. Select any row to load that scenario.

How the intersection point moves as one line's slope changes

Line 2 held fixed, with line 1's slope stepped through a range of values to show how the crossing point shifts.

Line 2 fixed at y = −1x + 7, line 1's slope varying
Line 1 slope (m1)Intersection point
0.50(4.000, 3.000)
1.00(3.000, 4.000)
1.50(2.400, 4.600)
2.00(2.000, 5.000)
3.00(1.500, 5.500)
4.00(1.200, 5.800)
As line 1's slope steepens while line 2 stays fixed, the crossing point moves closer to line 2's own intercept, since a steeper line 1 reaches any given height sooner.

What happens as the two slopes converge towards parallel

Line 1 held fixed at slope 2, with line 2's slope stepped closer and closer to that same value of 2, at which point the lines become parallel and no longer intersect.

Line 1 fixed at y = 2x + 1, line 2's slope approaching 2
Line 2 slope (m2)Intersection point
0.00(3.000, 7.000)
0.50(4.000, 9.000)
1.00(6.000, 13.000)
1.50(12.000, 25.000)
1.90(60.000, 121.000)
1.99(600.000, 1,201.00)
The intersection point moves further and further away as line 2's slope approaches line 1's slope of 2. At exactly 2 the two lines would be parallel, with no intersection at all.

Questions

What if the two lines have the same slope?

If the slopes are equal but the intercepts differ, the lines are parallel and never meet, so there is no single point of intersection. If both the slope and the intercept match, the two equations describe the same line, and every point on it is technically an intersection.

Can this handle a vertical line?

Not directly in slope-intercept form, since a vertical line has an undefined slope. A vertical line at x = k intersects any non-vertical line y = mx + c at the single point (k, mk + c), which can be worked out by hand for that specific case.

Is the point of intersection formula the same as solving simultaneous equations?

Yes. Finding where two lines cross is exactly the algebraic problem of solving two linear equations simultaneously; the point of intersection formula is just that solution written out directly for the slope-intercept form.

How is this different from a distance calculator?

A distance calculator measures the straight-line gap between two given points. This calculator finds an unknown point, the one shared by two lines, from their equations rather than from two point coordinates.

For the slope and equation of a line from two known points instead of finding an intersection, see the distance, midpoint & slope calculator.