How to Use the Quadratic Formula Calculator: Steps and a Worked Example

By 1 min read

Solve ax² + bx + c = 0 with real or complex roots, the discriminant and the vertex. This guide shows what to enter, a worked example with real numbers, and the limits to keep in mind. The Quadratic Formula Calculator tool is free, needs no account and runs in your browser.

What you need

  • a (x² coefficient), for example 1
  • b (x coefficient), for example -3
  • c (constant), for example 2

Step by step

  1. Open the Quadratic Formula Calculator tool.
  2. Fill in a (x² coefficient).
  3. Fill in b (x coefficient).
  4. Fill in c (constant).
  5. Read the result, which updates as soon as the inputs change.

Worked example

With these inputs:

  • a (x² coefficient): 1
  • b (x coefficient): -3
  • c (constant): 2

the tool returns:

Discriminant: 1
Two real roots:
x₁ = 2
x₂ = 1
Vertex: (1.5, -0.25)

A second example

Changing a (x² coefficient) 1 to 2 gives:

Discriminant: -7
Two complex roots:
x = 0.75 ± 0.66143783i
Vertex: (0.75, 0.875)

Comparing two runs like this is a quick way to see how much each input moves the result.

How it works

The calculation is: x = (−b ± √(b² − 4ac)) ÷ 2a. Everything runs in your browser, so nothing you type is uploaded.

Things to keep in mind

Computed in your browser with standard double-precision arithmetic unless the page says otherwise. Very large or very small values may be rounded.

If this is not quite what you need, try Square Root Calculator, Exponent Calculator or Factorial Calculator.

More from the blog