ThisCalculator

Everyday

One Step Equation Formula: Solve in One Move

Updated · Standard formula, shown below

The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.

This calculator solves a one-step linear equation of the form x + a = b, x − a = b, a · x = b, or x / a = b. You enter the two known numbers (a and b) and choose the operation, and the calculator returns the value of x that makes the equation true. It also shows the inverse operation used, so you can see the step that isolates x.

Formula

A one-step equation is any linear equation that can be solved with a single inverse operation. The general forms and their solutions are:

  • Addition: x + a = b → x = b − a
  • Subtraction: x − a = b → x = b + a
  • Multiplication: a · x = b → x = b / a (a ≠ 0)
  • Division: x / a = b → x = b · a (a ≠ 0)

In each case, the variable x is the unknown, a is the constant added, subtracted, multiplied, or divided, and b is the result. The operation you perform on both sides of the equation is the inverse of the one shown. For example, if the equation has +5, you subtract 5 from both sides.

Worked Example

Using the default values from the calculator above: a = 5, b = 12, and the operation is Addition (x + a = b).

  1. Start with the equation: x + 5 = 12
  2. Subtract 5 from both sides: x + 5 − 5 = 12 − 5
  3. Simplify: x = 7

The calculator’s formula gives x = b − a = 12 − 5 = 7, which matches. The check line computes the left-hand side: 7 + 5 = 12, confirming the solution.

When to Use a One-Step Equation

One-step equations appear in everyday arithmetic and in the early stages of algebra. You use them whenever you know the result of a single operation and need to find the starting value. Common real-world situations include:

  • Finding the original price before a discount (if you know the sale price and the discount amount).
  • Determining a starting temperature when you know the change and the final temperature.
  • Working out a distance when you know speed and time (distance = speed × time, so time = distance ÷ speed).
  • Balancing a budget when you know total spending and one category.

In more advanced math, one-step equations are the building blocks for multi-step equations, inequalities, and word problems. Mastering them makes later topics like slope-intercept form and systems of equations much easier.

How to Read the Result

The output x is the value that makes the equation true. The check output shows the left-hand side of the original equation after substituting x. If the check equals b, the solution is correct. For example, with x = 7 and the equation x + 5 = 12, the check is 7 + 5 = 12, which matches b.

When the operation is multiplication or division, the result can be a fraction or decimal. The calculator rounds to 4 decimal places, but the exact answer may be a repeating decimal. For instance, 3x = 10 gives x = 3.3333, which is exactly 10/3.

Common Mistakes and How to Avoid Them

  • Using the wrong inverse operation. For x + a = b, you must subtract a, not add it. Remember: the inverse of addition is subtraction, the inverse of multiplication is division, and vice versa.
  • Performing the operation on only one side. Whatever you do to one side of the equation, you must do to the other. Skipping this breaks the equality.
  • Sign errors with negative numbers. If a = −3 in x + a = b, then x = b − (−3) = b + 3. A double negative becomes a positive.
  • Dividing by zero. In multiplication and division forms, a cannot be zero. Division by zero is undefined, and if a = 0 in a·x = b, the equation either has no solution (if b ≠ 0) or infinitely many solutions (if b = 0).
  • Confusing the variable and the constant. In a·x = b, x is the unknown, a is the multiplier, and b is the product. Be careful not to swap them.

Limits of the Formula

This calculator only handles equations with one variable and one operation. It does not solve equations with variables on both sides, exponents, or multiple steps. For those, you need to combine like terms, use the distributive property, or apply more advanced methods. Additionally, the calculator assumes the equation is already in the standard form; if you have something like 2x + 3 = 7, you must first subtract 3 from both sides to get 2x = 4, then divide by 2. That is a two-step process and not covered here.

Another limit: the calculator works with real numbers. It does not handle complex solutions (which can arise from quadratic equations, but not from linear one-step equations). For one-step linear equations, there is always exactly one real solution, except for the zero-division cases mentioned above.

Frequently Asked Questions

What is a one-step equation?

A one-step equation is an algebraic equation that can be solved in a single operation by applying the inverse operation to both sides. For example, x + 5 = 12 is solved by subtracting 5 from both sides, giving x = 7. It is called “one-step” because only one inverse operation is needed to isolate the variable.

How do you solve x + 3 = 10?

Subtract 3 from both sides: x + 3 − 3 = 10 − 3, which simplifies to x = 7. The key is to undo the addition by subtracting the same number from both sides, keeping the equation balanced.

What is the inverse operation for division?

The inverse of division is multiplication. If you have x / 4 = 6, you multiply both sides by 4: (x / 4) · 4 = 6 · 4, giving x = 24. Similarly, the inverse of multiplication is division.

Can a one-step equation have a fraction as the answer?

Yes. For example, 5x = 8 gives x = 8/5 = 1.6. The calculator shows the decimal form, but the exact answer is a fraction. In algebra, it is often acceptable to leave the answer as a fraction unless a decimal is requested.

What if the variable is on the right side, like 10 = x + 3?

The same rule applies: subtract 3 from both sides to get 7 = x, so x = 7. The variable can be on either side; you just isolate it by using the inverse operation on both sides.

Why do we do the same thing to both sides?

An equation is a statement that two expressions are equal. If you change one side without changing the other, the equality is broken. Performing the same operation on both sides preserves the equality, so the solution remains valid.

Related

Formula used
in a | Value a | - | 5 | 0
in b | Value b | - | 12 | 0
sel op | Operation | Add (x+a=b)=1, Subtract (x−a=b)=2, Multiply (a·x=b)=3, Divide (x/a=b)=4
out x | Solution x | - | (op==1 ? b-a : op==2 ? b+a : op==3 ? b/a : b*a) | 4
out check | Check (LHS) | - | (op==1 ? x+a : op==2 ? x-a : op==3 ? a*x : x/a) | 4

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.