How it works

Solving a formula for a different letter means undoing operations in reverse order. Whatever was done last gets undone first: division undoes multiplication, subtraction undoes addition. To get t from d = rt, divide both sides by r, giving t = d/r.

Undoing in the wrong order is the classic mistake, so this page lists each inverse operation as its own numbered step. When a step is only valid under a condition (r ≠ 0, for instance), the condition rides along in the result card.

Worked example

Try it with these numbers

The result card above already shows this example — change any field and hit Solve.

FAQ

Quick answers

How do I solve a formula for a different variable?

Work backwards through the operations around the letter you want. In P = 2l + 2w, to isolate l: subtract 2w first, then divide by 2, giving l = (P − 2w)/2. Subtraction before division, because 2w was added last.

Why does the order of steps matter?

Inverse operations must run in reverse order of how the variable was built up. Dividing P = 2l + 2w by 2 first gives P/2 = l + w, which is not wrong, but it splits every term and usually creates more cleanup than the subtract-then-divide route.

What do the restrictions like r ≠ 0 mean?

Dividing both sides by a letter is only valid when that letter is not zero. t = d/r says nothing when r = 0, so the restriction is part of the answer, not a footnote.

Related solvers

Keep going

Every calculator on one page: all mathplum calculators.