Quadratic Formula Calculator
Solve ax² + bx + c = 0 with the quadratic formula: exact roots, discriminant, vertex, graph and steps.
Type an algebra problem below to solve it with free, numbered steps, or pick the calculator for your problem type. Answers are exact where possible, such as , with decimals alongside.
Solve ax² + bx + c = 0 with the quadratic formula: exact roots, discriminant, vertex, graph and steps.
Factor a polynomial completely, with each step labeled by method and a check by expanding.
Slope from two points, an equation or rise and run, as a fraction, angle and percent grade, with steps.
Solve linear systems in 2 to 4 unknowns with exact row operations, a graph and a check.
Linear, compound, absolute-value, quadratic and rational inequalities solved step by step.
Exact and complex roots of ax³ + bx² + cx + d = 0 with the discriminant, steps and a root check.
All real and complex roots of a polynomial up to degree 10, with multiplicities, exact forms and steps.
Solve any equation in x: exact steps for linear and quadratic equations, numerical roots for the rest.
Midpoint of two points in 2D or 3D, with steps, distance, a graph and the missing-endpoint solver.
Complex arithmetic, powers and roots with steps, in rectangular, polar and exponential form.
Polar ↔ rectangular (Cartesian) conversion with steps, quadrant reasoning, exact values and exponential form.
The box above solves any single problem. Each dedicated calculator adds what one box cannot, such as a graph, a sign chart or every row operation. Each example below opens the math solver with that problem already solved.
| Problem type | Example (opens solved) | Calculator |
|---|---|---|
| Linear equation in one variable | 3x + 5 = 20 | Math solver |
| Quadratic equation | x² − 5x + 6 = 0 | Quadratic formula calculator |
| Cubic equation | x³ − 6x² + 11x − 6 = 0 | Cubic equation calculator |
| Polynomial of degree 4 to 10 | x⁴ − 5x² + 4 = 0 | Polynomial root finder |
| System of 2 to 4 linear equations | 2x + 3y = 7, x − y = 1 | System of equations calculator |
| Polynomial or rational inequality | x² − 5x + 6 < 0 | Inequality calculator |
| Equation with no algebraic formula | cos x = x | Equation solver |
| Slope of a line through two points | slope of (1, 2) and (3, 4) | Slope calculator |
| Factor a polynomial | factor x² − 5x + 6 | Factoring calculator |
| Simplify an expression | simplify (x² − 1)/(x − 1) | Math solver |
| Expand brackets | expand (x + 1)² | Math solver |
| Midpoint of two points | (−2, 7) and (6, −3) → (2, 2) | Midpoint calculator |
| Complex number arithmetic | (3 + 2i)(1 − i) | Complex number calculator |
| Rectangular to polar form | 1 + i = √2 ∠ 45° | Polar to rectangular calculator |
These rules say which rearrangements leave an expression or equation unchanged. When people list the five basic rules of algebra, they usually mean the commutative and associative rules for addition and multiplication, plus the distributive rule.
| Rule | What it says | Example |
|---|---|---|
| Commutative | Order does not matter when adding or multiplying: and | |
| Associative | Grouping does not matter when adding or multiplying: | |
| Distributive | Multiplying a sum multiplies each term: | |
| Identity | Adding 0 or multiplying by 1 changes nothing: and | |
| Inverse | Adding the opposite gives 0, and multiplying by the reciprocal gives 1 (for ) | |
| Equality | Doing the same thing to both sides of an equation keeps it true | , so |
Algebra uses letters, called variables, to stand for unknown numbers. Solving a problem means finding the values that make a statement true, using steps that keep both sides of an equation equal. Each type of problem has a standard method.
Linear equations
Do the same operation to both sides until the variable stands alone: undo addition and subtraction first, then multiplication and division.
Quadratic equations
Factor if the numbers allow it. Otherwise use the quadratic formula , which always works.
Systems of equations
Use substitution or elimination to remove one variable at a time until a single equation in one unknown is left.
Inequalities
Solve the matching equation, then test one point in each interval between its roots to see where the inequality holds.
Start by naming the problem type, then open the matching calculator from the table above. Each one shows its working, so you can compare it with your own line by line. Step-by-step guides cover quadratic equations, systems of two equations and quadratic inequalities.
Subtract 5 from both sides
This moves the constant to the right: .
Divide both sides by 3
This leaves alone: .
Check the answer
Substitute it back: , which is true.
Read off the coefficients
, and .
Find the discriminant
. It is positive, so there are two real roots.
Apply the quadratic formula
, which gives or .
Check by factoring
, so both roots are correct.
Solve the matching equation
From the example above, has roots and .
Split the number line
The roots make three intervals: , and .
Test one point in each interval
gives 6 (positive), gives (negative) and gives 2 (positive).
Keep the negative interval
The inequality is strict, so the endpoints 2 and 3 are not included.
Where an exact answer exists, these solvers give it: gives rather than only 2.4142 and −0.4142. Decimal values are shown alongside so you can check against a handheld calculator.
Complex results are handled too. The polynomial root finder returns every root, real or complex, and the complex number calculator works in rectangular and polar form.
All of these calculators are free, need no account and run in your browser, and every step is shown with nothing locked. Results are checked against reference values by automated tests; the methodology page describes how.
Yes. Every calculator here is free, needs no account and shows the full steps right away, with nothing locked. Each step names the rule or method it uses.
Linear, quadratic and cubic equations, polynomials up to degree 10, systems of 2 to 4 linear equations, polynomial and rational inequalities, and equations such as cos x = x that need a numerical method. The math solver also factors, expands and simplifies expressions. It reads typed math only, not photos or word problems.
Yes, for linear systems. The system of equations calculator solves 2 to 4 equations by Gauss–Jordan elimination with exact fractions, lists every row operation and says whether there is one solution, none or infinitely many.
Use ^ for powers, as in x^2, and leave out the multiplication sign if you like, as in 3x or 2(x + 1). Separate the equations of a system with commas. To factor, expand or simplify, start with that word, for example "factor x^2 - 5x + 6".
The equation has no solution among the real numbers, but it may have complex solutions. Quadratic and polynomial solvers list complex roots in the form a + bi when they exist.
Partly. Many scientific calculators have an equation mode that solves set types, such as quadratics or small linear systems, and gives only the answers. Simplifying or factoring expressions with letters, or showing steps, needs a calculator with a computer algebra system (CAS) or software such as these free calculators. For number work on screen, use the scientific calculator.
Exact formulas where they exist (the quadratic formula, the rational root theorem, Gaussian elimination with fractions) and proven numerical methods otherwise. Each calculator page names its method in the Formula section.