Maths Calculators

Quadratic Equation Calculator

Solve quadratic equations in the form ax² + bx + c = 0, calculate the discriminant and find real or complex roots with this free online calculator.

Bluehost

Quadratic Equation Calculator

Enter the coefficients for ax² + bx + c = 0. The calculator will calculate the discriminant and solve the equation.

ax² + bx + c = 0
Must not be zero for a quadratic equation.

Quick examples

Result

F-Secure

What Is a Quadratic Equation?

A quadratic equation is a polynomial equation containing a variable raised to the second power. The standard form of a quadratic equation is ax² + bx + c = 0, where a, b and c are constants and a is not equal to zero.

This quadratic equation calculator uses the quadratic formula to solve equations in standard form. Enter the three coefficients and the calculator determines the discriminant, identifies the type of roots and provides the solution.

Why Use the Quadratic Equation Calculator?

The calculator provides a quick way to solve quadratic equations and check calculations without manually performing each stage of the quadratic formula.

1

Solve Quadratic Equations

Enter a, b and c to solve equations in the standard form ax² + bx + c = 0.

2

Calculate the Discriminant

Automatically calculate b² − 4ac and use it to determine the nature of the roots.

3

Find Real Roots

Calculate two distinct real roots or a repeated real root when the discriminant is non-negative.

4

Identify Complex Roots

When the discriminant is negative, the calculator displays the two complex roots.

5

Show Calculation Steps

View the standard form, discriminant and quadratic formula substitution used to obtain the result.

6

Free to Use

Use the calculator directly in your browser without installing mathematical software or creating an account.

How to Use the Quadratic Equation Calculator

Convert your equation into the standard form ax² + bx + c = 0, enter its coefficients and calculate the roots.

  1. Enter coefficient a — Enter the number multiplying x². This value must not be zero for a quadratic equation.
  2. Enter coefficient b — Enter the number multiplying x.
  3. Enter coefficient c — Enter the constant term.
  4. Select Solve Equation — The calculator calculates the discriminant and displays the roots and calculation details.

How to Solve a Quadratic Equation Using the Quadratic Formula

The quadratic formula provides a general method for solving equations written as ax² + bx + c = 0. The formula is x = (−b ± √(b² − 4ac)) / 2a. The values of a, b and c are the coefficients from the equation.

The expression inside the square root, b² − 4ac, is called the discriminant. Its value determines whether the equation has two distinct real roots, one repeated real root or two complex roots.

Understanding the Discriminant

If the discriminant is greater than zero, the equation has two distinct real roots. If it equals zero, the equation has one repeated real root. If the discriminant is less than zero, the equation has two complex conjugate roots and no real roots.

Example of a Quadratic Equation

Consider x² − 5x + 6 = 0. Here, a = 1, b = −5 and c = 6. The discriminant is (−5)² − 4(1)(6), which equals 1. Applying the quadratic formula gives x = 3 and x = 2.

Quadratic Equation Calculator Results

The calculator reports the discriminant and the corresponding roots. A positive discriminant produces two distinct real solutions, a zero discriminant produces one repeated real solution, and a negative discriminant produces two complex solutions.

If coefficient a is zero, the equation is no longer quadratic. In that situation, the calculator treats the equation as a linear equation when possible. If both a and b are zero, the result depends on the value of c: c = 0 produces infinitely many solutions, while a non-zero c produces no solution.

James William Steven Parker, creator of YesTools
Created by

James William Steven Parker

Creator & Developer of YesTools

James William Steven Parker is a web developer and technology professional with extensive experience in web development, web design, SEO, web hosting, systems analysis and cybersecurity. He created YesTools to provide fast, practical and free online tools for everyday tasks and technical work.

Learn more about James and YesTools

Frequently Asked Questions

A quadratic equation is an equation that can be written in the standard form ax² + bx + c = 0, where a, b and c are constants and a is not zero. The highest power of the variable is two.
Enter the coefficients a, b and c for ax² + bx + c = 0. The calculator uses the quadratic formula to calculate the discriminant and determine the equation's roots.
The discriminant is b² − 4ac. It determines the number and type of roots. A positive discriminant gives two distinct real roots, zero gives one repeated real root, and a negative discriminant gives two complex roots.
A positive discriminant means the quadratic equation has two distinct real roots. The calculator displays both values.
A discriminant of zero means the quadratic equation has one repeated real root. The root is −b divided by 2a.
Yes. The YesTools Quadratic Equation Calculator is free to use online and does not require an account or software installation.

Explore More Free Tools

Explore the YesTools collection of free online tools, calculators, converters, generators and utilities.

Browse All Categories
hide.me VPN