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
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).
| Term | Meaning |
|---|---|
| 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 intersection | The single (x, y) coordinate shared by both lines, where their two equations give the same y for the same x. |
The inputs explained
| Field | What 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 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) |
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 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) |
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.