Line Intersection Calculator
Find where two lines intersect.
About Line Intersection Calculator
Two lines intersect at one point unless they are parallel (same slope) or coincident (same line).
$$a_1x + b_1y = c_1, \quad a_2x + b_2y = c_2$$
How to use this calculator
- Enter the equation or values for the first line.
- Enter the equation or values for the second line.
- Use the calculator to solve for the intersection point.
- Check the displayed coordinates against both lines if needed.
The formula explained
$$ \text{Solve } m_1 x + b_1 = m_2 x + b_2 \text{ for } x, \text{ then use } y = m_1 x + b_1 $$
- \(m_1\) = slope of the first line
- \(b_1\) = y-intercept of the first line
- \(m_2\) = slope of the second line
- \(b_2\) = y-intercept of the second line
- \(x\) = x-coordinate of the intersection point
- \(y\) = y-coordinate of the intersection point
Step by step method
- Write both lines in a comparable form, usually slope-intercept form if possible.
- Set the two equations equal to each other so the y-values match at the intersection point.
- Solve the resulting equation for x.
- Substitute that x value back into either line to find y.
Worked example
Suppose you want to find where the lines y = 2x + 1 and y = -x + 7 cross.
- Set the equations equal: \(2x + 1 = -x + 7\).
- Solve for x: \(3x = 6\), so \(x = 2\).
- Substitute into either line: \(y = 2(2) + 1 = 5\).
Answer. The lines intersect at (2, 5).
Tips and common mistakes
- Make sure both lines are written correctly before solving. A small sign error can change the intersection point.
- If the slopes are the same and the intercepts are different, the lines do not intersect.
- If both equations are identical, the lines overlap and have infinitely many intersection points.
- Use the same form of the equations throughout to avoid mixing variables or terms.
Frequently asked questions
What does this calculator find?+
It finds the point where two lines cross. That point is called their intersection. If the lines never cross, the calculator should show that there is no single intersection point.
Do I need the equations in a specific form?+
The easiest form is slope-intercept form, but other line forms can often work too. What matters is that both lines can be compared and solved consistently. If needed, rewrite them first.
What if the lines are parallel?+
Parallel lines have the same slope but different intercepts, so they never meet. In that case, there is no solution for a single intersection point. The calculator should indicate that clearly.
What if the two lines are the same?+
Then every point on the line is an intersection point. This means there are infinitely many solutions, not just one. A good calculator should recognize that the lines overlap.
More Coordinate Geometry Tools
Explore related calculators in this category
Point to Line Distance Calculator
Calculate the perpendicular distance from a point to a line.
Angle Between Two Lines Calculator
Calculate the angle between two lines given their slopes. Free calculator with instant calculations, the underlying formula, and an easy-to-follow example.
Circle Equation Calculator
Find the equation of a circle from center and radius.
Distance Formula Calculator
Calculate distance between two points in 2D or 3D.
You Might Also Like
Popular tools from other categories
Line Counter
Count the number of lines, non-empty lines and characters in any text instantly.
Normalize Line Endings
Convert mixed line endings (CRLF, CR, LF) to a single consistent style instantly.
Refrigerant Line Charge Calculator
Estimate extra refrigerant for long line sets.
Remove Line Breaks
Remove all line breaks from text to make it one continuous paragraph.
Can't Find the Right Calculator?
Try our AI Math Solver, type any problem in plain English and get instant step-by-step solutions.