Skip to content
GM Calculator

Written and reviewed byMuhammad ShahidHow we verify calculations

Free Equation Solver Calculator with Steps

Use this free equation solver calculator to solve any linear equation and see every step. Enter a problem like 2x + 3 = 7 and get x with a check of the answer. Works with decimals, fractions, parentheses, and variables on both sides.

Linear EquationsStep-by-Step SolutionsAnswer Verification
Learn How It Works

How to use Equation solver calculator

  1. Type your equation in the box, for example 2x + 5 = 11.
  2. Press Solve or hit Enter.
  3. Read the answer, then the steps that produced it.

The solver works with one variable at a time, whichever letter you use: 2x + 5 = 11, 22t + 10 = 98, or 0.5x - 4 = 8 - x. It expands parentheses like 2(5 + d) and reads fractions, so x + 1/2 = 3 works as written.

Worked examples, solved step by step

These are real problems from homework sets. Every step and the answer are written out here, so you can read the result without entering anything. Type any of them into the box above and the solver runs the same steps live.

One-step equations with decimals

x - 3.3 = 13.2

Add 3.3 to both sides.

x = 13.2 + 3.3

x = 16.5

Check: 16.5 - 3.3 = 13.2

Two-step equations

22t + 10 = 98

Subtract 10 from both sides.

22t = 88

Divide both sides by 22.

t = 4

Check: 22(4) + 10 = 98

Equations with parentheses

26 - 14d = 2(5 + d)

Distribute on the right side.

26 - 14d = 10 + 2d

Add 14d to both sides, then subtract 10.

16 = 16d

Divide both sides by 16.

d = 1

Check: 26 - 14(1) = 12 and 2(5 + 1) = 12

Variables on both sides

0.5x - 4 = 8 - x

Add x to both sides.

1.5x - 4 = 8

Add 4 to both sides.

1.5x = 12

Divide both sides by 1.5.

x = 8

Check: 0.5(8) - 4 = 0 and 8 - 8 = 0

Negative coefficients

14 = -10r

Divide both sides by -10.

r = -1.4

Check: -10(-1.4) = 14

Negative numbers on both sides

-5x + 14 = -36

Subtract 14 from both sides.

-5x = -50

Divide both sides by -5.

x = 10

Check: -5(10) + 14 = -36

Decimals with parentheses

9.6(x - 3.25) = 28.8

Divide both sides by 9.6.

x - 3.25 = 3

Add 3.25 to both sides.

x = 6.25

Check: 9.6(6.25 - 3.25) = 9.6(3) = 28.8

Distributing a coefficient

7(2z - 6) = -112

Distribute 7 on the left side.

14z - 42 = -112

Add 42 to both sides.

14z = -70

Divide both sides by 14.

z = -5

Check: 7(2(-5) - 6) = 7(-16) = -112

How to solve a linear equation by hand

Step 1: Simplify both sides

Combine like terms on each side of the equation. Distribute any coefficients if needed.

Step 2: Move variable terms to one side

Add or subtract to move all terms with x to one side and constants to the other.

Step 3: Isolate the variable

Divide both sides by the coefficient of x to find the value of x.

Step 4: Verify your answer

Substitute your solution back into the original equation to confirm both sides are equal.

How to check your answer

Put your answer back into the original equation and simplify both sides. If they match, the answer holds. For 2x + 3 = 7 with x = 2: 2(2) + 3 = 7, and 7 = 7.

The solver runs this check on its own and prints a verification line under every answer. Many assignments ask you to show the same substitution in your written work.

What is an Equation?

An equation is a mathematical statement that two expressions are equal. Solving an equation means finding the value(s) of the variable that make the statement true. When a problem says solve for x, it asks for the number you can put in place of x that makes both sides equal.

Types of equations this solver handles and doesn't

Linear equations in one variable

One-step and two-step equations in any letter, with decimal or negative coefficients, parentheses, and variables on both sides: 22t + 10 = 98, 26 - 14d = 2(5 + d), 0.5x - 4 = 8 - x. The solver also reports when there is no solution or infinitely many solutions.

Quadratic equations

axยฒ + bx + c = 0 needs factoring, the quadratic formula, or completing the square. The Quadratic Solver takes the three coefficients and returns the roots. Use the Quadratic Solver for those.

Exponential equations

Problems like 8.9 = 5^(x-3) + 2 need logarithms. Use the Exponential Equation Solver for those.

Systems and literal equations

Two unknowns need two equations solved together by substitution or elimination. Solving a formula for one letter in terms of the others, called a literal equation, is outside this solver too. Use the System of Equations Calculator for those.

Related guides

30 linear equation examples

Every pattern this solver handles, worked out by hand in groups: one-step, two-step, parentheses, variables on both sides, decimals and fractions, and no-solution cases.

Variables on both sides

The dedicated method for equations like 0.5x - 4 = 8 - x, with 7 more worked problems and the sign mistakes to avoid.

Literal equations

Solving a formula for one letter in terms of the others, like 1/5 gc = r solved for gc.

Fraction equation calculator

When the fractions pile up, like x/2 + 3/4 = 7/8, this tool clears every denominator with the LCD first and answers as an exact fraction.

Solution sets: one solution, no solution, infinitely many

Most linear equations give one answer. When the variable terms cancel, you get one of two other outcomes. The solver reports all three in the result box.

One solution

3x - 2 = 7 gives 3x = 9, so x = 3. One value of x makes the equation true.

No solution

In 2x + 1 = 2x + 5, subtract 2x from both sides and you get 1 = 5. That is false for every value of x.

Infinitely many solutions

In 4x + 6 = 4x + 6, subtract 4x and you get 6 = 6. That is always true, so every value of x solves the equation.

Common Mistakes

Forgetting Negative Signs

โˆ’(2x โˆ’ 5) = โˆ’2x + 5, not โˆ’2x โˆ’ 5. Always distribute the negative sign to every term inside parentheses.

Losing Solutions When Dividing by Variable

Dividing both sides by x can eliminate valid solutions. Always add/subtract to collect variable terms instead.

Dividing Only One Side

Whatever you do to one side, do to the other. In 2x + 4 = 10, dividing only the left side by 2 leaves x + 4 = 10, so x = 6, which fails the check: 2(6) + 4 = 16.

Decimal Slips

Line up the decimal points when you add or subtract. In x - 3.3 = 13.2, adding 3.3 to both sides gives x = 16.5. Subtracting 3.3 instead gives 9.9, which fails the check.

Misapplying PEMDAS

When isolating a variable, work in reverse PEMDAS order: addition/subtraction first, then multiplication/division, then exponents.

Frequently Asked Questions About Equation Solving

How do I solve for x in a linear equation?

Isolate x with inverse operations. For 2x + 3 = 7: subtract 3 from both sides to get 2x = 4, then divide both sides by 2 to get x = 2. Work in reverse order of operations: addition and subtraction first, then multiplication and division.

Does this equation solver show steps?

Yes. It rewrites both sides, moves the variable terms to one side, divides by the coefficient, then substitutes the answer back to verify it. Each line appears under the answer in the result box.

What does it mean when there is no solution or infinitely many solutions?

If the variable cancels and leaves a false statement, like 1 = 5, no value of x makes the equation true, so there is no solution. If it leaves a true statement, like 6 = 6, every value works, so there are infinitely many solutions. The solver reports all three outcomes.

Can I solve for a variable other than x?

Yes. The solver works with whichever single variable you use. Type 22t + 10 = 98 as it is and you get t = 4. Equations with two different letters, like 2x + 3y = 7, need one equation per letter.

How do I check whether my solution is correct?

Substitute your answer back into the original equation. For 2x + 3 = 7 with x = 2: 2(2) + 3 = 7, which is true. The solver runs this substitution automatically and marks the result verified.

How do I solve equations with decimals or fractions?

Decimals and fractions both enter as written: x - 3.3 = 13.2 gives x = 16.5, and x + 1/2 = 3 gives x = 2.5. Negative coefficients work the same way: 14 = -10r gives r = -1.4.

What if the variable is on both sides of the equals sign?

Add or subtract to gather the variable terms on one side, then collect the numbers on the other. In 0.5x - 4 = 8 - x, add x to both sides to get 1.5x - 4 = 8, add 4 to get 1.5x = 12, then divide by 1.5 for x = 8.

Where equation solving is used

Budgeting Example

Tutoring charges $50 registration + $35/hour. Budget $225: 35h + 50 = 225 โ†’ 35h = 175 โ†’ h = 5 hours.

Break-Even Analysis

Fixed costs $2,400, variable $4/mug, sell at $16: 16m = 2400 + 4m โ†’ 12m = 2400 โ†’ m = 200 mugs/month. The marketing version of this setup, with ad spend and margin, is in the break-even ROAS calculator.

Unit Conversion

Convert 90 km to miles with 1 mile = 1.609 km: 1.609m = 90 โ†’ m = 90 รท 1.609 โ‰ˆ 55.9 miles.

Equation Solver Pros & Cons

Pros

  • Instant step-by-step solutions
  • Automatic answer verification
  • Works with any variable: x, t, d, or r
  • Expands parentheses and reads fractions
  • Handles variables on both sides
  • Free, with no sign-up or email

Cons

  • No graphing visualization
  • Linear equations in one variable only
  • No calculus or differential equations
Muhammad Shahid

Reviewed by Muhammad Shahid

Writer & Calculator Reviewer

Writes and reviews calculator content across marketing, finance, health, and math at GM Calculator.

โœ“ Content Reviewerโœ“ Calculator Accuracy Specialist

Last reviewed: November 4, 2026