Quadratic Formula Calculator

Quadratic Formula Calculator

Solve quadratic equations ax² + bx + c = 0 for real & complex roots, discriminant, and parabola vertex.

Quadratic Solution
Root x₁
3
Root x₂
2
Discriminant (Δ = b² - 4ac)
1

At a Glance

Category
Algebra
Best For
Algebra students and anyone solving a quadratic equation or checking factoring
Privacy
100% in your browser: nothing you enter is uploaded
Time Required
A few seconds
Cost
Free
Updated
November 2026

Quick Overview

What This Tool Does

Solves any quadratic equation of the form ax² + bx + c = 0 by applying the quadratic formula, and shows the discriminant that decides what kind of roots the equation has.

Who Should Use It

Students in algebra and precalculus, teachers preparing examples, and anyone who needs the roots of a parabola, for example when modeling projectile motion or break-even points.

When to Use It

When an equation does not factor easily, when you want to confirm a factoring result, or when the roots may be irrational or complex.

Why It Is Useful

The formula is easy to mis-key by hand, especially the signs. The calculator shows the discriminant as well, so you learn whether the roots are real and distinct, repeated or complex before reading them.

Key Features & Capabilities

Both roots at once

Returns x₁ and x₂ using the quadratic formula.

Discriminant shown

The value b² − 4ac tells you what kind of roots to expect.

Handles non-factorable equations

Works when the roots are irrational or complex, where factoring fails.

Private

Calculated in your browser.

How to Use This Tool

1

Write the equation in standard form

Rearrange it as ax² + bx + c = 0, with everything on the left and zero on the right. Tip: Keep the signs: x² − 5x + 6 = 0 has a = 1, b = −5 and c = 6.

2

Enter the coefficients

Type a (the number in front of x²), b (the number in front of x) and c (the constant). Tip: If a term is missing, its coefficient is 0. The coefficient a must not be 0, or the equation is not quadratic.

3

Read the roots and the discriminant

Root x₁ and Root x₂ are the solutions. The discriminant b² − 4ac shows whether they are real (positive), repeated (zero) or complex (negative). Tip: Substitute a root back into the equation: the result should be zero.

4

Interpret the solution

For a parabola, the roots are where it crosses the x-axis. Tip: In a word problem, check which root makes sense, for example a negative time is usually rejected.

Worked Real-World Example

Solving x² − 5x + 6 = 0

A student wants the roots of x² − 5x + 6 = 0 and wants to check the answer against factoring.

Sample Inputs
Coefficient a (x²)1
Coefficient b (x)−5
Constant c6
Rootsx = 3 and x = 2 (discriminant 1)
Calculation Breakdown
Discriminant: (−5)² − 4 × 1 × 6 = 25 − 24 = D = 1
Square root of the discriminant: √1 = 1
First root: (5 + 1) ÷ 2 = x₁ = 3
Second root: (5 − 1) ÷ 2 = x₂ = 2
The positive discriminant means two distinct real roots. Factoring confirms it: x² − 5x + 6 = (x − 2)(x − 3). The parabola crosses the x-axis at 2 and 3, and its lowest point is at x = 2.5.

How It Works (Math & Calculation Logic)

The calculator computes the discriminant D = b² − 4ac. If D is positive there are two distinct real roots, x = (−b ± √D) ÷ 2a. If D is zero there is one repeated real root, x = −b ÷ 2a. If D is negative there are two complex conjugate roots, x = (−b ± i√|D|) ÷ 2a. The coefficient a must be non-zero.

Formula / Algorithmx = (−b ± √(b² − 4ac)) ÷ (2a) D = b² − 4ac
Variable & Logic Definitions
aQuadratic coefficient - Number multiplying x²; cannot be 0
bLinear coefficient - Number multiplying x
cConstant - The term without x

How to Interpret Your Results

Typical Benchmarks

A positive discriminant gives two different real roots, zero gives one repeated real root, and a negative discriminant gives two complex roots (no x-axis crossing).

Evaluating Your Output

A perfect-square discriminant (such as 1, 4 or 9 for whole-number coefficients) means the roots are rational and the equation factors neatly. Other positive values give irrational roots.

Recommended Next Action

Always substitute each root back into the original equation to confirm it gives zero, and in a word problem reject roots that do not make sense in context.

Frequently Asked Questions

What is the quadratic formula?
For ax² + bx + c = 0 the solutions are x = (−b ± √(b² − 4ac)) ÷ 2a. The ± gives the two roots.
What does the discriminant tell me?
The discriminant b² − 4ac decides the type of roots: positive means two distinct real roots, zero means one repeated real root, negative means two complex roots.
What if a equals 0?
Then the equation is linear, not quadratic, and the formula does not apply. Solve bx + c = 0 for x = −c ÷ b instead.
How do I put an equation in standard form?
Move all terms to one side so the other side is zero, then order them as ax² + bx + c. For 2x² = 3x + 5, subtract 3x + 5 from both sides: 2x² − 3x − 5 = 0, so a = 2, b = −3, c = −5.
Can I check my answer?
Yes. Substitute each root into ax² + bx + c; the result should be zero. For x = 3 in x² − 5x + 6: 9 − 15 + 6 = 0.

Complementary QuickForma Utilities

Mathematics & Statistics

Linear Equation Solver

Solve 1-variable linear equations of the form ax + b = c for x with step-by-step verification.

Open Tool
Mathematics & Statistics

Distance & Midpoint Calculator

Calculate Euclidean distance, midpoint coordinates, and line slope between two 2D points.

Open Tool
Mathematics & Statistics

Sequence & Series Calculator

Calculate n-th terms and sum of n terms for Arithmetic and Geometric mathematical sequences.

Open Tool
Mathematics & Statistics

Pythagorean Theorem Calculator

Solve right triangle side lengths using a^2 + b^2 = c^2 along with area and perimeter.

Open Tool
Mathematics & Statistics

Triangle Area & Solver

Calculate triangle area from base and height using Area = 0.5 * b * h.

Open Tool
Mathematics & Statistics

Circle & Geometry Calculator

Calculate diameter, circumference, and area of a circle from radius.

Open Tool
Mathematics & Statistics

2D & 3D Geometry Calculator

Calculate 3D volume and total surface area for spheres, cylinders, cubes, and cones.

Open Tool
Mathematics & Statistics

Polynomial Factoring & Synthetic Division Solver

Solves polynomial roots, synthetic division, and factors quadratic/cubic expressions.

Open Tool
Mathematics & Statistics

3x3 Systems of Linear Equations Solver

Solves 2-variable and 3-variable systems of linear equations using Cramer's Rule / Gaussian elimination.

Open Tool
Mathematics & Statistics

Line Slope, Y-Intercept & Equation Solver

Solves line slope m = (y₂-y₁)/(x₂-x₁), point-slope form, and slope-intercept equation y=mx+b.

Open Tool