Literal Equations

Literal equations rearrange formulas to solve for any variable, letting you find missing measurements when you know the others.

A=w    w=AA = \ell w \implies w = \frac{A}{\ell}

Solve a problem with Literal Equations

Type the problem. The solver will use Literal Equations where Literal Equations is the right tool, and tell you when it is not.

Drag one in or paste from the clipboard. JPEG, PNG or WebP. You get the transcription to check before anything is solved.

How to get a better answer
  • Paste the whole problem, including the instruction word — "simplify", "solve for x" and "factor" lead to three different answers.
  • Say what you have already tried. "I got x = 4 and the book says 2" turns a solution into a diagnosis.
  • Set the level in the settings button. A calculus shortcut is not a better answer if you have not met derivatives yet.
  • For a photo, get the whole problem in frame and hold the page flat — you get the transcription to fix before anything is solved.

What each symbol means

What Literal Equations takes
AA
\ell
ww
Literal Equations
SymbolMeaning
AAThe area of a rectangle, measured in square units; treating it as just a number instead of a variable that depends on length and width breaks the ability to rearrange the formula.
\ellThe length (pronounced 'ell'), one dimension of a rectangle; it looks like the letter l or the number 1, so use the LaTeX symbol to avoid confusion in written work.
wwThe width, the other dimension; forgetting that ww is a variable you can solve for, rather than a fixed constant, means you cannot isolate it on one side of the equation.

When to use it

Use this when you have a formula but need to solve for a different variable than usual.

Level

Usually taught in: Algebra I

Worked examples

1. Solve for width from an area formula

Problem

Solve the formula A=wA = \ell w for ww.
  1. A=wA = \ell w

    This is the given formula for the area of a rectangle.

  2. A=w\frac{A}{\ell} = w

    Divide both sides by \ell to undo the multiplication and isolate ww.

  3. w=Aw = \frac{A}{\ell}

    Rewrite with ww on the left side for standard form.

Answer: w=Aw = \frac{A}{\ell}

To solve for ww, we undid the multiplication by \ell using division. This rearranged formula lets you find width when you know area and length. The method works for any values of AA and \ell.

2. Solve for cost when profit is known

Problem

The profit formula is P=RCP = R - C, where PP is profit, RR is revenue, and CC is cost. Solve for CC.
  1. P=RCP = R - C

    This is the given profit formula.

  2. PR=CP - R = -C

    Subtract RR from both sides to isolate the term containing CC.

  3. C=RPC = R - P

    Divide both sides by 1-1 (or multiply by 1-1) to make CC positive.

Answer: C=RPC = R - P

Subtraction requires tracking signs more carefully than multiplication does. Once we isolate C-C, we divide by the coefficient 1-1 to get CC by itself. This formula shows that cost equals revenue minus profit.

3. Find a monthly fee from a phone bill

Problem

A phone plan charges a monthly base fee of FF dollars, plus $0.50 per gigabyte used. Your bill is B=F+0.50gB = F + 0.50g, where gg is gigabytes. If your bill was $65 for 10 GB of usage, solve for the monthly fee.
  1. B=F+0.50gB = F + 0.50g

    This is the given formula for the total bill.

  2. F=B0.50gF = B - 0.50g

    Subtract 0.50g0.50g from both sides to isolate the monthly fee FF.

  3. F=650.50(10)F = 65 - 0.50(10)

    Substitute B=65B = 65 and g=10g = 10 into the rearranged formula.

  4. F=655=60F = 65 - 5 = 60

    Calculate 0.50×10=50.50 \times 10 = 5, then subtract to get F=60F = 60.

Answer: F=60F = 60

We first rearranged the formula to isolate FF, then substituted the values B=65B = 65 and g=10g = 10 from the problem. The monthly fee was 60 dollars. By rearranging first, we created a formula we could use for any bill amount.

Common mistakes

Where Literal Equations usually goes wrong
Answer came out wrong
Solving A=wA = \ell w for ww gives w=Aw = \frac{\ell}{A} (reversing numerator and denominator).
In the original formula, \ell multiplies ww, so divide the product AA by the multiplier \ell: w=Aw = \frac{A}{\ell}.
Solving A=wA = \ell w for ww by writing w=Aw = A - \ell (subtracting instead of dividing).
Ask: what operation connects AA, \ell, and ww? It is multiplication (×w=A\ell \times w = A), so undo it with division: w=Aw = \frac{A}{\ell}.
Solving B=F+0.50gB = F + 0.50g for FF, but writing F=0.50gBF = 0.50g - B (reversing the subtraction).
Subtract 0.50g0.50g from both sides carefully: B0.50g=F+0.50g0.50gB - 0.50g = F + 0.50g - 0.50g gives F=B0.50gF = B - 0.50g (not 0.50gB0.50g - B).
The mistakeWhy it is wrongThe fix
Solving A=wA = \ell w for ww gives w=Aw = \frac{\ell}{A} (reversing numerator and denominator).Students reverse the numerator and denominator when dividing, putting the multiplier on top instead of the product.In the original formula, \ell multiplies ww, so divide the product AA by the multiplier \ell: w=Aw = \frac{A}{\ell}.
Solving A=wA = \ell w for ww by writing w=Aw = A - \ell (subtracting instead of dividing).Students confuse subtraction with division when trying to isolate a variable, especially if they are not carefully tracking what operation connects the variables.Ask: what operation connects AA, \ell, and ww? It is multiplication (×w=A\ell \times w = A), so undo it with division: w=Aw = \frac{A}{\ell}.
Solving B=F+0.50gB = F + 0.50g for FF, but writing F=0.50gBF = 0.50g - B (reversing the subtraction).When subtracting the same quantity from both sides, students sometimes reverse the order of the terms on the right side.Subtract 0.50g0.50g from both sides carefully: B0.50g=F+0.50g0.50gB - 0.50g = F + 0.50g - 0.50g gives F=B0.50gF = B - 0.50g (not 0.50gB0.50g - B).

Tips and when to use something else

  • Always perform the same operation on both sides of the equation to keep it balanced.
  • Identify the operation connecting the variable you want to the rest of the formula, then apply its inverse: undo addition with subtraction, undo multiplication with division.
  • Check your rearrangement by substituting simple test numbers into both the original and rearranged formulas—they should give the same result.
  • Once you can rearrange one formula, try Solving by Substitution when you have two equations and need to find the values of two unknowns.

Frequently asked questions

Can I rearrange any formula for any variable?
Yes, you can rearrange any equation to solve for any variable in it. However, the rearranged expression may be more or less complex. For simple linear formulas like area, the result is straightforward; for more complicated relationships, you may end up with fractions or multiple variables on one side.
Do I have to rearrange, or can I just plug in numbers?
You can substitute numbers directly into the original formula, but rearranging first gives you a formula you can reuse for many different values. This saves time if you solve the same problem multiple times with different numbers.
What if my rearranged formula has multiple variables on one side?
That is normal and correct. For example, solving A=wA = \ell w for \ell gives =Aw\ell = \frac{A}{w}, which has AA and ww on the right side. This is exactly what you want—it tells you how to compute \ell when you know the other two values.
How do I know which operation to use when rearranging?
Look at the original formula and identify what operation connects the variable you want to the rest. If the variable is multiplied by something, divide to undo it. If it is added to something, subtract to undo it. Always apply the inverse (opposite) operation to both sides.

Need a different method?

The full solver is not scoped to one formula — type any problem and it will pick the method.

Open the math solver

Reviewed 2026-09-18