Skip to content

Equation Solver

Calculators•Client-Side & Private

Solve linear, quadratic and cubic equations and systems of 2 or 3 equations — with the discriminant, complex roots and step-by-step working shown.

Tool workspace

Sample: x² − 5x + 6 = 0 → x = 2, 3

Solution

  • x₁ = 3
  • x₂ = 2

Steps

  1. a = 1, b = -5, c = 6
  2. Discriminant Δ = b² − 4ac = -5² − 4·1·6 = 1
  3. √Δ = 1
  4. x = (−b ± √Δ) / 2a = (5 ± 1) / 2
  5. Check: 1·3² + -5·3 + 6 ≈ 0.

Limits: cubics with a rational root are solved exactly; without one, real roots are numeric (bisection) and complex roots are not shown. Systems need a unique solution — singular systems are reported, not solved. Coefficients are decimals; very large values may lose precision.

Loading tool controls…

Calculations processed locally — numerical inputs never leave your browser
Free Instant Private

Verify it yourself: press F12, open the Network tab, and use this tool — your inputs never leave your browser.

Equation Solver at a glance

Price
Free
Account
Not required
File uploads
None — your files are never uploaded
Category
Calculators

Who uses Calculators?

Students, homeowners and small businesses working out money, health or study figures — from mortgages to BMI.

How to Use Equation Solver

Follow these simple steps to get instant results in your browser.

1

Pick the Type

Choose linear, quadratic, cubic, or a system of 2 or 3 equations.

2

Enter the Coefficients

Type the coefficients — for a system, one equation per row.

3

Read the Solution and Steps

Check the roots, the discriminant where shown, and the step-by-step working.

💡

What is Equation Solver & How Does It Work?

Equation Solver solves linear equations (ax + b = 0), quadratics (ax² + bx + c = 0), cubics (ax³ + bx² + cx + d = 0) and systems of 2 or 3 linear equations, with the step-by-step working shown for every type. Quadratics show the discriminant and, when it is negative, the two complex conjugate roots in a ± bi form instead of an error.

Cubics are solved exactly when they have a rational root: the rational-root test finds it, the cubic is factored, and the remaining quadratic is solved. Without a rational root, real roots are found numerically by bisection and labelled as numeric — the complex roots are not shown in that case, and the page says so.

Systems are solved by Gaussian elimination with back-substitution. A singular system — one with no unique solution — is reported honestly instead of producing a meaningless answer.

⚡

Key Features & Capabilities

✓

Four Equation Types

Linear, quadratic, cubic and systems of 2 or 3 equations in one tool.

✓

Complex Roots Shown

A negative discriminant gives a ± bi roots, not an error.

✓

Exact Cubics Where Possible

Rational-root test plus factoring; numeric bisection otherwise, labelled as such.

✓

Gaussian Elimination

Systems solved step by step, with singular systems reported honestly.

✓

Discriminant Explained

Δ = b² − 4ac shown, with what its sign means for the roots.

Pro Tips

  • •Bookmark this tool for instant one-click access anytime.
  • •Adjust values using direct input or sliders for instantaneous recalculation.
  • •All processing happens in your browser session for maximum speed and data safety.

🎯 Common Use Cases

Algebra HomeworkCheck quadratic and cubic answers with the discriminant and factoring shown.
Finding Where Curves CrossSolve the equation you get by setting two expressions equal.
Simultaneous EquationsSolve two or three equations together, for example to find an intersection point.
Solving a Three-Equation SystemEnter the sample system (x + y + z = 6, x − y + z = 2, 2x + y − z = 1) and check the solution x = 1, y = 2, z = 3 against your elimination working.
📐

Equation Solver - Quadratic Formula and Discriminant

Formula Equation:
Quadratic: x = (−b ± √(b² − 4ac)) ÷ 2a; discriminant Δ = b² − 4ac; linear: x = −b/a

The discriminant decides the roots: Δ > 0 gives two different real roots, Δ = 0 gives one repeated root, and Δ < 0 gives two complex conjugate roots. A cubic with a rational root r factors as (x − r) times a quadratic. A system is solved by eliminating variables one column at a time, then substituting back.

✏️

Worked Example

  1. 1x² − 5x + 6 = 0
  2. 2a = 1, b = −5, c = 6; Δ = (−5)² − 4·1·6 = 25 − 24 = 1
  3. 3x = (5 ± √1) ÷ 2 = (5 ± 1) ÷ 2 → x = 3 and x = 2
  4. 4Check: 2² − 5·2 + 6 = 0 and 3² − 5·3 + 6 = 0
📚

Sources & Further Reading

Frequently Asked Questions about Equation Solver

Frequently asked questions

x = 2 and x = 3. The discriminant is 25 − 24 = 1, so x = (5 ± 1) ÷ 2. The calculator shows the discriminant and the quadratic formula working.

There are no real roots — the two roots are complex conjugates. For x² + 1 = 0 the roots are i and −i, shown in the form a ± bi instead of an error.

First the rational-root test looks for a rational root; if one is found, the cubic is factored and the remaining quadratic is solved exactly. Without a rational root, real roots are found numerically by bisection and labelled as numeric.

Yes — systems of 2 or 3 linear equations, by Gaussian elimination with back-substitution. The sample 2x + y = 5 and x − y = 1 gives x = 2, y = 1.

The page says so instead of inventing an answer. A singular system — parallel lines, or three planes with no single common point — has either no solution or infinitely many, and the solver reports that.

x = 1, 2 and 3. The rational-root test finds x = 1, so the cubic factors as (x − 1)(x² − 5x + 6), and the quadratic factor gives x = 2 and x = 3. The calculator shows the factoring steps.

If a = 0 and b = 0, every x is a solution, because the equation is 0 = 0. If a = 0 but b is not 0, there is no solution. A quadratic with a = 0 is solved as a linear equation instead.

Complementary utilities for your workflow

View all →
You are here

Equation Solver

Linear, quadratic, cubic and systems of equations, with steps.

Current tool
Popular

Fraction Calculator

Add, subtract, multiply, divide, and simplify fractions with step-by-step solutions.

Try tool

Matrix Calculator

Matrix add, multiply, inverse, determinant and RREF with exact fractions.

Try tool

IRR Calculator

IRR from uneven cash flows, NPV table and hurdle-rate comparison.

Try tool