✨ Free step-by-step solutions with full working — no sign-up ever needed

Equation Solver

Free equation solver for linear and quadratic equations. Enter your equation and get the solution with full step-by-step working.

= Equation Solver

Overview & Concepts

An equation is a mathematical statement that two expressions are equal, and 'solving' it means finding the value (or values) of the unknown variable that make the statement true. Our calculator equation solver handles the most common equation types you'll meet in school and everyday work: linear equations (where the variable appears only to the first power), quadratic equations (where it appears squared), and simple rational or radical equations.

As a general-purpose calculator math solver, it goes beyond just a final numeric answer — it shows the full working so you can see exactly how the variable was isolated, or how the quadratic formula was applied. This makes it useful for checking homework, studying for exams, or verifying calculations for engineering and finance work.

If your equation involves a matrix or a system of several equations at once, our Matrix & Vector Calculator can handle row reduction and systems in one pass. And if you need to go beyond solving for x into rates of change or areas under curves, check out the Calculus Solver.

Step-by-Step Mathematical Method

Linear Equations: An equation like ax + b = c is solved by isolating x: subtract b from both sides, then divide both sides by a (provided a ≠ 0), giving x = (c − b) / a.

Quadratic Equations: For a standard-form equation ax2 + bx + c = 0 (with a ≠ 0), the quadratic formula gives x = (−b ± √(b2 − 4ac)) / (2a). This is the basis of any quadratic equation solver with working, since it always produces both possible solutions in one formula.

The Discriminant: The expression under the square root, b2 − 4ac, is called the discriminant. If it's positive, the equation has two distinct real solutions; if it equals zero, there is exactly one repeated real solution; if it's negative, the two solutions are complex (involving the imaginary unit i).

Factoring: Some quadratics can be solved faster by factoring into two binomials, e.g. x2 + 5x + 6 = (x + 2)(x + 3), then setting each factor equal to zero. This only works cleanly when the roots are rational.

Worked Examples with Solutions

Example 1: Linear Equation

Linear Equation Walkthrough

Solve 3x + 7 = 22, copy each step directly:

1
Step 1: Write down the equation: 3x + 7 = 22
2
Step 2: Subtract 7 from both sides: 3x = 15
3
Step 3: Divide both sides by 3: x = 5
4
Step 4: Check: 3(5) + 7 = 15 + 7 = 22 ✓

Example 2: Quadratic Equation via the Quadratic Formula

Quadratic Formula Walkthrough

Solve 2x^2 - 4x - 6 = 0, copy each step directly:

1
Step 1: Identify coefficients: a = 2, b = -4, c = -6
2
Step 2: Compute the discriminant: b^2 - 4ac = (-4)^2 - 4(2)(-6) = 16 + 48 = 64
3
Step 3: Take the square root: sqrt(64) = 8
4
Step 4: Apply the quadratic formula: x = (4 ± 8) / (2*2) = (4 ± 8) / 4
5
Step 5: First solution: x = (4 + 8) / 4 = 12 / 4 = 3
6
Step 6: Second solution: x = (4 - 8) / 4 = -4 / 4 = -1

Example 3: Solving by Factoring

Factoring Walkthrough

Solve x^2 - x - 12 = 0, copy each step directly:

1
Step 1: Write down the equation: x^2 - x - 12 = 0
2
Step 2: Find two numbers that multiply to -12 and add to -1: -4 and 3
3
Step 3: Factor: (x - 4)(x + 3) = 0
4
Step 4: Set each factor to zero: x - 4 = 0 or x + 3 = 0
5
Step 5: Solve each: x = 4 or x = -3

Reference Values & Comparison Table

Equation TypeFormula UsedResult (from examples above)
Linear: 3x + 7 = 22x = (c - b) / ax = 5
Quadratic: 2x^2 - 4x - 6 = 0x = (-b ± √(b²-4ac)) / 2ax = 3 or x = -1
Factorable Quadratic: x^2 - x - 12 = 0Factor into (x - p)(x - q)x = 4 or x = -3

Common Mistakes & Tips

Other frequent errors include forgetting the ± symbol in the quadratic formula (which loses one of the two valid solutions), dividing by a variable expression without first checking whether it could equal zero, and forgetting to distribute a negative sign across parentheses when simplifying both sides of an equation.

Always check your final answer by substituting it back into the original equation — this is the fastest way to catch an arithmetic slip. If you're working with a calculator device rather than the browser tool, our guide on how to use the equation solver on a calculator walks through the keystrokes for common models.

Frequently Asked Questions

Q1What is the difference between a linear and a quadratic equation?
▼
A linear equation has a variable raised only to the first power, so it graphs as a straight line and has exactly one solution. A quadratic equation has a variable raised to the second power, graphs as a parabola, and can have zero, one, or two real solutions.
Q2What does a negative discriminant mean?
▼
A negative discriminant (b² - 4ac < 0) means the quadratic equation has no real solutions. Instead, it has two complex solutions that include the imaginary unit i, since you cannot take the square root of a negative number within the real numbers.
Q3Can I solve this on a standard scientific calculator?
▼
Yes, standard scientific and graphing calculators can solve linear and quadratic equations, though most only display the final answer. Our online solver shows the full step-by-step working, which is more useful for learning the method or checking homework.
Q4Is factoring always faster than the quadratic formula?
▼
Factoring is often quicker when the roots are whole numbers or simple fractions, but not every quadratic factors neatly. The quadratic formula always works, even when the roots are irrational or complex, so it's the more reliable general-purpose method.
Q5What if my equation has variables on both sides?
▼
Move all variable terms to one side and all constant terms to the other by adding or subtracting the same quantity from both sides, then simplify and solve as usual. For example, 5x - 3 = 2x + 9 becomes 3x = 12 after subtracting 2x and adding 3 to both sides, giving x = 4.

Related Calculators & Tools

Calculus Solver Pre-Calculus Solver Matrix & Vector Calculator How to Use the Equation Solver on a Calculator AP Calculus AB vs BC vs Pre-Calculus: What's the Difference?