Algebra Calculator
AlgebraFreeNo sign-up
Use the algebra calculator to solve equations, inequalities and systems, or to simplify expressions, with every step shown free. For example, to solve 3(x − 2) + 4 = x + 10, distribute to get 3x − 2 = x + 10, subtract x to get 2x − 2 = 10, add 2 to get 2x = 12, then divide by 2: x = 6.
Show steps (5)
- Simplify the left side: 3(x − 2) + 4 = 3x − 6 + 4 = 3x − 2.
- The equation is now 3x − 2 = x + 10.
- Subtract x from both sides to get the x terms on the left: 2x − 2 = 10.
- Add 2 to both sides: 2x = 12.
- Divide both sides by 2: x = 6.
How to use the algebra calculator
- Type the problem as you would write it: 2x, x^2, 1/2 and parentheses. The symbol buttons help on a phone.
- Use an equals sign to solve an equation, <, >, <= or >= for an inequality, or no sign to simplify.
- For two equations with two unknowns, open the System of 2 equations tab and type one equation in each box.
- Read the answer, the yellow check box (the answer substituted back into your original problem) and then open Show steps for the full working.
All arithmetic is exact: fractions stay fractions, and irrational answers appear in radical form such as (−3 ± √41)/4, with decimals beside them.
What the algebra calculator can solve
| Problem type | Example input | What you get |
|---|---|---|
| Linear equation | 3(x – 2) + 4 = x + 10 | x = 6, steps and a substitution check |
| Equation with fractions | x/3 + 1/2 = 5/6 | LCD step, then x = 1 |
| Quadratic that factors | x^2 – 5x + 6 = 0 | (x − 2)(x − 3) = 0, x = 2 or 3 |
| Quadratic that does not factor | 2x^2 + 3x – 4 = 0 | Quadratic formula, x = (−3 ± √41)/4 |
| Complex roots | x^2 + 2x + 5 = 0 | x = −1 ± 2i, labeled as complex |
| Linear inequality | -3x + 4 > 10 | x < −2, interval notation, number line |
| Compound inequality | -4 < 2x + 2 <= 8 | −3 < x ≤ 3, written (−3, 3] |
| System of two equations | 3x + 2y = 16 and x – y = 2 | x = 4, y = 2 by elimination, graph |
| Simplify or expand | (x + 2)(x – 5) | x² − 3x − 10 and its factored form |
Cubic and higher equations are solved when they have rational roots (Rational Root Theorem) or a form like x³ = 2. A variable in a denominator, √x or logarithms are not handled; the calculator says so instead of guessing.
How to solve a linear equation
A linear equation has the variable only to the first power. Get the variable alone by doing the same thing to both sides: simplify each side, clear fractions with the least common denominator, move variable terms to one side and numbers to the other, divide by the coefficient, then check.
Worked example: variables on both sides
Solve 3(x − 2) + 4 = x + 10. Distribute: 3x − 6 + 4 = x + 10, so 3x − 2 = x + 10. Subtract x from both sides: 2x − 2 = 10. Add 2: 2x = 12. Divide by 2: x = 6. Check: 3(6 − 2) + 4 = 16 and 6 + 10 = 16, so both sides match.
Worked example: fractions
Solve x/3 + 1/2 = 5/6. The denominators are 3, 2 and 6, so the least common denominator is 6. Multiplying every term by 6 gives 2x + 3 = 5. Subtract 3: 2x = 2, so x = 1. Check: 1/3 + 1/2 = 2/6 + 3/6 = 5/6.
If the variable cancels, 2(x + 3) = 2x + 6 becomes 6 = 6 (always true, so all real numbers work), while 2x + 1 = 2x + 5 becomes 1 = 5 (never true, so no solution). The linear equation calculator focuses on this type of problem.
How to solve a quadratic equation
Write the quadratic as ax² + bx + c = 0 (a ≠ 0), then try these methods in order.
- Factoring. For x² − 5x + 6 = 0, find two numbers that multiply to 6 and add to −5: −2 and −3. So (x − 2)(x − 3) = 0 and x = 2 or x = 3. When a is not 1, the AC method splits the middle term: for 6x² + 11x − 10 = 0, a · c = −60, and 15 and −4 multiply to −60 and add to 11, giving (3x − 2)(2x + 5) = 0.
- Square roots. With no x term, isolate x²: x² = 12 gives x = ±√12 = ±2√3.
- The quadratic formula. x = (−b ± √(b² − 4ac)) / (2a) works for every quadratic.
Worked example: the quadratic formula
For 2x² + 3x − 4 = 0, a = 2, b = 3 and c = −4. The discriminant is b² − 4ac = 9 + 32 = 41, which is positive but not a perfect square. So x = (−3 ± √41)/4, which is about 0.8508 or −2.3508. As a check, the two roots add to −3/2 = −b/a and multiply to −2 = c/a.
The discriminant predicts the type of roots:
| Discriminant b² − 4ac | Roots | Example |
|---|---|---|
| Positive perfect square | Two rational roots; the quadratic factors | x² − 5x + 6 = 0: 1, roots 2 and 3 |
| Positive, not a perfect square | Two irrational real roots | 2x² + 3x − 4 = 0: 41 |
| Zero | One repeated (double) root | 4x² − 12x + 9 = 0: 0, root 3/2 |
| Negative | No real roots; two complex roots | x² + 2x + 5 = 0: −16, roots −1 ± 2i |
The quadratic equation solver and the factoring calculator give more practice with each method.
Solving inequalities: when to flip the sign
Inequalities are solved like equations, with one extra rule: multiplying or dividing both sides by a negative number reverses the inequality sign. For −3x + 4 > 10, subtract 4 to get −3x > 6. Dividing by −3 gives x < −2, not x > −2. A quick test confirms it: x = −3 gives −3(−3) + 4 = 13, and 13 > 10 is true.
The answer x < −2 is written (−∞, −2) in interval notation, with an open dot at −2 on a number line. A compound inequality such as −4 < 2x + 2 ≤ 8 is solved by doing the same step to all three parts: subtract 2 to get −6 < 2x ≤ 6, then divide by 2 to get −3 < x ≤ 3. See the inequality calculator for more examples.
Solving a system of two equations
To solve 3x + 2y = 16 and x − y = 2 by elimination, multiply the second equation by 2 to get 2x − 2y = 4. Adding it to the first cancels y: 5x = 20, so x = 4. Substituting into the first equation gives 12 + 2y = 16, so y = 2. The solution is (4, 2).
If both variables disappear, a false statement such as 3 = 5 means parallel lines and no solution, and a true one means the same line and infinitely many solutions. The system of equations calculator covers substitution as well.
Simplifying expressions: like terms and FOIL
Like terms have the same variables and powers. To simplify 4x + 2 − x + 7 − 2(x − 4), distribute first: −2(x − 4) = −2x + 8. Then combine: 4x − x − 2x = x and 2 + 7 + 8 = 17, so the result is x + 17.
To multiply two binomials, use FOIL (first, outer, inner, last): (x + 2)(x − 5) = x² − 5x + 2x − 10 = x² − 3x − 10.
Common algebra mistakes
- Distributing to only the first term: 3(x − 2) is 3x − 6, not 3x − 2.
- Losing a negative sign: −(x − 3) is −x + 3.
- Forgetting to flip the inequality sign after dividing by a negative number.
- Writing x = 4 for x² = 16; there are two answers, x = 4 and x = −4.
- Dividing both sides by x, which can throw away the solution x = 0. Factor instead: 2x² = 8x gives 2x(x − 4) = 0, so x = 0 or x = 4.
Algebra practice quiz: 10 questions
Test yourself with 10 multiple-choice questions. Choose an answer and press Submit to see if you are right and why. Your score appears at the end.
Subtract 2x from both sides: 2x − 7 = 9. Add 7: 2x = 16. Divide by 2: x = 8. Check: 32 − 7 = 25 and 16 + 9 = 25.
Distribute to every term: 5x − 10 = 3x + 4. Then 2x = 14, so x = 7. Writing 5x − 2 (distributing to only the first term) leads to the wrong answer 3.
Subtract 5: −2x > 6. Dividing by −2 reverses the sign: x < −3. Test x = −4: 8 + 5 = 13 > 11.
Find two numbers that multiply to 12 and add to −7: −3 and −4. So (x − 3)(x − 4) = 0, giving x = 3 or x = 4.
b² − 4ac = (−4)² − 4(2)(5) = 16 − 40 = −24. It is negative, so the equation has no real solutions.
Both 7² and (−7)² equal 49, so there are two solutions. Taking only the positive root is a common slip.
Distribute: 3x + 12 − 2x + 2. The minus sign times −1 gives +2. Combine: x + 14.
Add the equations to eliminate y: 2x = 14, so x = 7. Then 7 + y = 10 gives y = 3. Check: 7 − 3 = 4.
(x + 3)² = (x + 3)(x + 3) = x² + 3x + 3x + 9 = x² + 6x + 9. Squaring each term separately misses the middle term 6x.
Quiz complete
Frequently asked questions
Is the algebra calculator free with steps?
Yes. Every answer comes with the full step-by-step working and a check, with no account, no daily limit and no upgrade. Many popular solvers keep the steps behind a subscription.
What does it mean if the answer has an i?
The letter i stands for √(−1). When the discriminant of a quadratic is negative, the parabola never crosses the x-axis, so there is no real solution. The two solutions are complex numbers, such as −1 ± 2i for x² + 2x + 5 = 0.
How can I check my answer to an equation?
Substitute it into the original equation and work out each side. If both sides match, the answer is right. The calculator shows this check for every solution.
Can it solve equations with two variables?
One equation such as x + y = 3 has infinitely many solutions, so use the System tab with two equations, or the equation solver.
Related calculators
- Equation solver: solve equations step by step
- Quadratic equation solver: factoring and the quadratic formula
- Linear equation calculator: one-variable linear equations
- System of equations calculator: two lines, two unknowns
- Inequality calculator: solutions on a number line
- Factoring calculator: factor polynomials
More algebra calculators
Related to This Article
More math articles
- Free Grade 5 English Worksheets for Louisiana Students
- Overview of the HiSET Mathematics Test
- The Immune and Lymphatic Systems
- ACT Math Flashcards (Free Online: Formulas, Terms & Concepts)
- TSI Math Worksheets: Free Printable Practice
- The Best Algebra 1 Book for Maryland Students
- The Best Grade 4 ELA Practice Tests for Washington Students
- The ICC, the Sherman Act, and the Limits of Early Regulation
- Selective exposure
- Embark on Your SHSAT Math Adventure: Introducing the “SHSAT Math for Beginners” Solution Manual


What people say about "Algebra Calculator: Solve Equations With Free Steps"?
No one replied yet.