Skip to content
ThinkQuarryIdeas for a smarter digital life. Contact

Algebra Calculator & Equation Solver

Algebra Calculator & Equation Solver

Tools / Math / Algebra Solver

Free algebra solver with step-by-step solutions

Use this free algebra calculator with steps to solve for x in linear and quadratic equations. Enter fractions, decimals or brackets, follow the working, and check the answer by substitution. This online equation solver needs no signup or downloads.

Enter an equation · Two-step examples · Multi-step examples

Use x as the variable. Write powers as x^2, multiplication as 2x or 2*x, and fractions as x/3. Write (1/2)*x for a fractional coefficient.

Try an example

Your equation is processed in your browser and is not sent to a solving service.

Solution

Enter an equation to begin.

Use the steps below to understand how the answer is found.

Green calculator with algebra symbols and a notebook showing a parabola

How to use the algebra solver

Type an equation with one equals sign, select Solve equation, then read the simplified equation, solution and substitution check. You can put x on either side of the equation.

Frequently asked questions (FAQ)

Can I use it as a one-step or multi-step equation calculator?

Yes, for supported equations in x. Enter x + 4 = 9 for a one-step example or 3(x – 2) + 4 = 16 for a multi-step example. The working shows a normalized algebraic method; it may group operations differently from your teacher’s method.

Why does the equation answer checker reject my input?

Include exactly one equals sign, use x as the variable, and close every parenthesis. Use x^2 for a square and (1/2)*x for a fractional coefficient. The tool rejects unsupported functions and division by x rather than guessing an answer.

Which equations can I solve?

This tool supports one-variable linear equations, quadratic equations, parentheses, decimal coefficients and division by nonzero constants. Examples include 4x − 8 = 12, (x + 1)^2 = 9 and x/4 + 1 = 3. It also identifies equations with no solution or infinitely many solutions.

Can it solve equations with complex roots?

Yes. When the quadratic discriminant is negative, the answer uses i, where i² = −1. For example, x² + 1 = 0 has solutions x = ±i.

What is not supported yet?

Systems of equations, word problems, inequalities, cubic or higher powers, trigonometric functions, square-root expressions and division by expressions containing x are not supported. The tool explains when an input is outside its scope.

Is the algebra solver free?

Yes. The solver runs directly in your browser, without an API subscription or an account. Use it to check your working and learn the steps.

Equation solver examples: solve for x with steps

This algebra equation calculator handles one unknown, x. These examples show how a one-variable equation solver works, from two-step equations to problems with several operations.

Two step equation calculator with steps

Use the calculator above to solve a two-step equation and check each operation. A two-step equation usually needs two inverse operations to isolate x: first undo addition or subtraction, then undo multiplication or division. Apply the same operation to both sides to keep the equation balanced.

For a fractional coefficient, try (1/2)*x – 3 = 5. Add 3 to both sides to get x/2 = 8, then multiply both sides by 2: x = 16. Check the answer in the original equation: 16/2 – 3 = 5.

Multi step equation calculator: worked linear examples

A linear equation has x to the first power. For 2x + 5 = 17, subtract 5 from both sides to get 2x = 12, then divide by 2: x = 6. Substitute 6 into the original equation: 2 × 6 + 5 = 17.

For a multi-step equation such as 3(x − 2) + 4 = 16, expand the brackets to get 3x − 6 + 4 = 16. Combine constants, add 2 to both sides, then divide by 3 to obtain x = 6.

Two-step equations with fractions and decimals

For x/3 + 2 = 5, subtract 2, then multiply by 3: x = 9. For a fractional coefficient, type (1/2)*x; for example, (1/2)*x – 3 = 5 gives x = 16. Denominators must be nonzero constants: 1/x is outside this solver’s scope.

When there are several fractional terms, multiply every term on both sides by a common denominator. For x/3 + x/6 = 3, multiplication by 6 gives 2x + x = 18, hence x = 6. Check: 6/3 + 6/6 = 3.

For a decimal equation, 0.5x + 1.5 = 4 gives 0.5x = 2.5, then x = 5. Read the substitution check as well as the displayed answer; decimal output is rounded.

Equation solver with parentheses or brackets

Use round parentheses for grouped terms: 3(x − 2) = 12. Expanding gives 3x − 6 = 12, then 3x = 18 and x = 6. If you call them brackets, enter them as ( ) in this calculator.

Equations with variables on both sides

For 2x + 1 = x + 7, subtract x from each side, then subtract 1: x = 6. An equation solution checker confirms that both sides equal 13 when x is 6.

Quadratic equation solver and quadratic formula calculator

A quadratic equation contains x². Write it as ax² + bx + c = 0 and use the quadratic formula: x = (−b ± √(b² − 4ac)) / (2a). This quadratic equation calculator accepts the complete equation, rather than separate coefficient fields.

For x^2 − 5x + 6 = 0, a = 1, b = −5 and c = 6. The discriminant is 25 − 24 = 1, giving x = (5 ± 1)/2. The quadratic roots are x = 2 and x = 3; both make the original equation equal zero.

Complex roots calculator and repeated roots

The calculator solves a complete quadratic equation; it is not a general complex-number arithmetic tool. Enter the equals sign and both sides, such as x^2 + 1 = 0. It reports complex roots when there are no real roots.

For x^2 + 1 = 0, the discriminant is negative, so the solutions are x = ±i, where i² = −1. For x^2 + 2x + 1 = 0, the discriminant is zero and the repeated root is x = −1.

When an equation has no solution or infinitely many solutions

For x = x + 1, cancelling x gives 0 = 1, which is impossible: no solution. For 2x = 2x, both sides are identical, so every value of x is a solution.

How to check an answer

Substitute your result for x in the original equation. For 4x − 7 = 13, x = 5 gives 4 × 5 − 7 = 13. For a quadratic, check each root separately. In the tool, compare the values shown for the left and right sides. If the solution is a rounded decimal, compare with the exact fraction or root where possible.

A free online algebra calculator without signup

Use this solve-for-x calculator to check homework working or practice an equation. The tool processes your input in your browser and shows the solution check alongside the steps. It supports linear and quadratic equations, not word problems, simultaneous equations, inequalities or photo uploads.

Explore all ThinkQuarry tools.