Intercept Calculator
Use this tool to find x-intercepts and y-intercepts from common line formats.
Enter slope m and y-intercept b.
Enter slope and one point on the line. We compute b = y₁ - mx₁.
Enter coefficients for Ax + By + C = 0.
Enter two different points. The line is determined from them.
What Is an Intercept?
An intercept is where a graph crosses an axis. For a line, the x-intercept is where y = 0, and the y-intercept is where x = 0. These points are often the fastest way to sketch a line and understand what it means in context.
- x-intercept: the point where the line touches the x-axis, written as (x, 0).
- y-intercept: the point where the line touches the y-axis, written as (0, y).
Why Intercepts Matter
Intercepts are useful in algebra, science, finance, and data analysis. In many real-world models, the y-intercept represents a starting value, while the x-intercept may represent a break-even point or threshold.
Common applications
- Graphing linear equations quickly
- Checking whether a model has a realistic starting value
- Estimating when a quantity reaches zero
- Understanding tradeoffs in linear relationships
How to Calculate Intercepts by Equation Type
1) Slope-intercept form: y = mx + b
The y-intercept is immediate: (0, b). To get the x-intercept, set y = 0 and solve: 0 = mx + b so x = -b/m (if m ≠ 0).
2) Standard form: Ax + By + C = 0
For the x-intercept, set y = 0: Ax + C = 0, so x = -C/A (if A ≠ 0). For the y-intercept, set x = 0: By + C = 0, so y = -C/B (if B ≠ 0).
3) Two-point form
If you know two points, first compute slope: m = (y₂ - y₁)/(x₂ - x₁), then find b from b = y₁ - mx₁. After that, use the slope-intercept rules above.
Special Cases You Should Know
- Horizontal line (m = 0): y is constant. It may have no x-intercept unless y = 0.
- Vertical line (x = k): x-intercept is always (k, 0), but y-intercept may not exist.
- Line through origin: both intercepts are at (0, 0).
Quick Example
Suppose your line is y = 2x - 6. y-intercept is (0, -6). For x-intercept, set y = 0: 0 = 2x - 6, so x = 3. Therefore x-intercept is (3, 0).
Tips for Accurate Results
- Double-check signs, especially negative coefficients.
- Use decimal inputs if needed; this calculator supports them.
- If denominator terms become zero, inspect whether the line is vertical or horizontal.
- Interpret the result in context: not every intercept is meaningful in real data.