X And Y Intercept: Definition Formula and Worked Examples

#X and Y Intercept
TL;DR
The x and y intercepts are where a graph crosses the two axes: set the other variable to zero to find each. Six worked examples follow, from a simple line to a draining tank.
Mythri K MΒ·reviewed byShikha SharmaLast updated on December 2, 202615 min read

Key Points

  • The x-intercept has the form (a,0)(a, 0) and the y-intercept the form (0,b)(0, b): at each axis crossing one coordinate is zero.
  • To find the x-intercept, set y=0y = 0; to find the y-intercept, set x=0x = 0.
  • For Ax+By=CAx + By = C the intercepts are (CA,0)\left(\frac{C}{A}, 0\right) and (0,CB)\left(0, \frac{C}{B}\right): the cover-up method.
  • Horizontal and vertical lines off the axes miss one axis, and a line through the origin has both intercepts at (0,0)(0, 0).
  • A curve can have several x-intercepts, but the graph of a function has at most one y-intercept.

Two Zeros That Draw a Whole Line

Ask where a line meets each axis, and two tiny sums will draw the whole line for you.

  • Take 5x+3y=155x + 3y = 15. On the x-axis yy is 00, so 5x=155x = 15 and x=3x = 3.
  • On the y-axis xx is 00, so 3y=153y = 15 and y=5y = 5.
  • Two points, (3,0)(3, 0) and (0,5)(0, 5), and the line is fixed. No table of values needed.
the x and y intercepts of 5x + 3y = 15 are (3, 0) and (0, 5)
The line 5x + 3y = 15 on a grid, crossing the x-axis at the orange point (3, 0), where y = 0, and the y-axis at the green point (0, 5), where x = 0.

What Are the X and Y Intercepts?

An intercept is a point where a graph crosses or touches one of the axes. There are two kinds.

  • The x-intercept is where the graph meets the x-axis. Its height is zero, so it is a point (a,0)(a, 0).
  • The y-intercept is where the graph meets the y-axis. It is zero units left or right, so it is a point (0,b)(0, b).
  • People say "the x-intercept is 3", but the intercept is the point (3,0)(3, 0). Writing the point removes any doubt about the axis.

The one fact that unlocks both: the x-axis is the line y=0y = 0 and the y-axis is the line x=0x = 0. For a refresher on these two reference lines, see the x and y axis.

How to Find the X and Y Intercepts

The rule is short: set the other variable to zero and solve. It works for any equation in xx and yy, not just lines.

  1. x-intercept: put y=0y = 0 into the equation and solve for xx.
  2. y-intercept: put x=0x = 0 into the equation and solve for yy.

For 5x+3y=155x + 3y = 15:

5x+3(0)=15β€…β€Šβ‡’β€…β€Šx=3β€…β€Šβ‡’β€…β€Š(3,0)5x + 3(0) = 15 \;\Rightarrow\; x = 3 \;\Rightarrow\; (3, 0)
5(0)+3y=15β€…β€Šβ‡’β€…β€Šy=5β€…β€Šβ‡’β€…β€Š(0,5)5(0) + 3y = 15 \;\Rightarrow\; y = 5 \;\Rightarrow\; (0, 5)

Why zeroing the other variable works

There are two ways to see it.

  • The x-intercept lies on the graph and on the x-axis, the line y=0y = 0. Substituting y=0y = 0 solves both equations at once.
  • Any point on the x-axis already looks like (?,0)(?, 0). Only one number is missing, and the graph's equation supplies it.
  • Swap the roles for the y-intercept: it lies on the line x=0x = 0.

The Cover-Up Method for Ax + By = C

When a line is in standard form, Ax+By=CAx + By = C, you can read the intercepts almost without writing.

  • Cover the ByBy term with a finger. What is left, Ax=CAx = C, gives x=CAx = \frac{C}{A}.
  • Cover the AxAx term. What is left, By=CBy = C, gives y=CBy = \frac{C}{B}.
  • Covering a term is the same as setting its variable to zero, so this is the rule above done in your head.
covering one term at a time gives the intercepts (6, 0) and (0, 4) of 2x + 3y = 12
The cover-up method on 2x + 3y = 12: with y = 0, 2x = 12 gives x = 6 and the point (6, 0); with x = 0, 3y = 12 gives y = 4 and the point (0, 4); the line through the two points is drawn beside the working.

The method needs AA, BB and CC all non-zero. If C=0C = 0, both intercepts are (0,0)(0, 0); if AA or BB is 00, the line is parallel to an axis.

Intercepts in Each Form of a Line

The same idea takes a different shape in each common form.

Form Equation x-intercept y-intercept
Standard Ax+By=CAx + By = C (CA,0)\left(\frac{C}{A}, 0\right) (0,CB)\left(0, \frac{C}{B}\right)
Slope-intercept y=mx+cy = mx + c (βˆ’cm,0)\left(-\frac{c}{m}, 0\right), if mβ‰ 0m \neq 0 (0,c)(0, c)
Intercept form xa+yb=1\frac{x}{a} + \frac{y}{b} = 1 (a,0)(a, 0) (0,b)(0, b)
  • In slope-intercept form the constant cc is the y-intercept, which is where the form gets its name.
  • In intercept form, aa and bb are the intercepts, read off with no work.

Intercept form and the triangle under the line

If you know both intercepts, write the line straight down as xa+yb=1\frac{x}{a} + \frac{y}{b} = 1.

  • Check it: y=0y = 0 gives x=ax = a, and x=0x = 0 gives y=by = b. Two points fix a line, so this is the line.
  • Divide a standard-form line by CC to reach this form: 5x+2y=105x + 2y = 10 becomes x2+y5=1\frac{x}{2} + \frac{y}{5} = 1.
  • The intercepts and the origin make a right triangle of area 12∣a∣∣b∣\frac{1}{2}|a||b|, here 12Γ—2Γ—5=5\frac{1}{2} \times 2 \times 5 = 5 square units. The intercept form page goes further.
the intercepts give the intercept form x/2 + y/5 = 1 and a triangle of area 5
The line x/2 + y/5 = 1, the same line as 5x + 2y = 10, crossing the axes at (2, 0) and (0, 5), with the right triangle between the line and the axes shaded yellow and labelled area 5.

When a Line Does Not Have Two Different Intercepts

Most lines cross each axis once, at two different points. Three kinds break that pattern.

  • Through the origin, such as y=2xy = 2x: both intercepts are (0,0)(0, 0). To draw it, pick a second point such as (1,2)(1, 2).
  • A horizontal line, such as y=3y = 3: setting y=0y = 0 gives 0=30 = 3, which is false, so there is no x-intercept. Its y-intercept is (0,3)(0, 3).
  • A vertical line, such as x=βˆ’2x = -2: no y-intercept; its x-intercept is (βˆ’2,0)(-2, 0).
a line through the origin has one shared intercept, and lines parallel to an axis miss that axis
Three panels. The line y = 2x passes through the origin, so both intercepts are (0, 0). The horizontal line y = 3 crosses only the y-axis, at (0, 3). The vertical line x = βˆ’2 crosses only the x-axis, at (βˆ’2, 0).

The axes are the extreme case: every point of the line y=0y = 0 is an x-intercept, because that line is the x-axis.

  1. Drag the blue handles to (βˆ’3,4)(-3, 4) and (4.5,βˆ’1)(4.5, -1). Both satisfy 2x+3y=62x + 3y = 6, so the blue line is that line.
  2. Drag the orange handles to (βˆ’5,0)(-5, 0) and (5,0)(5, 0). The orange line is now the x-axis, and the crossing reads (3,0)(3, 0).
  3. Move the orange handles to (0,βˆ’4)(0, -4) and (0,4)(0, 4). The crossing reads (0,2)(0, 2), the y-intercept.
  4. The cover-up method predicts both: 62=3\frac{6}{2} = 3 and 63=2\frac{6}{3} = 2.

Try It Yourself

The tool marks where two lines cross, and that is enough to find intercepts.

Intercepts of Curves

The rule does not care whether the graph is straight: zero the other variable and solve.

  • Setting y=0y = 0 can give several answers, so a curve can cross the x-axis several times. The parabola y=x2βˆ’2xβˆ’3y = x^2 - 2x - 3 crosses at (βˆ’1,0)(-1, 0) and (3,0)(3, 0).
  • Setting x=0x = 0 in a function gives one output, so its graph meets the y-axis at most once. Here that is (0,βˆ’3)(0, -3).
  • A circle is not a function, so it can cross the y-axis twice.
a parabola with two x-intercepts and one y-intercept
The parabola y = xΒ² βˆ’ 2x βˆ’ 3 crossing the x-axis at (βˆ’1, 0) and (3, 0) and the y-axis once at (0, βˆ’3).

The x-intercepts of a curve are also called its roots or zeros of a function: finding them means solving x2βˆ’2xβˆ’3=0x^2 - 2x - 3 = 0.

Why Intercepts Make Graphing Fast

Two points fix a straight line, and the intercepts are usually the two easiest to find. Watch for two weak spots.

  • The intercepts coincide. A line through the origin gives only (0,0)(0, 0), so find a second point.
  • The intercepts are very close. For 40x+39y=140x + 39y = 1 both sit a tiny step from the origin, and the drawn line can tilt badly. A third point further out steadies it and checks the arithmetic.

Describing a line by an equation, so "where does it cross?" becomes "what is xx when yy is 00?", goes back to RenΓ© Descartes's La GΓ©omΓ©trie (1637).

Examples of X and Y Intercepts

Six examples build from a clean line to a curve and a real situation.

Example 1

Find the x and y intercepts of 2x + y = 6.

  1. x-intercept: set y=0y = 0. Then 2x=62x = 6, so x=3x = 3.
  2. y-intercept: set x=0x = 0. Then y=6y = 6.

Final answer: (3,0)(3, 0) and (0,6)(0, 6).

Example 2

Find the y-intercept of y = 4x βˆ’ 7. Predict first.

  1. A tempting first move is to set y=0y = 0: 0=4xβˆ’70 = 4x - 7 gives x=74x = \frac{7}{4}.
  2. But (74,0)\left(\frac{7}{4}, 0\right) has a zero y-coordinate, so it sits on the x-axis. It answers a different question.
  3. For the y-intercept, set x=0x = 0: y=4(0)βˆ’7=βˆ’7y = 4(0) - 7 = -7.
  4. Faster: in y=mx+cy = mx + c, the constant βˆ’7-7 is the y-intercept.

Final answer: (0,βˆ’7)(0, -7).

Example 3

Find both intercepts of 3x βˆ’ 4y = 12.

  1. Cover the yy-term: 3x=123x = 12, so x=4x = 4.
  2. Cover the xx-term: βˆ’4y=12-4y = 12, so y=βˆ’3y = -3.
the line 3x βˆ’ 4y = 12 has x-intercept (4, 0) and a negative y-intercept (0, βˆ’3)
The line 3x βˆ’ 4y = 12 rising from the green y-intercept (0, βˆ’3) below the origin to the orange x-intercept (4, 0).

Final answer: (4,0)(4, 0) and (0,βˆ’3)(0, -3). An intercept can be negative: this line meets the y-axis below the origin.

Example 4

Find the intercepts of the curve y = xΒ² βˆ’ 2x βˆ’ 3.

  1. Set y=0y = 0: x2βˆ’2xβˆ’3=0x^2 - 2x - 3 = 0.
  2. Factor: (x+1)(xβˆ’3)=0(x + 1)(x - 3) = 0, so x=βˆ’1x = -1 or x=3x = 3.
  3. Set x=0x = 0: y=βˆ’3y = -3.

Final answer: x-intercepts (βˆ’1,0)(-1, 0) and (3,0)(3, 0); y-intercept (0,βˆ’3)(0, -3). Unlike a straight line, a curve can cross the x-axis twice.

Example 5

A line has x-intercept (2, 0) and y-intercept (0, 5). Write its equation and find the area of the triangle it cuts off with the axes.

  1. Intercept form with a=2a = 2, b=5b = 5: x2+y5=1\frac{x}{2} + \frac{y}{5} = 1.
  2. Multiply by 1010: 5x+2y=105x + 2y = 10.
  3. Area: 12Γ—2Γ—5=5\frac{1}{2} \times 2 \times 5 = 5.

Final answer: 5x+2y=105x + 2y = 10, with a triangle of 5 square units. The two intercepts also give the line by the two point form.

Example 6

A water tank holds 60 litres and drains at 4 litres per minute. Write the volume as a line and explain each intercept.

  1. Let tt be minutes and VV litres: V=60βˆ’4tV = 60 - 4t.
  2. Set t=0t = 0: V=60V = 60, the starting volume.
  3. Set V=0V = 0: 0=60βˆ’4t0 = 60 - 4t, so t=15t = 15.

Final answer: (0,60)(0, 60) is the starting volume and (15,0)(15, 0) is the moment the tank runs dry.

Why X and Y Intercepts Matter: "Where a Graph Meets the Axes Tells the Story"

On a real graph, each intercept strips away one variable, so the two answer the most natural questions: where did it start, and when does it run out?

  • Start and end points. On a value-over-time graph, the y-intercept is the purchase price and the x-intercept is when the value reaches zero. Fuel, battery charge and travel-card money read the same way.
  • Break-even. If profit is P=5nβˆ’200P = 5n - 200 for nn items, the P-intercept, βˆ’200-200, is the fixed cost. The n-intercept, n=40n = 40, is the break-even point.
  • Budget lines. With 12 dollars for pens at 2 dollars and notebooks at 3 dollars, 2x+3y=122x + 3y = 12. The intercepts (6,0)(6, 0) and (0,4)(0, 4) are the all-pens and all-notebooks extremes.
  • Motion. On a position-time line, the y-intercept is the starting position and the x-intercept is when the object reaches the reference point.
the intercepts of a budget line are the all-of-one-item choices
A budget line for 12 dollars with pens at 2 dollars and notebooks at 3 dollars: the line 2x + 3y = 12 runs from (0, 4), all notebooks, to (6, 0), all pens, through the mix (3, 2).

One caution: an intercept of a model is a real fact only if the situation keeps behaving like a line all the way to that axis.

Common Mistakes With X and Y Intercepts

These errors come up the moment a problem asks for one specific intercept.

Mistake 1: Setting the wrong variable to zero

Where it slips in: The question asks for the y-intercept, and "set it to zero" gets applied to yy.

Don't do this: Solve y=4xβˆ’7y = 4x - 7 with y=0y = 0 and report (74,0)\left(\frac{7}{4}, 0\right) as the y-intercept.

The correct way: Say where the point lives. The y-intercept is on the y-axis, where x=0x = 0, so set x=0x = 0. The rusher who zeroes the matching variable lands on the wrong axis.

Mistake 2: Writing an intercept as a bare number

Where it slips in: Two intercepts are found, and the answer reads "3 and 5".

Don't do this: Leave two loose numbers that could be read either way round.

The correct way: Write points: (3,0)(3, 0) and (0,5)(0, 5). The zero in each pair shows which axis it is on.

Mistake 3: Assuming every line has two different intercepts

Where it slips in: Asked for both intercepts of y=4y = 4, or of y=2xy = 2x.

Don't do this: Invent an x-intercept for y=4y = 4 (it is parallel to the x-axis), or draw y=2xy = 2x through (0,0)(0, 0) alone.

The correct way: Check first for a line parallel to an axis or through the origin. The student who memorised "every line has two intercepts" stalls here.

Conclusion

  • The x-intercept (a,0)(a, 0) is where a graph meets the x-axis; the y-intercept (0,b)(0, b) is where it meets the y-axis.
  • Zero the other variable and solve, because the x-axis is y=0y = 0 and the y-axis is x=0x = 0.
  • Intercepts are points, not bare numbers, and a graph can have several x-intercepts or none.
  • On applied graphs, intercepts carry the key readings: the starting value and the zero point.

Practice and Next Steps

Practice these problems to solidify your understanding.

  1. Find both intercepts of 4x+5y=204x + 5y = 20.
  2. Find the y-intercept of y=βˆ’2x+9y = -2x + 9 in one step.
  3. Find every intercept of y=x2βˆ’16y = x^2 - 16.

Answer to Question 1: (5,0)(5, 0) and (0,4)(0, 4). Plot them and check with a third point, (10,βˆ’4)(10, -4).

Answer to Question 2: (0,9)(0, 9).

Answer to Question 3: (βˆ’4,0)(-4, 0), (4,0)(4, 0) and (0,βˆ’16)(0, -16). If an answer landed on the wrong axis, revisit Mistake 1.

To work through more of these with a teacher, explore Bhanzu's geometry tutor, high school math tutor or math classes online.

Want a live Bhanzu trainer to walk your child through reading intercepts off a real graph? Book a free demo class.

Read More

Research Behind This Article

  1. OpenStax, Elementary Algebra 2e, Section 4.3: Graph with Intercepts (finding and using the x- and y-intercepts). openstax.org
  2. OpenStax, College Algebra 2e, Section 4.1: Linear Functions (intercepts of linear functions, and horizontal and vertical lines). openstax.org
  3. OpenStax, College Algebra 2e, Section 5.1: Quadratic Functions (the x- and y-intercepts of a parabola). openstax.org
  4. MacTutor History of Mathematics, University of St Andrews: RenΓ© Descartes. mathshistory.st-andrews.ac.uk

Quick Quiz: Check Yourself

Three levels, questions with figures, instant feedback with the reason.

Was this article helpful?

Your feedback helps us write better content

Frequently Asked Questions

How do you find the x and y intercepts of an equation?
Set y=0y = 0 and solve for xx to get the x-intercept. Set x=0x = 0 and solve for yy to get the y-intercept. Write each answer as a point.
Can the x and y intercepts be the same point?
Yes, but only at the origin. A line such as y=2xy = 2x passes through (0,0)(0, 0), so both intercepts are that one point.
Can a line have no x-intercept?
Yes. A horizontal line such as y=4y = 4 never meets the x-axis.
Is the y-intercept the constant in y = mx + c?
Yes. Setting x=0x = 0 leaves y=cy = c, so the line crosses the y-axis at (0,c)(0, c).
Can a graph have more than one x-intercept?
Yes. A straight line crosses the x-axis at most once, but a parabola can cross it twice, touch it once, or miss it entirely.
✍️ Written By
Mythri K M
Mythri K M
Subject Matter Expert
Mythri K M is a mathematics educator and curriculum designer with a Master's degree in Mathematics and over 10 years of teaching experience. She has taught and written on topics ranging from Algebra, Geometry and Trigonometry to Calculus, Number Theory and mathematical reasoning, with a particular interest in how children develop mathematical thinking. As a teacher and parent, she believes learning works best when it is curious and joyful rather than stressful, and she shares ideas and activities that help students build confidence and support parents along the way.
πŸ”¬ Reviewed By
Shikha Sharma
Subject Matter Expert
Book a FREE Demo ClassBook Now β†’