X X-Intercept Calculator

Find the x-intercept of a line in slope-intercept form.

No ratings yet — be the first

Enter details

Line y = mx + b
x = -b/m
y =x +— findxwherey = 0
  • Slope m
  • Y-Intercept b

Log in or create a free account to save your inputs and results, so you don't have to enter them again next time.🔒 No spam, ever. We never sell or share your details, and you can delete your history or account at any time. Privacy policy

Fill in the details and click Calculate to see your results.

Formula at a glance

X-Intercept formula: x = -b/m
How the x-intercept works: x = -b/m

Rate this calculator

Was it useful? A quick star rating helps others — and you can leave a comment too.
Rate it: ★ ★ ★ ★ ★

📘 About the X

The x-intercept is where a line crosses the x-axis, so y = 0 there. From y = mx + b, setting y = 0 gives x = −b ÷ m.

A horizontal line (m = 0) never crosses the x-axis unless it is the x-axis itself.

🧮 Formula

X-intercept
x = -b/m

Where

  • m = slope
  • b = y-intercept
x-intercept = -b/m.

✏️ Worked examples

y = 2x + 6

You enter
Slope m2
Y-Intercept b6
You get
X-Intercept-3

x-intercept -3.

y = −0.5x + 3

You enter
Slope m-0.5
Y-Intercept b3
You get
X-Intercept6

x-intercept 6.

🧭 How to use this calculator

What you enter

  • Slope m
  • Y-Intercept b

What you get

  • X-Intercept

💡 Common uses

  • Coordinate geometry homework and revision
  • Analytic geometry calculations
  • Checking graph and line calculations

❓ Frequently asked questions

How do you find the x-intercept?

Set y = 0 and solve for x: x = −b ÷ m.

What if the slope is zero?

There is no x-intercept (unless b = 0).