Skip to content
ENExplore Calculators

Two Step Equation Calculator

Work out two step equation instantly with clear inputs, formula shown and shareable results.

About Two Step Equation Calculator

A two-step equation is undone in reverse order: first subtract the constant from both sides, then divide by the coefficient. So x = (c − b)/a.

Formula

Two-step solution

ax + b = c ⇒ x = (c − b) / a

Worked example

With the default values below, Two Step Equation Calculator returns x of 5.00000000. Change any input above and every figure here is recalculated in your browser.

Inputs used

Coefficient a in ax + b = c
3
Constant b
7
Right-hand side c
22

Results

x
5.00000000
c − b (after step 1)
15.00000000
ax + b using the solution
22.00000000
Equation solved
3x + 7 = 22

Step by step

  1. 1Values used
  2. 2Two-step solution
  3. 3x= 5.00000000
  4. 4c − b (after step 1)= 15.00000000
  5. 5ax + b using the solution= 22.00000000
  6. 6Equation solved= 3x + 7 = 22

Assumptions and limits

  • The result is derived only from the 3 inputs listed above. Anything not among them is not part of the calculation.
  • In particular, this calculator does not take inflation, tax, fees or charges or compounding frequency into account.
  • Figures are rounded for display to 8 decimal places, so totals built from several rounded parts can differ slightly from the unrounded arithmetic.

How these calculators are built and tested is described on the Methodology page. If a figure looks wrong, please report it.

Frequently Asked Questions

Solve 3x + 7 = 22.

Subtract 7 to get 3x = 15, then divide by 3 to get x = 5.

Why subtract before dividing?

The addition was applied last when building the expression, so it must be undone first — inverse operations in reverse order.

Two Step Equation Calculator | Calcrivo