X and Y Intercept Calculator
This calculator finds the x-intercept and y-intercept of a linear equation. The intercepts are the points where the line crosses the x-axis and y-axis.
Intercept formulas
y = mx + b
Y-intercept: (0, b)
X-intercept: (-b/m, 0)
Intercepts: frequently asked questions
What is the y-intercept?
The y-intercept is where the line crosses the y-axis (where x = 0). For y = mx + b, the y-intercept is b.
What is the x-intercept?
The x-intercept is where the line crosses the x-axis (where y = 0). Solve y = mx + b with y = 0 to get x = -b/m.
How do I find the y-intercept?
Substitute x = 0 into the equation: y = m(0) + b = b. The y-intercept is the constant term.
How do I find the x-intercept?
Substitute y = 0 into the equation and solve for x: 0 = mx + b, so x = -b/m.
Can a line have no intercepts?
No. Every non-vertical line has a y-intercept. Every non-horizontal line has an x-intercept.
Methodology
Reviewed by the CalculatorHub team, edited by James Graham, 14 June 2026.