Intercepts Calculator
Every straight line crosses the two axes in at most two places, and those two points are enough to sketch the whole line. Enter a linear equation in standard form (Ax + By = C) or slope-intercept form (y = mx + b) and this calculator returns the x-intercept as (x, 0), the y-intercept as (0, y), and the equation as you entered it, rounded to three decimal places.
Quick Answer
For the pre-filled line 2x + 3y = 6, the x-intercept is (3.000, 0) and the y-intercept is (0, 2.000). In standard form the two divisions are C ÷ A and C ÷ B. In slope-intercept form y = mx + b, the y-intercept is b itself and the x-intercept is −b ÷ m. This tool handles linear equations only, in those two forms.
Key takeaways
- An intercept is a point, not a single number: report (3, 0) and (0, 2), with the zero on the correct axis.
- Blank fields count as 0 in this tool. Clearing every standard-form field triggers the one error message, because A and B cannot both be zero.
- The equation line echoes your numbers exactly as entered, signs included: 4x + -2y = 8 is this tool’s honest formatting for B = -2.
- Answers are decimals rounded to three places. A fractional intercept such as 2/3 prints as 0.667, not as a fraction.
How to use the intercepts calculator
Choose the form that matches your equation, type the coefficients, and click Calculate. Results stay hidden until you do.
- Standard form: read A, B and C straight off Ax + By = C. For 2x + 3y = 6 that is A = 2, B = 3, C = 6. Watch the signs: in 4x – 2y = 8, B is -2, not 2.
- Slope-intercept form: read m and b straight off y = mx + b. For y = 2x + 3 that is m = 2, b = 3. The y-intercept needs no work at all; the tool still divides for the x-intercept.
- Read the two points: the x-intercept prints as (value, 0) and the y-intercept as (0, value), each to three decimal places, with the word Undefined when the line never crosses that axis.
- Convert forms by hand when needed: this tool has no free-text equation box. If your line arrives as two points, work out its slope and one form first; the average slope calculator covers the rate-of-change side of that job.
The intercept formulas for both forms
One idea drives both forms: a point on the x-axis has y = 0, and a point on the y-axis has x = 0. Substituting the zero and solving gives each formula.
Slope-intercept form y = mx + b: y-intercept = b (point (0, b)); x-intercept = −b ÷ m (point (−b/m, 0))
Undefined cases: A = 0 removes the x-intercept in standard form; B = 0 removes the y-intercept; m = 0 removes the x-intercept in slope-intercept form
The two forms describe the same line, so their answers must agree after conversion. The line 2x + 3y = 6 rearranges to y = −(2/3)x + 2, and both routes give (3, 0) and (0, 2). That cross-check is worth doing on homework: if the forms disagree, a sign slipped during the rearrangement. Eric Weisstein’s MathWorld entries on the x-intercept and the y-intercept state the same zero-substitution definitions this tool implements.
Worked examples, checked against this exact tool
Each row below is a run of the calculator above, with its output copied exactly, including the tool’s three-decimal rounding and its plain echo of negative coefficients.
| Run | Equation shown | X-intercept | Y-intercept |
|---|---|---|---|
| Standard: A = 2, B = 3, C = 6 (pre-filled) | 2x + 3y = 6 | (3.000, 0) | (0, 2.000) |
| Slope-intercept: m = 2, b = 3 (pre-filled) | y = 2x + 3 | (-1.500, 0) | (0, 3.000) |
| Standard, negative B: A = 4, B = -2, C = 8 | 4x + -2y = 8 | (2.000, 0) | (0, -4.000) |
| Horizontal line: A = 0, B = 5, C = 10 | 0x + 5y = 10 | Undefined | (0, 2.000) |
| Horizontal line: m = 0, b = 5 | y = 0x + 5 | Undefined | (0, 5.000) |
| Fractional answer: A = 3, B = 0.5, C = 2 | 3x + 0.5y = 2 | (0.667, 0) | (0, 4.000) |
Two rows deserve a second look. Both Undefined rows are horizontal lines, entered in the two different forms: A = 0 collapses the standard form to 5y = 10, the line y = 2, and m = 0 flattens the slope form to y = 5. Each still reports its y-intercept and simply never crosses the x-axis. The mirror case is a vertical line such as B = 0 in standard form (try A = 5, B = 0, C = 10): the x-intercept is (2.000, 0) and the y-intercept is Undefined. A line through the origin, such as y = 3x, gives (0.000, 0) for both intercepts, which the tool prints without complaint. Once you have a function’s value at a point rather than its crossings, the neighbouring job is evaluating a linear function at that x.
Why two intercepts are enough to graph a line
Two points determine a line, and the intercepts are the two easiest points to plot exactly. Mark (3, 0) and (0, 2), join them with a ruler, and the graph of 2x + 3y = 6 is done.
Intercepts also carry meaning outside the classroom. In a cost model y = mx + b, b is the fixed cost at zero units and the x-intercept is the break-even style crossing where the value hits zero. In a distance-time graph, the y-intercept is the starting position. Reading the axes this way is the same skill as reading any plotted pair of points, and the distance calculator handles the follow-up question of how far apart two plotted points sit. The failure mode to avoid is extrapolation: intercepts describe where the line crosses, and a model can stop being true long before or after that crossing.
What competing calculators miss
The pages ranking for intercepts split between bare tools and broad tools, and each group gives something up:
- Omni Calculator’s y-intercept tool: polished, and it can also rebuild the line equation from an intercept, which the tool here does not offer. Its answers arrive as bare values in a dense multi-tool layout, with the standard-form route handled on a separate converter page.
- MiniWebTool’s x and y intercept calculator: accepts free-text equations including quadratics and shows steps, which is broader than this tool. The trade-off is a cluttered page and no control over which form you are entering, so a sign error inside a typed equation is harder to spot than in labelled coefficient fields.
- eOn Tools: five entry routes including two points and point-slope form, plus a slope readout. Genuinely wider scope; the cost is a busier form, and the intercept answers compete for attention with the extra outputs.
- Textbook and solver pages (Vedantu and similar): careful worked solutions for one set problem at a time, but no reusable tool, so the next equation starts the whole page hunt again.
- The gap this page fills: the two school-standard forms with labelled coefficient fields, both intercepts as full coordinate points, the Undefined cases named and explained instead of left blank, and total honesty about scope: linear equations only, no graph plot, no step solver, no quadratic mode hiding behind the title.
Frequently asked questions
The x-intercept is the point where a line crosses the x-axis. Its y-coordinate is always 0, so the point is written (x, 0). Find it by setting y = 0 in the equation and solving for x.
The y-intercept is the point where a line crosses the y-axis. Its x-coordinate is always 0, so the point is written (0, y). Find it by setting x = 0 in the equation and solving for y. In y = mx + b it is simply b.
Divide C by each coefficient: the x-intercept is C / A, reported as (C/A, 0), and the y-intercept is C / B, reported as (0, C/B). For 2x + 3y = 6 that gives (3.000, 0) and (0, 2.000).
The y-intercept is b itself, reported as (0, b). The x-intercept is -b / m, reported as (-b/m, 0). For y = 2x + 3 that gives (0, 3.000) and (-1.500, 0).
Undefined means the line never crosses that axis. A horizontal line has no x-intercept: that is m = 0 in slope-intercept form, or A = 0 in standard form, which collapses the equation to a constant y. A vertical line, B = 0 in standard form, has no y-intercept. The other intercept is still reported normally.
No. This tool handles linear equations only, in standard form and slope-intercept form. A quadratic such as y = x squared – 9 can cross the x-axis twice, at (-3, 0) and (3, 0), which a two-coefficient linear form cannot represent. Use a quadratic solver for parabolas.
A blank input counts as 0. Leaving A blank in standard form makes the tool treat the line as 0x + By = C and report the x-intercept as Undefined. Leaving every standard-form input blank triggers the message: A and B cannot both be zero.
The tool prints every numeric intercept with three decimal places, so 2 / 3 appears as 0.667 and whole numbers appear as 3.000. The rounding is display only; it keeps repeating decimals readable while showing exactly which point to plot.
Add This Calculator to Your Website
Embed this calculator on your own site with the code below. Pick a size to preview it live, then copy the code.
Powered by Calculator Zilo
References
- Weisstein, Eric W. x-Intercept, MathWorld, a Wolfram Web Resource. Accessed October 22, 2026.
- Weisstein, Eric W. y-Intercept, MathWorld, a Wolfram Web Resource. Accessed October 22, 2026.
- Weisstein, Eric W. Linear Equation, MathWorld, a Wolfram Web Resource. Accessed October 22, 2026.
- OpenStax, Rice University. Elementary Algebra 2e, Section 4.3: Graph with Intercepts. Accessed October 22, 2026.
- Khan Academy. Intro to intercepts. Accessed October 22, 2026.
