X and Y Intercept Calculator
Type any equation, a line or a curve, and see exactly where it crosses each axis, with the steps and a graph. No equation? Start from two points, a point and a slope, or the intercepts themselves.
Steps for 3x + 4y = 24
- x-intercept: every point on the x-axis has y = 0. Put 0 in for y:
3x + 4(0) = 24, so3x = 24andx = 8. Point(8, 0). - y-intercept: every point on the y-axis has x = 0. Put 0 in for x:
3(0) + 4y = 24, so4y = 24andy = 6. Point(0, 6). - Check: both points satisfy the equation:
3(8) + 4(0) = 24and3(0) + 4(6) = 24.
How to Use the X and Y Intercept Calculator
Pick the tab that matches what you have. With an equation, type it the way it looks on your paper. It works with lines, curves, fractions, square roots and circles. For curves, it looks for answers between −1000 and 1000. If it finds none there, it says “none found”. If you type x and y with no “=” sign, like 3x + 5y + 15, it reads it as “= 0”. With only two points or a point and a slope, the other tabs build the line first and then find where it crosses.
Each answer shows the points, the steps and a graph. Press Share link to send the same problem to someone else.
How to Find X and Y Intercepts
Every point on the x-axis has a y-value of 0, and every point on the y-axis has an x-value of 0. That gives the whole method:
- x-intercept: set y = 0 and solve for x.
- y-intercept: set x = 0 and solve for y.
Example: for 3x + 4y = 24, setting y = 0 gives 3x = 24, so x = 8 and the x-intercept is (8, 0). Setting x = 0 gives 4y = 24, so y = 6 and the y-intercept is (0, 6). Plot both points and draw a line through them, and you have the graph.
From y = mx + b
In slope intercept form, the y-intercept is b, so you can read it straight off the equation. The x-intercept is −b/m, as long as m ≠ 0. For y = 2x − 6, that is −(−6)/2 = 3, so the line crosses at (3, 0). For standard form Ax + By = C, the x-intercept is C/A and the y-intercept is C/B, as long as A and B are not 0.
From Two Points
Find the slope first, m = (y₂ − y₁) / (x₂ − x₁), which needs x₁ ≠ x₂. If the x-values match, the line is vertical, x = x₁. Then find b from either point with b = y₁ − m·x₁. Now you have y = mx + b and can use the shortcut above. The Two points tab does this for you and shows each step.
From a Graph or a Table
On a graph, the x-intercept is where the line or curve crosses the horizontal axis, and the y-intercept is where it crosses the vertical axis. In a table, find the row with x = 0: its y-value is the y-intercept. The row with y = 0 gives the x-intercept. If the table shows a line but neither row is there, put any two rows into the Two Points tab.
X Intercept Calculator for Curves and Functions
The rule stays the same for curves: set y = 0 and solve. What changes is how many answers you can get, and a few traps along the way.
Quadratics
For y = ax² + bx + c, the y-intercept is simply c. For the x-intercepts, check the discriminant, b² − 4ac, first. If it is positive there are two x-intercepts, if it is zero there is one, and if it is negative there are none. When there are two, they always sit the same distance either side of x = −b/2a, which is a quick way to check your answer.
Repeated Factors: Crossing or Touching
Count how many times each factor appears. If a factor appears an odd number of times, the graph crosses the axis there. If it appears an even number of times, the graph only touches the axis and turns back, like y = (x − 3)² at x = 3. A polynomial of degree n has at most n x-intercepts.
Fractions: Holes Are Not Intercepts
For a fraction, the x-intercepts come from the top, but only where the bottom is not also zero. In (x² − 1)/(x − 1), the top is zero at x = 1 and x = −1. But x = 1 also makes the bottom zero, so the graph has a hole at (1, 2), not an intercept. The only x-intercept is (−1, 0).
One catch: if the bottom has more copies of the shared factor, you get a vertical asymptote, not a hole. In (x − 2)/(x − 2)², the bottom has one extra copy, so x = 2 is an asymptote. And if the function is not defined at x = 0, like 1/x, there is no y-intercept at all.
Piecewise Functions
A piecewise function uses a different rule on different parts of the x-axis. Solve each piece for zero, then keep only the answers that fall inside that piece’s own range of x. If f(x) = x² only for x > 1, the solution x = 0 does not count, because 0 is not greater than 1. This calculator takes one equation at a time, so enter each piece on its own and then apply its x-range yourself.
How Many Intercepts Can a Graph Have?
| Graph | x-intercepts | y-intercepts |
|---|---|---|
| Slanted line | exactly 1 | exactly 1 |
| Horizontal line, y = c (c ≠ 0) | none | 1 |
| The x-axis itself, y = 0 | every point | 1, the origin |
| Vertical line, x = c (c ≠ 0) | 1 | none |
| Parabola y = ax² + bx + c | 0, 1 or 2 | exactly 1 |
| Polynomial of degree n | at most n | exactly 1 |
| Any function y = f(x) | any number | at most 1 |
| Circle | 0, 1 or 2 | 0, 1 or 2 |
A function can never have two y-intercepts, because that would mean two outputs for the single input x = 0.
What the Intercepts Mean in a Word Problem
Tests often ask what an intercept means, not just how to find it. The Common Core standard HSF-IF.B.4 asks students to explain key features of a graph, and intercepts are first on that list.
The y-intercept is the value when the input is zero, the starting amount. The x-intercept is the input that makes the output zero, the point where something runs out or breaks even.
| Situation | y-intercept means | x-intercept means |
|---|---|---|
| Gas left = 12 − 0.4 × miles | 12 gallons at the start | empty after 30 miles |
| Profit = 8 × items − 400 | a $400 loss with no sales | break even at 50 items |
| Phone bill = 15 + 0.10 × minutes | $15 before any calls | no real meaning, the bill is never $0 |
Answer in words and units, like “the tank holds 12 gallons when the trip starts”. Two tips: count x from the start (like “years since 2004”), so the y-intercept is a real starting value. And check whether the model still makes sense past its x-intercept. The gas model stops there, since it would predict negative gallons. The profit model keeps going, since every item past 50 adds profit.
How to Find Intercepts on a TI-84
- Enter the equation in the Y= screen. It must be solved for y first.
- For the y-intercept, use CALC → value and enter x = 0.
- For each x-intercept, use CALC → zero, then set a left bound, a right bound and a guess around the crossing.
If you see no intercepts, widen the window. The standard window only runs from −10 to 10, so y = 2x − 20 hides its y-intercept at −20. Vertical lines like x = 3 cannot go in the Y= screen at all, and holes are not drawn on the calculator screen, so check fractions by hand.
Common Mistakes
- Setting the wrong variable to zero. For the x-intercept, set y = 0. The point sits on the x-axis, so its y-value must be 0.
- Reading b as the x-intercept. In y = mx + b, b is the y-intercept. The x-intercept is −b/m (when m ≠ 0).
- Sign slips. In 2x − 3y = 6, setting x = 0 gives −3y = 6, so y = −2, not 2.
- Expecting two x-intercepts from every parabola. It can have two, one or none.
- Counting a hole as an intercept in a fraction like (x² − 1)/(x − 1).
- Keeping a piecewise answer outside its piece. Always check the x-range of the piece.
- Treating a rounded decimal as exact. √5 is approximately 2.236068, so the decimal is not exact. Keep the exact form if the question asks for it.
FAQs
Is an intercept a number or a point?
It depends on the question. If it asks for “the intercepts” without saying which, give points like (8, 0) and (0, 6). If it asks for “the x-intercept”, the x-value alone, 8, is the usual answer.
Are zeros, roots and x-intercepts the same thing?
For real numbers, yes. This also gives you a way to solve any equation: to solve x³ = 2x + 1, move everything to one side and find the x-intercepts of y = x³ − 2x − 1. Complex roots are the exception, since they never show up on the graph.
How do I write a line from its intercepts?
Use the intercept form x/a + y/b = 1, where a is the x-intercept and b is the y-intercept. A line with intercepts 8 and 6 is x/8 + y/6 = 1. This form does not work for lines through the origin.
Can the origin be both intercepts?
Yes. Any graph through (0, 0), such as y = 2x, has the origin as both its x-intercept and its y-intercept.
Does multiplying a function by a number change its intercepts?
Multiplying by a nonzero constant never changes the x-intercepts, since that number times zero is still zero. It does change a nonzero y-intercept, while a y-intercept of 0 stays 0. Multiplying by 0 is the exception: it flattens the whole graph onto the x-axis. y = x² − 4 and y = 3(x² − 4) both cross at −2 and 2, but their y-intercepts are −4 and −12.
Is there a shortcut for symmetric graphs?
Yes. If a graph is symmetric about the y-axis and −4 is an x-intercept, then 4 is one too. y = x² − 16 is an example.
Sources: Stewart, Redlin and Watson, Precalculus: Mathematics for Calculus, 7th ed., sections 1.9, 1.10, 3.1, 3.2 and 3.6; Sullivan, College Algebra, 9th ed., sections 2.2, 4.3, 5.1 and 5.2.
Reviewed for accuracy by Ghulam Abbas, qualified surveyor (MIGC).