Browse All Calculators

Quadratic Calculator

Free quadratic calculator to solve ax² + bx + c = 0. Get real or complex roots, the discriminant, vertex, factored form, a graph and step-by-step working.

100% Free
No Sign-up
Instant Results
Works on Mobile

Quadratic Calculator

3x² + 5x − 2 = 0
a = 3
b = 5
c = -2
Other forms
  • Factored form: (3x − 1)(x + 2)
  • Vertex form: 3(x + 5/6)² − 49/12
Parabola details
  • Opens upward (a is positive), so the vertex is the minimum point.
  • Vertex: (−5/6, −49/12), about (−0.8333, −4.0833).
  • Axis of symmetry: x = −5/6.
  • y-intercept: (0, −2).
  • x-intercepts: (1/3, 0) and (−2, 0).
ParabolaRootsVertex
Two real roots
x = 1/3, −2
ComplexRepeatedReal
Root x₁
0.3333
Root x₂
−2
Discriminant (D)
49
Vertex
(−0.8333, −4.0833)
Exact answer
x = 1/3 or x = −2
Check your answer
  • x = 1/3: 3 × (1/9) + 5 × (1/3) + (−2) = 0.
  • x = −2: 3 × 4 + 5 × (−2) + (−2) = 0.
  • Sum of roots: −b/a = −5/3. Product of roots: c/a = −2/3.
Step-by-step working
  1. Write the equation in standard form: 3x² + 5x − 2 = 0, so a = 3, b = 5 and c = −2.
  2. Find the discriminant: D = b² − 4ac = 5² − 4 × 3 × (−2) = 49.
  3. D is positive, so there are two real roots. Apply the quadratic formula: x = (−b ± √D) ÷ 2a.
  4. x₁ = 1/3 and x₂ = −2.
Quick note
The discriminant is a perfect square, so both roots are rational and the quadratic factors neatly. Put either root back into the equation to confirm it gives zero.
Quadratic Calculator - solve quadratic equations and find the roots online on HighCalc

Quadratic Calculator: Solve Quadratic Equations and Find the Roots

This free quadratic calculator solves any equation of the form ax² + bx + c = 0. Type in the three coefficients, or drag the sliders, and you get the roots, the discriminant, the vertex, the factored form and a graph of the parabola. It handles real roots, repeated roots and complex roots, and it shows the full working so you can follow every step.

Quick answer: for 3x² + 5x − 2 = 0 the discriminant is 5² − 4 × 3 × (−2) = 49, so x = (−5 ± 7) ÷ 6. The two roots are x = 1/3 and x = −2.

What Is a Quadratic Equation?

A quadratic equation is a polynomial equation of degree two, written as ax² + bx + c = 0 with a not equal to zero. Its graph is a U-shaped curve called a parabola. The roots, also called solutions or zeros, are the x-values where the curve crosses the x-axis. Quadratics appear in physics for projectile motion, in business for profit and revenue models, and in geometry whenever an area is involved.

The Quadratic Formula and the Discriminant

The quadratic formula gives both roots at once. The part under the square root, b² − 4ac, is the discriminant, and its sign tells you what to expect before you finish the calculation.

Quadratic formulax = (−b ± √(b² − 4ac)) ÷ 2a

If D is positive there are two real roots, if D is zero there is one repeated root, and if D is negative the roots are complex numbers. The table shows one example of each kind.

EquationDiscriminant DRoots
x² − 5x + 6 = 01x = 2 and x = 3
x² − 4x + 4 = 00x = 2 (repeated root)
3x² + 5x − 2 = 049x = 1/3 and x = −2
2x² + 3x − 1 = 017x = (−3 ± √17)/4, about 0.2808 and −1.7808
x² + 2x + 5 = 0−16−1 + 2i and −1 − 2i (complex)

Vertex, Axis of Symmetry and Factored Form

Every parabola has a turning point called the vertex. Its x-coordinate is −b ÷ 2a, and the vertical line through it is the axis of symmetry. For 3x² + 5x − 2 the vertex is at (−5/6, −49/12), the lowest point of the curve because a is positive. When the roots are rational, the calculator also writes the equation in factored form, here (3x − 1)(x + 2), and always gives the vertex form a(x − h)² + k, which is useful for completing the square.

Check Your Answer with the Sum and Product of Roots

The roots of a quadratic always add up to −b/a and multiply to c/a. For the example above, 1/3 + (−2) = −5/3 and 1/3 × (−2) = −2/3, which match. The calculator shows this check on every result, along with a direct substitution when the roots are rational. If your equation has two unknowns instead, try the linear equations calculator.

Who Uses a Quadratic Calculator?

Students use it to check homework and to see how a result is reached, teachers use it to build examples, and engineers, designers and analysts use it when a model has a squared term. For decimals or trigonometry alongside your algebra, the scientific calculator is a good partner, and the fraction calculator helps when you want to simplify an exact answer by hand.

How to Use This Quadratic Calculator

1

Write the equation in standard form

Move everything to one side so it reads ax² + bx + c = 0.

2

Enter a, b and c

Type each value or drag its slider. Use a minus sign for negative numbers and 0 when a term is missing.

3

Check the equation preview

The equation is shown above the boxes as you type, so you can see it is entered correctly.

4

Read the roots and the working

The roots, discriminant, vertex, graph, check and steps update as soon as you change a number.

Features

Instant Results
The roots update the moment you change a value
Real and Complex Roots
Exact answers plus decimals, for every kind of equation
Sliders and Number Boxes
Type a value or drag a slider for a, b and c
Live Parabola Graph
See the curve, its roots and its vertex
Step-by-Step Working
Follow the discriminant and formula line by line
Mobile Friendly
Works smoothly on phones, tablets and desktops
Frequently Asked Questions
Common questions about the Quadratic Calculator.
How do I solve a quadratic equation?
Write it in the form ax² + bx + c = 0, enter a, b and c, and the calculator applies the quadratic formula x = (−b ± √(b² − 4ac)) ÷ 2a. For example, 3x² + 5x − 2 = 0 has a discriminant of 49, so x = (−5 ± 7) ÷ 6, which gives x = 1/3 and x = −2. The page also shows the working line by line.
What does the discriminant tell me?
The discriminant D = b² − 4ac shows what kind of roots you will get without solving the whole equation. If D is positive there are two different real roots, if D is zero there is one repeated root, and if D is negative the roots are a pair of complex numbers and the parabola never crosses the x-axis.
What are complex roots?
When the discriminant is negative, the square root in the formula is of a negative number, so the roots include the imaginary unit i. They always come as a conjugate pair, such as −1 + 2i and −1 − 2i for x² + 2x + 5 = 0. The calculator writes them in exact form and as decimals.
Can the value of a be zero?
If a is zero the x² term disappears and the equation is no longer quadratic, so it becomes the linear equation bx + c = 0. The calculator still gives you the answer, x = −c ÷ b, and tells you that it treated the equation as linear.
How do I find the vertex and axis of symmetry?
The x-coordinate of the vertex is −b ÷ 2a, and that same line is the axis of symmetry. Put it back into the equation to get the y-coordinate. For 3x² + 5x − 2 the vertex is (−5/6, −49/12), which is the lowest point because the parabola opens upward.
How can I check that my roots are correct?
Substitute each root into the original equation and you should get zero. You can also use the sum and product of the roots: they equal −b/a and c/a. For 3x² + 5x − 2 the roots 1/3 and −2 add up to −5/3 and multiply to −2/3, matching both formulas. The calculator shows this check for you.