Mathovia

Math Practice Generator

Algebra Equation Generator

Practice solving for x across one-step, two-step, and multi-step equations, including parentheses and variables on both sides.

Solve Your Own Equation

Type any linear equation in x — one-step, multi-step, parentheses, or x on both sides — and get the solution with full working.

M
Written by
Mathovia Team
Editorial Team

Algebra Equation Generator: Free One-Step, Two-Step, and Multi-Step Practice Worksheets

Solving an equation for x is really just undoing whatever was done to x, one step at a time, in reverse order. That single idea carries you from x + 13 = 3 all the way through to equations with parentheses and variables on both sides.

This algebra equation generator builds practice sets of increasing structural complexity, and every equation is guaranteed to have a clean, whole-number solution. No fractions creeping in halfway through, no decimals that make you second-guess your arithmetic instead of your algebra.

Why inverse operations are the whole game

Every equation is a balance. Whatever you do to one side, you do to the other. Solving means peeling operations off the variable in reverse order until x stands alone:

Operation applied to xInverse operation to undo it
Addition (+)Subtraction (-)
Subtraction (-)Addition (+)
Multiplication (×)Division (÷)
Division (÷)Multiplication (×)

Order matters. When you build an expression like 5x + 11, you multiply first, then add. When you unwind it, you reverse that: subtract first, then divide. Students who skip this reversal are the ones who divide the whole equation by 5 too early and end up wrestling with x + 11/5.

How the difficulty levels work

Easy:   one-step                           e.g. x + 13 = 3          ->  x = -10
Medium: two-step                           e.g. 5x + 11 = 36        ->  x = 5
Hard:   parentheses or variable both sides  e.g. 6x + 14 = 5x + 16  ->  x = 2

Easy: one-step equations

Exactly one operation to undo: addition, subtraction, multiplication, or division. These build the core reflex of “what was done to x, and what undoes it.” Negative answers show up here (x + 13 = 3 gives x = -10), which is deliberate. Students who only ever see positive solutions freeze the first time a negative appears on a test.

Best for: first exposure to solving for a variable, typically grade 6 to 7 or a pre-algebra unit.

Medium: two-step equations

Two operations in sequence, most commonly “undo the addition or subtraction, then undo the multiplication or division.” This is where the reverse order-of-operations habit actually gets tested, and it is the single most transferable skill in beginner algebra. Almost every equation students meet later reduces to a two-step problem after simplification.

Best for: grade 7 to 8, and remedial practice before quadratics or systems of equations.

Hard: parentheses and variables on both sides

Two distinct challenges live at this level.

Parentheses require you to deal with a grouped expression first, either by distributing or by dividing the whole group out. In 4(x + 3) = 32, dividing both sides by 4 is faster than distributing, and spotting that shortcut is a genuine skill worth practicing.

Variables on both sides require you to combine like terms across the equals sign before you can isolate anything. In 6x + 14 = 5x + 16, you gather x-terms on the left and constants on the right, then finish normally.

Best for: grade 8 through Algebra 1, and anyone prepping for standardized tests where multi-step linear equations are guaranteed to appear.

Using the generator

  1. Pick a difficulty that matches the skill you are drilling, not the grade level on paper. If two-step equations are shaky, more hard problems will not help.
  2. Set your question count. Ten to fifteen is a solid focused session; twenty-five or more works well as a printed homework or assessment set.
  3. Enter your answer for each equation. Both x = 5 and plain 5 are accepted, so you do not lose credit for formatting.
  4. Click Check Answers for instant grading across the entire set, with correct and incorrect items marked individually.
  5. Click Show Answers to reveal every solution when you want to review, or when you are building an answer key.
  6. Click Print Worksheet for a clean, ad-free printable page.

One strong recommendation: print it. Algebra rewards writing each step out on paper far more than most math topics. Mental solving hides exactly the step where the mistake happened, and “I got it wrong somewhere” is not feedback you can learn from. Written steps turn a wrong answer into a diagnosable one.

Worked solutions for every equation type

One-step:      x + 13 = 3
               x = 3 - 13
               x = -10

Two-step:      5x + 11 = 36
               5x = 36 - 11 = 25
               x = 25 / 5
               x = 5

Parentheses:   4(x + 3) = 32
               x + 3 = 32 / 4 = 8
               x = 8 - 3
               x = 5

Both sides:    6x + 14 = 5x + 16
               6x - 5x = 16 - 14
               x = 2

In every case the strategy is identical: isolate the x-terms on one side, the plain numbers on the other, using inverse operations, until x stands alone. The equations get longer. The method never changes.

Always check your answer

Substitute your solution back into the original equation. For 5x + 11 = 36 with x = 5: 5(5) + 11 = 25 + 11 = 36. It balances, so the answer is right. This takes ten seconds and catches nearly every sign error, which is the most common mistake in linear algebra by a wide margin.

Common mistakes this generator trains out

  • Sign errors when moving terms. Moving +13 across the equals sign makes it -13. This is where most wrong answers come from.
  • Undoing in the wrong order. Dividing before subtracting on a two-step equation creates fractions and confusion.
  • Incomplete distribution. In 4(x + 3), the 4 multiplies both terms. 4x + 3 is wrong; 4x + 12 is right.
  • Operating on only one side. Whatever you do, do it to both sides. Every time.
  • Losing track of negative coefficients. When x ends up with a negative coefficient, divide by the negative rather than guessing at the sign.

Keep practicing

Multi-step equations rely on the same order-of-operations rules covered in the order of operations generator, just applied in reverse to isolate a variable instead of computing a final value. Working both directions is the fastest way to make either one stick.

Frequently Asked Questions

How do I enter my answer?+

Just type the number — for example 5, or -5 for a negative solution. You can also type x = 5 if you prefer; both formats are accepted.

Is x always a whole number?+

Yes, deliberately. Every equation is built backward from a chosen whole-number solution, so x is always an integer — the equations are constructed to fit the answer, not the other way around, which guarantees every generated equation is solvable cleanly.

What does "variables on both sides" mean, and when does it appear?+

It's an equation like 6x + 14 = 5x + 16, where x appears on both sides of the equals sign. You solve it by moving all the x-terms to one side and all the constants to the other. This equation type appears at Hard difficulty, along with equations that use parentheses.

How many equations can I generate?+

Unlimited. Each set is freshly generated, so you can practice the same difficulty repeatedly without seeing repeats.

Do I need an account?+

No. No sign-up, no login, no limits.

Can teachers use this for classwork?+

Absolutely. Generate a set, print the worksheet, then use Show Answers to produce a matching key. Generating a second set gives you a different version for a retake or a second class period.

What should I learn before this?+

Comfort with integer arithmetic, including negatives, and a working understanding of the order of operations.

More practice generators