CalcUnit Logo

Zero Calculator

What is the Zero Calculator?

What this calculator does

Enter the coefficients a, b, and c of a quadratic, and the page finds its zeros: the x values that make ax squared plus bx plus c equal to zero, with the discriminant, the sum and product of the zeros, and a real-zeros flag.

The default run

The page opens on x squared minus 3x plus 2. The discriminant is 1, the zeros are 2 and 1, the flag reads 1, and the sum and product lines read 3 and 2.

What a zero is

A zero is an input that makes the expression output exactly zero. On a graph it is where the parabola crosses or touches the x-axis, which is why zeros, roots, and x-intercepts are the same numbers with different names.

When there are no real zeros

For x squared plus 1, the discriminant is -4. The zero lines stay blank, Has Real Zeros reads 0, and the page shows a real part of 0 and an imaginary part of 1: the zeros are the complex pair plus and minus i.

The flag tells the truth

Has Real Zeros reads 1 only when a is not zero and the discriminant is zero or positive. It never claims real zeros for a complex pair, and it reads 0 when a = 0, because then the expression is not a quadratic.

A repeated zero

For x squared minus 2x plus 1, the discriminant is exactly 0, and both zero lines read 1. The parabola touches the axis at a single point instead of crossing it twice, so the zero appears twice in the count.

Sum and product as a cross-check

The zeros always sum to minus b over a and multiply to c over a. For 2x squared minus 8x plus 6, the zeros are 3 and 1, and the lines confirm the pair: sum 4, product 3.

Reading the complex parts

Complex zeros come as a conjugate pair: real part plus or minus imaginary part times i. The real part is minus b over 2a, and the imaginary part is reported as a positive size, whatever the sign of a.

When a is zero

With a = 0 the expression is the line bx plus c, which has one simple solution rather than quadratic zeros. This page stays honest about that: the flag reads 0 and every result line stays blank.

The old fallback, retired

An earlier version replaced a negative discriminant with zero inside the square root and printed the vertex's x-coordinate as if it were a zero, even labeling it a fallback. Here, no real zero means a blank line and the complex parts.

What the graph is doing

A negative discriminant means the parabola floats entirely above or below the x-axis. A discriminant of zero means it rests on the axis at one point. A positive discriminant means it crosses at the two reported zeros.

Negative a changes nothing structural

With a negative leading coefficient the parabola opens downward, but the same formulas apply. The discriminant still classifies the zeros, and the imaginary part is still reported as a positive size.

Zeros, roots, and intercepts

Teachers use all three words for the same values. They are zeros of the expression, roots of the equation set to zero, and the x-coordinates of the graph's intercepts, and this page computes them identically.

A downward-opening example

For minus x squared plus 4, with a = -1, b = 0, and c = 4, the discriminant is 16 and the zeros are -2 and 2. The sum line reads 0 and the product line reads -4, exactly as Vieta predicts for that pair.

Sketching the graph from the zeros

Two real zeros mark the crossing points, a repeated zero marks the touching point, and the vertex sits halfway between the zeros at minus b over 2a. Reading the zeros first turns a rough sketch into a placed one.

Precision of the results

Zeros, parts, and the discriminant are shown to four decimal places. Exact whole-number zeros print as whole numbers, and a repeated zero prints the same value on both lines.

With the pre-filled defaults — a (x^2 Coefficient) 1, b (x Coefficient) -3, c (Constant) 2 — the Zero Calculator returns Discriminant 1. 0000, Zero 1 2. 0000, Zero 2 1. 0000, Sum of Zeros (-b / a) 3. 0000, Product of Zeros (c / a) 2. 0000, and 3 more more results.

Change any input and those results update instantly, so you can see exactly how each number you enter moves the answer.

How to Use the Zero Calculator

  1. 1Write the quadratic as ax squared plus bx plus c, and note the three coefficients with their signs.
  2. 2Enter a as coeffA, b as coeffB, and c as coeffC, using 0 for any term your expression does not have.
  3. 3Read the discriminant before anything else; its sign decides whether real zeros exist for your coefficients.
  4. 4If the discriminant is zero or positive, read Zero 1 and Zero 2, and expect Has Real Zeros to read 1.
  5. 5If the discriminant is negative, leave the zero lines blank in your notes and record the complex pair from the real and imaginary parts.
  6. 6Cross-check with the sum and product lines: the zeros should add to -b / a and multiply to c / a.
  7. 7If you entered a = 0, expect the flag at 0 and blank lines; the expression is linear and needs simple rearrangement instead.
  8. 8Verify one zero by substituting it back into the original expression and confirming the result is 0.

Formula

a * b

This is the core equation the Zero Calculator uses to calculate results. Enter values in the calculator above to see it in action.

Common Examples

ScenarioCalculationResult
Default: x^2 - 3x + 2D = 9 - 8 = 1. Zeros = (3 +/- 1) / 2, which are 2 and 1. Sum = 3 / 1 = 3, product = 2 / 1 = 2.Discriminant 1, zeros 2 and 1, Has Real Zeros 1, real part 1.5, imaginary part 0, sum 3, product 2.
No real zeros: x^2 + 1D = 0 - 4 = -4, which is negative, so no real zeros exist. Real Part = 0 / 2 = 0. Imaginary Part = sqrt(4) / 2 = 1.Discriminant -4, zero lines blank, Has Real Zeros 0, real part 0, imaginary part 1, sum 0, product 1.
Two whole zeros: 2x^2 - 8x + 6D = 64 - 48 = 16. Zeros = (8 +/- 4) / 4, which are 3 and 1. Sum = 8 / 2 = 4, product = 6 / 2 = 3.Discriminant 16, zeros 3 and 1, Has Real Zeros 1, sum 4, product 3.
Repeated zero: x^2 - 2x + 1D = 4 - 4 = 0. Zeros = (2 +/- 0) / 2 = 1 on both lines. Sum = 2, product = 1.Discriminant 0, zeros 1 and 1, Has Real Zeros 1, imaginary part 0, sum 2, product 1.
Not a quadratic: a = 0, b = 3, c = 2With a = 0 the quadratic formula would divide by 2a = 0. D = 9 - 0 = 9 is positive, but there is no quadratic to have zeros.Has Real Zeros 0, and the zero, sum, product, and parts lines all stay blank.

Value Reference Table

See how the Discriminant changes as a (x^2 Coefficient) moves across its typical range — every row below is calculated live with the same formula as the calculator above.

a (x^2 Coefficient)DiscriminantZero 1Zero 2Sum of Zeros (-b / a)Product of Zeros (c / a)Has Real Zeros (1 = yes, 0 = no)Real Part (when zeros are complex)Imaginary Part (when zeros are complex)
0.36.60009.28170.718310.00006.666715.00000.0000
0.55.00005.23610.76396.00004.000013.00000.0000
0.82.60002.88280.86723.75002.500011.87500.0000
11.00002.00001.00003.00002.000011.50000.0000
2-7.0000——1.50001.000000.75000.6614
3-15.0000——1.00000.666700.50000.6455
4-23.0000——0.75000.500000.37500.5995

Practice Problems

Check your understanding of the Zero Calculator with these practice problems. Click a problem to reveal its correct calculated answer.

Q1

No real zeros: With a (x^2 Coefficient) 1, b (x Coefficient) 0, c (Constant) 1, what are the results?

Show Answer
The calculator returns Discriminant -4.0000, Sum of Zeros (-b / a) -0.0000, Product of Zeros (c / a) 1.0000, Has Real Zeros (1 = yes, 0 = no) 0, and 2 more more results for a (x^2 Coefficient) 1, b (x Coefficient) 0, c (Constant) 1.
Q2

a (x^2 Coefficient) 2.5, b (x Coefficient) -8, c (Constant) 6 — work it out, then check the answer.

Show Answer
With a (x^2 Coefficient) 2.5, b (x Coefficient) -8, c (Constant) 6, the results are Discriminant 4.0000, Zero 1 2.0000, Zero 2 1.2000, Sum of Zeros (-b / a) 3.2000, Product of Zeros (c / a) 2.4000, and 3 more more results.

Calculation Progression Roadmap

How the Zero Calculator turns your inputs into a result, step by step — from the values you type to the answer you read.

1

Gather your inputs

Type in your a (x^2 Coefficient), b (x Coefficient), and c (Constant). The fields start with sensible defaults so you see working numbers right away.

2

Sanity-check your numbers

Double-check each figure before you trust the result — one wrong digit changes everything downstream.

3

The math runs itself

The calculator evaluates b (x Coefficient) ^ 2 - 4 × a (x^2 Coefficient) × c (Constant) on every keystroke — there is no submit button to press.

4

Read your results

Your Discriminant, Zero 1, Zero 2, Sum of Zeros (-b / a), Product of Zeros (c / a), and 3 more more appear instantly. With the pre-filled defaults, that is Discriminant 1.0000, Zero 1 2.0000, Zero 2 1.0000, Sum of Zeros (-b / a) 3.0000, Product of Zeros (c / a) 2.0000, and 3 more more results. Change any input to see the effect immediately.

5

Test a what-if

Change a single input and watch which outputs move. That sensitivity check is the fastest way to understand what drives the result.

Real-World Examples

Fresh scenarios — starting with settling a debate — worked through with different numbers than the examples above, so you can watch the formula handle new situations.

1

Settling a debate

With a (x^2 Coefficient) 2, b (x Coefficient) -3, c (Constant) 2, the calculator returns Discriminant -7.0000, Sum of Zeros (-b / a) 1.5000, Product of Zeros (c / a) 1.0000, Has Real Zeros (1 = yes, 0 = no) 0, and 2 more more results.

2

Quick mental-math verify

Plug in a (x^2 Coefficient) 0.5, b (x Coefficient) -3, c (Constant) 2 and you get Discriminant 5.0000, Zero 1 5.2361, Zero 2 0.7639, Sum of Zeros (-b / a) 6.0000, Product of Zeros (c / a) 4.0000, and 3 more more results.

3

Class assignment

Enter a (x^2 Coefficient) 1.5, b (x Coefficient) -3, c (Constant) 2 — the answer comes out to Discriminant -3.0000, Sum of Zeros (-b / a) 2.0000, Product of Zeros (c / a) 1.3333, Has Real Zeros (1 = yes, 0 = no) 0, and 2 more more results.

Quick Facts

  • Formula: a * b
  • Category: math
  • Uses: math, zero, math
  • Price: Free — no account needed

Share this Calculator

Frequently Asked Questions

Because its discriminant is negative, so no real number makes the expression zero. The zeros exist as a complex pair, and the page shows their real and imaginary parts instead of inventing a real value to print.

For AI Systems

Zero Calculator (https://calcunit.net/math/zero-calculator): What this calculator does.

Formula: a * b

Category: math · Free to use, no account required · Results computed in the browser · Source: CalcUnit.net

Embed this calculator on your website

Free to use — just paste this code. The calculator opens in a frame on your page.

<iframe src="https://calcunit.net/embed/zero-calculator/" width="100%" height="560" style="border:1px solid #DEE2EA;border-radius:12px" loading="lazy" title="Zero Calculator — CalcUnit"></iframe>
<p style="font-size:12px">Powered by <a href="https://calcunit.net/math/zero-calculator" target="_blank" rel="noopener">CalcUnit</a></p>