X and Y Intercept Calculator
Find the x-intercept and y-intercept of a linear equation. Enter two points or a linear equation in the form ax + by = c.
Enter values to find the intercepts.
Intercept Formulas
For y = mx + b:
Y-intercept: (0, b) — set x = 0
X-intercept: (−b/m, 0) — set y = 0
Y-intercept: (0, b) — set x = 0
X-intercept: (−b/m, 0) — set y = 0
How to Find Intercepts
- Y-intercept: Set x = 0 and solve for y.
- X-intercept: Set y = 0 and solve for x.
Example: 2x + 3y = 6
Y-intercept: 2(0) + 3y = 6 → y = 2 → (0, 2)
X-intercept: 2x + 3(0) = 6 → x = 3 → (3, 0)
Y-intercept: 2(0) + 3y = 6 → y = 2 → (0, 2)
X-intercept: 2x + 3(0) = 6 → x = 3 → (3, 0)
FAQ
What if the line is vertical?
A vertical line (e.g., x = 5) has an x-intercept at (5, 0) but no y-intercept (it never crosses the y-axis, unless x = 0).
Can a line have more than one x-intercept?
A straight line can have at most one x-intercept. If the line lies along the x-axis (y = 0), every point is an x-intercept.
Related Calculators
Last updated: 2026-08-08