How to Rearrange Any Formula: Solve for a Different Variable Step by Step
rearranging formulassolving for a variablechange the subject of a formulaalgebraphysics formulasmath homework

How to Rearrange Any Formula: Solve for a Different Variable Step by Step

EEquations.live Editorial Team
2026-11-20
6 min read

Learn how to rearrange formulas and isolate any variable using inverse operations, worked examples, checks, and common error fixes.

Rearranging a formula means changing the subject—the variable isolated on one side—without changing the relationship between the quantities. This step-by-step checklist shows how to solve for a different variable in algebra, physics, geometry, and science formulas, including fractions, parentheses, powers, roots, and variables in denominators. Use the final substitution check to confirm that your rearranged formula is equivalent to the original.

Overview

A formula is an equation that describes a relationship. For example, the area of a rectangle can be written as A = lw, where A is area, l is length, and w is width. If you need to find the width, you must rearrange the formula so that w is alone: w = A/l.

The main rule is simple: perform the same valid operation on both sides of the equation. Use inverse operations to undo what is being done to the variable:

  • Addition is undone by subtraction.
  • Subtraction is undone by addition.
  • Multiplication is undone by division.
  • Division is undone by multiplication.
  • A power is undone by taking a root.
  • A root is undone by raising to the matching power.

Keep the formula symbolic until the rearrangement is complete. Substituting numbers too early can hide algebra mistakes and make it harder to see which operation should come next.

Checklist by scenario

1. The variable is multiplied by another quantity

Suppose the formula is Q = mc and you want to solve for c. Since c is multiplied by m, divide both sides by m:

Q/m = mc/m

Cancel m on the right:

c = Q/m

The same pattern works for y = ax when solving for x: divide by a to obtain x = y/a. Check that the divisor is not zero in the situation being modeled.

2. The variable is added or subtracted

Consider v = u + at, and solve for u. The term at is added to u, so subtract it from both sides:

v - at = u + at - at

Therefore:

u = v - at

If the target appears in an expression such as y = x - b, add b to both sides and get x = y + b.

3. The variable appears in a fraction

For a formula such as d = vt, solving for t means dividing by v:

t = d/v

If the entire expression is a fraction, clear the denominator first. For example, start with p = (x + y)/z. Multiply both sides by z:

pz = x + y

Now solve for x by subtracting y:

x = pz - y

This two-stage method—clear the fraction, then isolate the remaining terms—is usually less error-prone than manipulating several fraction bars at once.

4. The variable is inside parentheses

Use the reverse of the order in which operations were applied. If F = k(x + a) and you want x, first divide by k:

F/k = x + a

Then subtract a:

x = F/k - a

For y = a(x - b) + c, subtract c, divide by a, and add b:

y - c = a(x - b)

(y - c)/a = x - b

x = (y - c)/a + b

5. The variable has an exponent or root

If A = s2 and you need s, take the square root of both sides:

s = √A

In a geometry context, length is often treated as nonnegative, so the positive root may be the relevant result. In pure algebra, remember that solving s2 = A can produce s = ±√A unless the context restricts the value.

For a general power, if y = xn, take the nth root:

x = ⁿ√y

Alternatively, write x = y1/n. Check whether the exponent is even or odd and whether the variables are allowed to be negative.

6. The variable is in a denominator

Suppose R = V/I and you want to solve for I. Multiply both sides by I:

RI = V

Then divide by R:

I = V/R

The target variable may be in a denominator without being difficult to isolate, but it is important to multiply both sides by that variable before dividing by the remaining factor.

7. The variable appears more than once

When the target occurs in multiple terms, collect those terms before dividing. For example:

y = ax + bx

Factor out x:

y = x(a + b)

Then divide by the combined coefficient:

x = y/(a + b)

If the variable appears in different powers or inside functions, ordinary inverse operations may not be enough. Those cases may require factoring, logarithms, or a numerical method. See the related guide on solving exponential and logarithmic equations when the variable is in an exponent or logarithm.

Reference patterns for common formulas

Original formulaTarget variableRearranged form
A = lwww = A/l
P = 2l + 2wll = (P - 2w)/2
v = u + attt = (v - u)/a
d = vtvv = d/t
F = mamm = F/a
ρ = m/VVV = m/ρ
C = 2πrrr = C/(2π)
V = πr2hhh = V/(πr2)

These are algebraically equivalent forms, but the most useful form depends on the quantity you know and the quantity you need. Preserve symbols such as π until the calculation stage unless a problem specifically asks for a decimal approximation.

What to double-check

  1. Identify the target. Circle or underline the variable you need to isolate before changing anything.
  2. Track whole terms. In a(x + b), divide the entire side by a; do not divide only x.
  3. Use parentheses in fractions. Write (y - c)/a, not an ambiguous expression that could be read as y - c/a.
  4. Check restrictions. A denominator cannot be zero, and an even root may require a nonnegative quantity in real-number work.
  5. Check units. If d = vt, then distance divided by speed should have units of time. Unit checking is a useful error detector in science homework. For additional practice, review this guide to scientific notation and unit conversions.
  6. Substitute back. Pick simple values for the known variables, calculate the target using both the original and rearranged forms, and compare the results.

Common mistakes

A frequent error is changing an operation on one side only. Equations behave like a balance: subtracting a term from the right requires subtracting it from the left as well. Another mistake is reversing a fraction incorrectly. If y = x/a, multiplying by a gives ay = x, so the correct result is x = ay, not x = y/a.

Distributing too soon can also create sign errors. In y = a(x - b), dividing by a gives y/a = x - b; adding b then produces x = y/a + b. Do not change the minus sign to a plus until you have deliberately added b to both sides.

Finally, do not confuse rearranging a formula with solving a numerical equation. Rearranging keeps the variables symbolic. Solving a particular equation uses given values and may involve additional methods such as factoring or graphing. For broader equation practice, see the guides to linear equations and quadratic equations.

When to revisit

Return to this checklist whenever a homework problem asks you to “make” or “change the subject of” a formula, especially when a formula contains several operations or a variable in a denominator. It is also worth revisiting before a science or mathematics exam, when building a formula sheet, or when moving between a textbook’s preferred form and a calculator’s input form.

Before submitting your work, use this short action sequence:

  1. Write the original formula clearly.
  2. Mark the variable to isolate.
  3. Undo operations in reverse order, applying each change to both sides.
  4. Simplify and add parentheses where needed.
  5. Check restrictions and units.
  6. Substitute back into the original formula.

If the result does not pass the substitution or unit check, retrace the last inverse operation first. Most rearrangement errors occur at a single step, and keeping every line visible makes that step easier to find.

Related Topics

#rearranging formulas#solving for a variable#change the subject of a formula#algebra#physics formulas#math homework
E

Equations.live Editorial Team

Math Help Editor

Senior editor and content strategist. Writing about technology, design, and the future of digital media. Follow along for deep dives into the industry's moving parts.