Horizontal Intercept Calculator: Find X-Intercepts
The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.
A horizontal intercept calculator finds the x-intercept(s) of a function or equation — the point(s) where the graph crosses the x-axis, meaning y = 0. You enter the equation or its coefficients, and the calculator returns the x-value(s) where the function equals zero, often along with the corresponding point(s) (x, 0).
Formula
For a quadratic equation in standard form:
ax² + bx + c = 0
The x-intercepts are found using the quadratic formula:
x = (−b ± √(b² − 4ac)) / (2a)
- a – coefficient of x² (must be non‑zero)
- b – coefficient of x
- c – constant term
- The expression b² − 4ac is called the discriminant (Δ)
If Δ > 0, there are two distinct real x-intercepts. If Δ = 0, there is exactly one real intercept (the vertex touches the x-axis). If Δ < 0, there are no real x-intercepts (the graph does not cross the x-axis).
Worked Example
Using the calculator defaults: a = 1, b = −2, c = −3.
First, compute the discriminant:
Δ = (−2)² − 4(1)(−3) = 4 + 12 = 16
Since Δ > 0, two real intercepts exist. Now apply the quadratic formula:
x� = (−(−2) + √16) / (2·1) = (2 + 4) / 2 = 3
x₂ = (−(−2) − √16) / (2·1) = (2 − 4) / 2 = −1
So the x-intercepts are at (3, 0) and (−1, 0). The calculator shows x� = 3.00 and x₂ = −1.00, matching the manual calculation.
When to Use This Calculator
You need a horizontal intercept calculator when you are solving for the roots of a quadratic equation, which are the same as the x-intercepts of the parabola. Common situations include:
- Solving quadratic equations in algebra homework
- Finding where a projectile (modeled by a parabola) hits the ground
- Determining break-even points in simple business models (where profit = 0)
- Checking if a quadratic has real solutions before graphing
For linear equations (y = mx + b), the x-intercept is simply −b/m, but this calculator handles the more general quadratic case.
How to Read the Results
The first output (x�) is the larger root when the discriminant is positive. The second (x₂) is the smaller root. If the discriminant is zero, both outputs will be identical — that is the single point where the parabola touches the x-axis. If the discriminant is negative, the calculator will show “NaN� or an error because you cannot take the square root of a negative number in real arithmetic; that means no real x-intercepts.
Always remember that the x-intercept is a point on the graph, so you should write your answer as (x, 0), not just the x-value.
Common Mistakes and How to Avoid Them
- Forgetting the negative sign on b: The formula uses −b, not b. With b = −2, −b = 2.
- Incorrect sign of c: If your equation is x² − 2x − 3 = 0, then c = −3, not 3. Double-check the constant term’s sign.
- Dividing by 2a, not just 2: The denominator is 2 times the coefficient a. For a = 1, that is 2; but for a = 2, it is 4.
- Mixing up the order of operations: Compute the discriminant first, then the square root, then the addition/subtraction, then divide.
- Assuming every quadratic has real intercepts: If the discriminant is negative, the graph never touches the x-axis. The calculator will not give a real number.
Limits of the Formula
This calculator only works for quadratic equations (degree 2). Higher-degree polynomials (cubic, quartic, etc.) require different methods — often numerical approximation. Also, the quadratic formula assumes a ≠ 0; if a = 0, the equation is linear and the formula fails (division by zero).
For equations that are not in standard form, rearrange them to ax² + bx + c = 0 first. For example, 2x² = 8 becomes 2x² − 8 = 0, so a = 2, b = 0, c = −8.
Frequently Asked Questions
What is the difference between x-intercept and horizontal intercept?
They are the same thing. The x-axis is horizontal, so the x-intercept is also called the horizontal intercept. It is the point where the graph crosses the horizontal axis, always with a y-coordinate of zero.
How do I find the horizontal intercept of a linear equation?
For y = mx + b, set y = 0 and solve for x: 0 = mx + b → x = −b/m. For example, y = 2x − 4 gives x = 4/2 = 2, so the intercept is (2, 0).
What if the discriminant is negative?
That means the quadratic has no real x-intercepts. The parabola does not cross the x-axis; it either lies entirely above or below it. The calculator will not display a real number, and you should interpret that as “no real solution.�
Can this calculator handle equations like 3x² + 5x = 2?
Yes, but you must first rearrange to standard form: 3x² + 5x − 2 = 0. Then a = 3, b = 5, c = −2. Enter those values and the calculator will give the intercepts.
Why does the calculator show two answers when the graph only crosses once?
When the discriminant is exactly zero, both formulas give the same number. That is the single point where the parabola touches the x-axis (a double root). For example, x² − 4x + 4 = 0 has one intercept at (2, 0).
Does the horizontal intercept always exist?
No. If the quadratic opens upward and its vertex is above the x-axis, or opens downward with vertex below the x-axis, the graph never touches the x-axis. This corresponds to a negative discriminant.
Related
Formula used
in a | Coefficient a | - | 1 | 0 in b | Coefficient b | - | -2 | 0 in c | Coefficient c | - | -3 | 0 out x1 | First x-intercept | - | (-b + sqrt(b^2 - 4*a*c)) / (2*a) | 2 out x2 | Second x-intercept | - | (-b - sqrt(b^2 - 4*a*c)) / (2*a) | 2 out disc | Discriminant (b² - 4ac) | - | b^2 - 4*a*c | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.