X and Y Intercept Calculator
Find both intercepts of A·x + B·y = C exactly, with the missing-intercept cases named rather than guessed.
X and Y Intercept Calculator
Find both intercepts of A·x + B·y = C exactly, with the missing-intercept cases named rather than guessed.
How this page computes
Coefficients are exact rationals, so an intercept of two thirds is printed as a fraction rather than a rounded decimal. The page never divides by zero to invent an intercept.
The calculation runs entirely in this browser tab; nothing is uploaded.
The page finds where a line crosses each axis. For 2, 3 and 6 the x-intercept is (3, 0) and the y-intercept is (0, 2), both exact.
If A is zero the line is horizontal and has no single x-intercept, which the page states. If B is zero the line is vertical and has no single y-intercept. The all-zero case is reported as every point.
How to use the X and Y Intercept Calculator
Enter A, B and C separated by spaces, then press Run. The first line restates the equation and the next two give the intercepts as coordinate pairs.
A missing intercept is described in words, with the coefficient that caused it, so the answer cannot be mistaken for a coordinate of zero. Fractions and decimals are accepted as coefficients.
The rule this page applies
The x-intercept is found by setting y to zero, giving x equals C over A. The y-intercept is found by setting x to zero, giving y equals C over B. Each exists only when its divisor is non-zero.
Coefficients are exact rationals, so an intercept of two thirds is printed as a fraction rather than a rounded decimal. The page never divides by zero to invent an intercept.
What to Expect
Best for
- Finding both intercepts at once
- Checking a line against its graph
- Seeing why a horizontal line has no x-intercept
Not ideal for
- Finding the slope
- Graphing the line
- Lines given in another form
What this tool keeps
- The exact coefficients and both intercepts
What may need cleanup
- Nothing: each intercept is an exact coordinate
Common errors
- A zero coefficient is reported as a missing intercept with its cause
- A non-numeric coefficient is refused by name
Example use cases
- Find the intercepts of 2x + 3y = 6
- See that 0x + 3y = 6 has no x-intercept
Sample input
2 3 6
Sample output
2x + 3y = 6 x-intercept = (3, 0) y-intercept = (0, 2)
Who this is for
- Algebra students
- Readers checking a graph
Frequently asked questions
Why can an intercept be missing?
A horizontal line never crosses the x-axis once, so it has no single x-intercept. A vertical line likewise has no single y-intercept. The page names the coefficient responsible.
What if all three coefficients are zero?
Every point satisfies the equation, so both axes are covered. The page reports every x and every y instead of printing a coordinate pair that would be only one example.
Are the intercepts exact?
Yes. Coefficients are read as rationals, so an intercept such as two thirds is printed as a fraction rather than a decimal approximation.
Is anything uploaded?
Nothing is uploaded. The numbers are read and the arithmetic runs in this browser tab with JavaScript, and reloading the page discards both the input and the result.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.