X Intercept: Definition Formula and How to Find It

#X Intercept
TL;DR
The x intercept is where a graph meets the x-axis, so you find it by setting y = 0. For y=mx+by = mx + b it is x=−bmx = -\frac{b}{m}. Six worked examples follow.
Mythri K M·reviewed byMadhukar VLast updated on December 2, 202613 min read

Key Points

  • The x intercept is a point (a,0)(a, 0): every point on the x-axis has height 00.
  • To find it, set y=0y = 0 and solve for xx. Every solution is an x intercept.
  • A slanted line y=mx+by = mx + b has one, at x=−bmx = -\frac{b}{m}; a horizontal line off the axis has none.
  • A parabola has two, one or none, and the discriminant b2−4acb^2 - 4ac says which.

The Moment a Projectile Hits the Ground

Throw a ball in the air and the spot where its graph meets the ground is its x intercept.

  • Graph height against distance: the arc rises, falls and meets the horizontal axis where the height is zero.
  • The same moment appears for a phone at 90%90\% charge losing 15%15\% an hour. Its line B=90−15tB = 90 - 15t reaches zero when t=6t = 6 hours.
the x intercept of B = 90 − 15t is (6, 0), the moment the battery is flat
A battery line falling from (0, 90) to the orange x intercept (6, 0), labelled flat battery, for a phone at 90 percent losing a steady 15 percent an hour.

Once you see the x intercept is where y=0y = 0, finding it is always the same move.

What Is the X Intercept?

The x intercept of a graph is a point where the graph crosses, or touches, the x-axis. Every point on that axis has y=0y = 0, so an x intercept always looks like (a,0)(a, 0).

  • People often call the number aa "the x intercept"; the point is still (a,0)(a, 0).
  • A slanted straight line crosses once; a horizontal line off the axis never does.
  • A parabola can cross twice, touch once, or miss altogether.

Its partner is the y intercept, where the graph meets the vertical axis; the page on x and y intercepts covers both together.

How to Find the X Intercept: the Universal Method

One rule works for every equation: set y=0y = 0 and solve for xx.

  1. Replace yy with 00.
  2. Simplify.
  3. Solve for xx. Each solution aa gives an x intercept (a,0)(a, 0); no solution means no x intercept.

For y=2x−8y = 2x - 8: 0=2x−80 = 2x - 8, so x=4x = 4 and the x intercept is (4,0)(4, 0).

Why setting y = 0 works

The x-axis is itself a line, with equation y=0y = 0.

  • The x intercept lies on the graph and on that line at once, so it satisfies both equations.
  • Substituting y=0y = 0 into the graph's equation is exactly how you solve that pair.
the x intercept is where the line meets the x-axis, the line y = 0
The x-axis drawn in orange and labelled as the line y = 0, with several points on it, and the blue line y = 2x − 8 crossing it at the x intercept (4, 0).

The X Intercept in Different Equation Forms

The same "set y=0y = 0" move takes a familiar shape in each form.

For y=mx+by = mx + b with slope m≠0m \neq 0:

0=mx+b  ⇒  x=−bm0 = mx + b \;\Rightarrow\; x = -\frac{b}{m}

The graph shows why. From (0,b)(0, b) the line must drop by bb, which at slope mm takes bm\frac{b}{m} steps; a line rising to the right goes left to come down, hence the minus sign.

a slope triangle shows why the x intercept of y = mx + b is −b ÷ m
The line y = (1/2)x + 2 with a shaded right triangle between (−4, 0), the origin and (0, 2): the rise b = 2 at slope 1/2 needs a run of b ÷ m = 4, so the x intercept is (−4, 0).
Form Equation x intercept
Slope-intercept y=mx+by = mx + b (−bm,0)\left(-\frac{b}{m}, 0\right)
Standard Ax+By=CAx + By = C (CA,0)\left(\frac{C}{A}, 0\right)
Point-slope y−y1=m(x−x1)y - y_1 = m(x - x_1) (x1−y1m,0)\left(x_1 - \frac{y_1}{m}, 0\right)
Quadratic y=ax2+bx+cy = ax^2 + bx + c solve ax2+bx+c=0ax^2 + bx + c = 0
Any function y=f(x)y = f(x) solve f(x)=0f(x) = 0

When the slope is zero, and nearly zero

The formula divides by mm, so it fails when m=0m = 0.

  • A line with slope 00 is horizontal, y=by = b. If b≠0b \neq 0, setting y=0y = 0 gives 0=b0 = b, which is false: no x intercept.
  • If b=0b = 0 the line is the x-axis itself, and every point is an x intercept.
  • For y=mx+2y = mx + 2, slopes 11, 12\frac{1}{2} and 14\frac{1}{4} give x intercepts −2-2, −4-4 and −8-8. Halve the slope and the crossing moves twice as far away.
as the slope shrinks the x intercept moves further away, and a flat line has none
Lines y = mx + 2 for m = 1, 1/2 and 1/4 crossing the x-axis at (−2, 0), (−4, 0) and (−8, 0), and the dashed flat line y = 2 for m = 0 that never crosses.
  1. Drag the orange handles to (−5,0)(-5, 0) and (5,0)(5, 0): the orange line lies along the x-axis.
  2. Drag the blue handles to (0,−4)(0, -4) and (3,2)(3, 2), the line y=2x−4y = 2x - 4. The crossing reads (2,0)(2, 0).
  3. Move the blue handle at (3,2)(3, 2) to (3,−1)(3, -1). The slope drops to 11 and the crossing slides to (4,0)(4, 0).
  4. Move it to (3,−4)(3, -4): the line goes flat, with no x intercept.

Try It Yourself

Use one tool line as the x-axis and watch the crossing.

The X Intercept of a Parabola

For a parabola y=ax2+bx+cy = ax^2 + bx + c, setting y=0y = 0 gives the quadratic equation ax2+bx+c=0ax^2 + bx + c = 0.

A quadratic can have two real solutions, one or none, and the discriminant D=b2−4acD = b^2 - 4ac decides which:

Discriminant x intercepts Picture
D>0D > 0 two crosses the axis twice
D=0D = 0 one the vertex just touches the axis
D<0D < 0 none stays on one side
a parabola has two, one or no x intercepts depending on its discriminant
Three parabolas. y = x² − 5x + 6 has discriminant 1 and crosses the x-axis at 2 and 3; y = x² − 4x + 4 has discriminant 0 and touches it at 2; y = x² − 4x + 5 has discriminant −4 and stays above it.

The quadratic formula, x=−b±D2ax = \frac{-b \pm \sqrt{D}}{2a}, explains the table.

  • A positive DD has a square root, and the ±\pm gives two answers.
  • When D=0D = 0, both answers are the same point.
  • A negative DD has no real square root, so there is no crossing. Factor when you can; use the formula when you cannot. More on the discriminant.

X Intercepts, Zeros and Roots

The x intercepts of y=f(x)y = f(x) are the values that make f(x)=0f(x) = 0, so they have two more names: the zeros of the function and the roots of the equation.

  • To solve x2−5x+6=0x^2 - 5x + 6 = 0, graph y=x2−5x+6y = x^2 - 5x + 6 and read the crossings: 22 and 33.
  • When an equation is too hard, test points. For y=x2−2y = x^2 - 2, y=−1y = -1 at x=1x = 1 and y=2y = 2 at x=2x = 2, so an unbroken graph must cross between them.
  • Test the middle, x=1.5x = 1.5: y=0.25y = 0.25. Keep halving the gap to close in on 2≈1.414\sqrt{2} \approx 1.414, as computers do.

For more, see zeros of a function.

Examples of the X Intercept

Six examples, from a one-line solve to a parabola with no crossing.

Example 1

Find the x intercept of y = 2x − 8.

  1. Set y=0y = 0: 0=2x−80 = 2x - 8.
  2. 2x=82x = 8, so x=4x = 4.

Final answer: (4,0)(4, 0).

Example 2

Find the x intercept of y = 3x + 6. Predict first.

  1. A tempting shortcut is to read the constant and answer 66.
  2. Test it: at x=6x = 6, y=24y = 24, not 00. The 66 is the y intercept, (0,6)(0, 6).
  3. Set y=0y = 0: 3x=−63x = -6, so x=−2x = -2. Check: 3(−2)+6=03(-2) + 6 = 0.
the constant 6 in y = 3x + 6 is the y intercept, and the x intercept is (−2, 0)
The line y = 3x + 6 crossing the y-axis at (0, 6), the y intercept, and the x-axis at the orange x intercept (−2, 0), with a grey point (6, 0) marked as not on the line.

Final answer: (−2,0)(-2, 0).

Example 3

Find the x intercept of 4x + 5y = 20.

  1. Set y=0y = 0: 4x=204x = 20.
  2. x=5x = 5.

Final answer: (5,0)(5, 0).

Example 4

Find the x intercepts of y = x² − 5x + 6.

  1. Set y=0y = 0 and factor: (x−2)(x−3)=0(x - 2)(x - 3) = 0.
  2. So x=2x = 2 or x=3x = 3.
  3. Check: D=25−24=1>0D = 25 - 24 = 1 > 0, two crossings.

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

Example 5

Does y = 7 have an x intercept?

  1. Set y=0y = 0: the equation becomes 0=70 = 7, false for every xx.
  2. The horizontal line sits 7 units above the axis.

Final answer: no x intercept.

Example 6

Find the x intercepts of y = x² − 4x + 5.

  1. Set y=0y = 0: x2−4x+5=0x^2 - 4x + 5 = 0 does not factor nicely.
  2. D=(−4)2−4(1)(5)=16−20=−4D = (-4)^2 - 4(1)(5) = 16 - 20 = -4, negative.
  3. The parabola's lowest point is (2,1)(2, 1), above the axis.

Final answer: no real x intercepts.

Why the X Intercept Matters Beyond the Graph

The x intercept answers "when does this reach zero?", often the most important point on the graph.

  • Break-even. A stall makes 4 dollars per item but has 120 dollars of fixed costs: P=4n−120P = 4n - 120. The x intercept, n=30n = 30, is break-even.
  • Running out. Fuel or charge falling at a steady rate runs out at the x intercept.
  • Landing. On a height-time graph, the x intercept after launch is when a ball hits the ground.
  • Solving equations. Any equation rearranges to f(x)=0f(x) = 0, so solving it means finding x intercepts.
the break-even point of a profit line is its x intercept
A profit line P = 4n − 120 starting at (0, −120), the fixed costs, and crossing the horizontal axis at the break-even point (30, 0), with loss below the axis and profit above.

Real batteries do not drain in a perfect line, so a model's x intercept is a prediction, not a promise.

Where Students Trip Up on the X Intercept

Mistake 1: Setting the wrong variable to zero

Where it slips in: The question says "x intercept", and the xx in the name gets set to zero.

Don't do this: Put x=0x = 0 into y=2x−8y = 2x - 8 and report −8-8.

The correct way: On the x-axis the height is zero, so set y=0y = 0. Setting x=0x = 0 finds the y intercept.

Mistake 2: Reading the constant as the x intercept

Where it slips in: The line is y=mx+by = mx + b, and bb looks like "the intercept".

Don't do this: Answer 66 for y=3x+6y = 3x + 6.

The correct way: bb is the y intercept. Solve 0=mx+b0 = mx + b to get −bm-\frac{b}{m}, here −2-2. Students fresh from learning that bb is the y intercept reach for it again.

Mistake 3: Forcing an x intercept onto a graph that has none

Where it slips in: A horizontal line, or a parabola above the axis.

Don't do this: Invent a solution when 0=70 = 7 or x2=−1x^2 = -1.

The correct way: A false statement or a negative discriminant means the graph never meets the x-axis. "No x intercept" is a complete answer.

Key Takeaways

  • The x intercept is where a graph meets the x-axis, a point (a,0)(a, 0), found by setting y=0y = 0.
  • For y=mx+by = mx + b it is −bm-\frac{b}{m}; a horizontal line off the axis has none.
  • A parabola has two, one or no x intercepts by the sign of b2−4acb^2 - 4ac.
  • x intercepts are the zeros of a function.

Practice These Problems to Solidify Your Understanding

  1. Find the x intercept of y=5x−15y = 5x - 15.
  2. Find the x intercept of 2x−3y=122x - 3y = 12.
  3. Find the x intercepts of y=x2+x−6y = x^2 + x - 6, then sketch it.

Answer to Question 1: (3,0)(3, 0). If you got −15-15, see Mistake 2.

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

Answer to Question 3: (−3,0)(-3, 0) and (2,0)(2, 0).

To practise intercepts with a teacher, explore Bhanzu's algebra tutor or math classes online.

Want a live Bhanzu trainer to walk your child through intercepts and graphing? Book a free demo class.

Read More

Research Behind This Article

  1. OpenStax, Elementary Algebra 2e, Section 4.3: Graph with Intercepts (finding the x-intercept by setting y = 0). openstax.org
  2. OpenStax, College Algebra 2e, Section 4.1: Linear Functions (finding the x-intercept of a line by setting the function to zero). openstax.org
  3. OpenStax, College Algebra 2e, Section 5.1: Quadratic Functions (the x-intercepts of a parabola are the zeros of the quadratic function). openstax.org
  4. OpenStax, College Algebra 2e, Section 2.5: Quadratic Equations (the discriminant tells how many real solutions there are). openstax.org
  5. OpenStax, Calculus Volume 1, Section 2.4: Continuity (the Intermediate Value Theorem: an unbroken graph that changes sign must cross zero). openstax.org

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

What is the x intercept formula for a line?
For y=mx+by = mx + b with m≠0m \neq 0, it is x=−bmx = -\frac{b}{m}. For Ax+By=CAx + By = C with A≠0A \neq 0, it is x=CAx = \frac{C}{A}.
How is the x intercept different from the y intercept?
The x intercept is where a graph crosses the x-axis (set y=0y = 0); the y intercept is where it crosses the y-axis (set x=0x = 0).
Is the x intercept the same as a root or a zero?
Yes, for the graph of a function. The x intercepts of y=f(x)y = f(x) are the solutions of f(x)=0f(x) = 0.
Can a graph have more than one x intercept?
Yes. A parabola can have two and y=sin⁡xy = \sin x has infinitely many; a line that is not the x-axis has at most one.
✍️ 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
Madhukar V
Math Columnist & Analyst
Book a FREE Demo ClassBook Now →