Find x-intercept and y-intercept of any linear equation. Supports Standard Form (Ax+By+C=0), Slope-Intercept Form (y=mx+b), and Two-Point Form. Visualize the line with intercepts on an interactive coordinate plane.
In coordinate geometry, the x-intercept is the point where a line crosses the x-axis (y = 0), and the y-intercept is where the line crosses the y-axis (x = 0). These intercepts provide a quick way to graph linear equations and understand their behavior. Every non-vertical, non-horizontal line has exactly one x-intercept and one y-intercept. Vertical lines (x = constant) have an x-intercept but no y-intercept; horizontal lines (y = constant) have a y-intercept but no x-intercept unless they are the x-axis itself.
For a line given by Ax + By + C = 0 (A, B not both zero):
x-intercept = -C/A (if A ≠ 0) | y-intercept = -C/B (if B ≠ 0)
For slope-intercept form y = mx + b: x-intercept = -b/m (m ≠ 0) ; y-intercept = b
Our calculator derives intercepts using algebraic transformations. First we convert any input (standard, slope-intercept, or two points) into the standard linear form Ax + By + C = 0. Then x-intercept is solved by setting y = 0, and y-intercept by setting x = 0. For two-point mode, the slope m = (y₂ - y₁)/(x₂ - x₁) (handling vertical/horizontal separately). The line equation is then derived and intercepts are computed. The interactive graph uses a dynamic coordinate system that automatically adjusts to display intercepts and line clearly.
A startup has fixed costs of $5000 (y-intercept) and variable cost per unit $20, selling price $45 per unit. Profit equation: P = 25x - 5000. The x-intercept (where profit = 0) occurs at x = 200 units. Using our intercept calculator with equation 25x - y - 5000 = 0, x-intercept = 200 confirms break-even volume. This demonstrates how intercept analysis drives strategic decisions.
The graph displays a Cartesian plane with the line, clearly marking both intercept points (red for x-intercept, blue for y-intercept). The coordinate range adapts to ensure intercepts are always visible, including negative values. Axis lines are drawn for reference, making it ideal for classroom demonstration or self-study.
| Input Form | Example | X-Intercept | Y-Intercept |
|---|---|---|---|
| Standard | 2x + 3y - 6 = 0 | 3 | 2 |
| Slope-Intercept | y = 4x - 8 | 2 | -8 |
| Two-Point | (1,2) , (3,6) | 0 | 0 |
| Vertical line | x = 5 | 5 | None (undefined) |
The concept of intercepts was formalized by René Descartes in the 17th century with the development of analytic geometry. The intercept form x/a + y/b = 1 directly connects intercepts a (x-intercept) and b (y-intercept). This elegant representation is widely used in linear programming and optimization. Our calculator implements these classical principles with modern numerical stability.