ThisCalculator

Everyday

Vertex and x intercept calculator

Updated · Standard formula, shown below

Vertex x (h) 2.00
Vertex y (k)
-9.00
Result
Discriminant (b²-4ac)
36
Result
x-intercepts
5.00
Result

Vertex and x intercept calculator

This calculator finds the vertex (turning point) and the x-intercepts (roots or zeros) of a quadratic equation in standard form, ax² + bx + c = 0. You enter the coefficients a, b, and c, and it returns the vertex coordinates (h, k) and the x-intercepts as real numbers when they exist. It also shows the discriminant so you can tell at a glance whether the parabola crosses the x-axis, touches it once, or never touches it.

Formula

For a quadratic in standard form y = ax² + bx + c (with a ≠ 0):

  • Vertex x-coordinate: h = −b / (2a)
  • Vertex y-coordinate: k = a·h² + b·h + c (or k = (4ac − b²)/(4a))
  • Discriminant: D = b² − 4ac
  • x-intercepts: x = (−b ± √D) / (2a)

All variables are real numbers. The coefficients a, b, c are the same ones you read from the equation. The vertex is the point where the parabola changes direction; the x-intercepts are the points where the graph crosses the x-axis (y = 0).

Worked Example

Using the default values from the calculator: a = 1, b = −4, c = −5.

  1. Vertex x: h = −(−4) / (2·1) = 4 / 2 = 2
  2. Vertex y: k = 1·(2)² + (−4)·2 + (−5) = 4 − 8 − 5 = −9
  3. Discriminant: D = (−4)² − 4·1·(−5) = 16 + 20 = 36
  4. x-intercepts: x = (4 ± √36) / 2 = (4 ± 6) / 2 → x = 5 and x = −1

The vertex is (2, −9) and the x-intercepts are (5, 0) and (−1, 0). The parabola opens upward because a = 1 is positive.

When to Use This Calculator

You would use this tool whenever you have a quadratic equation and need to sketch its graph, find its maximum or minimum value, or solve for the roots. Typical situations include:

  • Solving a quadratic equation that cannot be factored easily.
  • Finding the maximum height of a projectile (the vertex y-value) and the time it lands (the positive x-intercept).
  • Determining the break-even points in a simple profit or cost model that is quadratic.
  • Checking your hand-written work on a test or homework.

The vertex tells you the parabola’s highest or lowest point. The x-intercepts tell you where the function equals zero. Together they give you a good skeleton for graphing.

How to Read the Results

The vertex (h, k) is the turning point. If a is positive, the parabola opens upward and k is the minimum y-value. If a is negative, it opens downward and k is the maximum y-value.

The x-intercepts are the solutions to ax² + bx + c = 0. The discriminant tells you how many real x-intercepts exist:

  • D > 0: two distinct real x-intercepts (the parabola crosses the x-axis twice).
  • D = 0: exactly one x-intercept (the vertex sits on the x-axis).
  • D < 0: no real x-intercepts (the parabola never touches the x-axis; the roots are complex numbers).

When D is negative, the calculator’s x-intercept output will show an error or “NaN� because the square root of a negative number is not real. That is the correct outcome – there are no x-intercepts on the real plane.

Common Mistakes and Unit Mix-ups

The most frequent error is entering the wrong sign for b or c. For example, in the equation x² − 4x − 5 = 0, b is −4, not 4. If you type b = 4, you get the vertex at (−2, −9) and intercepts at x = 5 and x = −1, but the parabola is actually the mirror image of the correct one.

Another common mistake is forgetting that a cannot be zero. If a = 0, the equation is linear, not quadratic, and the vertex formula divides by zero.

Rounding can also cause trouble. If you round the vertex x-coordinate too early, the y-coordinate will be slightly off. Keep at least four decimal places during intermediate steps, then round the final answer to two decimals as the calculator does.

Finally, remember that the x-intercepts are points, so they should be written as (x�, 0) and (x₂, 0). Many students write just the x-values and forget the y-coordinate is zero.

Limits of the Formula

This calculator works only for quadratic polynomials (degree 2). It will not handle cubic or higher-degree equations. It also only gives real x-intercepts; if the discriminant is negative, the roots are complex numbers (they involve the imaginary unit i), which this calculator does not display.

The vertex formula is exact for any quadratic, but the x-intercepts are only real when D ≥ 0. For graphing, you also need to know the y-intercept, which is simply c (the constant term), because when x = 0, y = c. That is not shown in the calculator but is easy to add manually.

If you have a quadratic in vertex form, y = a(x − h)² + k, you can expand it to standard form to use this calculator, or use a dedicated vertex-form calculator. Similarly, if you have factored form, y = a(x − r�)(x − r₂), the roots are already visible.

Frequently Asked Questions

What if the discriminant is negative?

If b² − 4ac is negative, the quadratic has no real x-intercepts. The parabola does not cross the x-axis at all. The vertex still exists and is either entirely above or entirely below the x-axis. The roots are complex numbers, which are not plotted on a standard real-coordinate graph.

Can I use this calculator for a quadratic in vertex form?

Not directly. Vertex form is y = a(x − h)² + k. You would first expand it to standard form: y = ax² − 2ahx + (ah² + k). Then enter the resulting a, b, and c. For example, y = 2(x − 3)² + 1 expands to 2x² − 12x + 19, so a = 2, b = −12, c = 19.

What is the difference between roots, x-intercepts, and zeros?

They are the same thing. The x-intercepts are the points where the graph crosses the x-axis. The zeros are the x-values that make the function equal to zero. The roots are the solutions to the equation ax² + bx + c = 0. All three refer to the same numbers.

How do I find the vertex without a calculator?

Use the formula h = −b/(2a) to get the x-coordinate, then plug that value back into the original equation to get k. For example, for y = x² − 4x − 5, h = 4/2 = 2, and k = 2² − 4·2 − 5 = −9. This is exactly what the calculator does.

Why does my graphing calculator show an error for the x-intercepts?

If the discriminant is negative, the square root is not a real number, so most calculators show an error or a non-real result. That is mathematically correct – there are no real x-intercepts. You can still graph the parabola; it just sits entirely above or below the x-axis.

Can the vertex be one of the x-intercepts?

Yes. This happens when the discriminant is exactly zero. The parabola touches the x-axis at exactly one point, which is the vertex. For example, y = x² − 2x + 1 has vertex (1, 0) and only one x-intercept at x = 1.

Related

Formula used
in a | a (x² coefficient) | - | 1 | -100
in b | b (x coefficient) | - | -4 | -100
in c | c (constant term) | - | -5 | -100
out h | Vertex x (h) | - | -b/(2*a) | 2
out k | Vertex y (k) | - | a*h*h + b*h + c | 2
out disc | Discriminant (b²-4ac) | - | b*b - 4*a*c | 0
out x_int | x-intercepts | - | ( -b + sqrt(b*b-4*a*c) )/(2*a) | 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.