X-intercept calculator
Calculator
The calculator needs JavaScript. The tables below give the same numbers for common cases.
How it is worked out
- To find the x-intercept set y = 0: 2x = 12, so x = 6.
- To find the y-intercept set x = 0: 3y = 12, so y = 4.
| Inputs | Answer |
|---|---|
| A: 2; B: 3; C: 12 | For 2x + 3y = 12: x-intercept (6, 0), y-intercept (0, 4). |
| A: -2; B: 1; C: 3 | For -2x + 1y = 3: x-intercept (-1.5, 0), y-intercept (0, 3). |
| A: 0; B: 4; C: 8 | For 0x + 4y = 8: x-intercept none (horizontal line), y-intercept (0, 2). |
How to use it
The x-intercept is where a line crosses the x-axis, where y = 0, so x = C ÷ A for the line Ax + By = C. The y-intercept is where x = 0, so y = C ÷ B.
To use a line in slope-intercept form y = mx + b, rewrite it as −m·x + 1·y = b, that is A = −m, B = 1 and C = b. A horizontal line (A = 0) never crosses the x-axis unless it is the axis itself, and a vertical line (B = 0) has no y-intercept.
Frequently asked questions
How do I find the x-intercept?
Set y = 0 and solve for x.
How do I enter y = 2x + 3?
Rewrite as −2x + y = 3: A = −2, B = 1, C = 3.
Can a line have no x-intercept?
Yes, a horizontal line other than y = 0 never crosses the x-axis.
Method: standard arithmetic shown step by step; no outside data is used. Checked 2026-11-12.
About · How we verify this · Editorial policy · Corrections
General information only. Results are plain arithmetic on the numbers you enter; check anything important (money, health, school work) against your own records or the official source.