Rearranging Chemistry Equations: From PV = nRT to Any Unknown
Solve for any variable in PV = nRT, M = n/V, and other chemistry formulas using inverse operations, cross-multiplication, and unit checks.
Quick answer
Rearranging an equation means applying inverse operations to both sides until the target variable stands alone. The equation stays balanced throughout — only its shape changes, never its meaning.
Example: From PV = nRT, dividing both sides by P gives V = nRT/P. With n = 2.00 mol, T = 300 K, P = 2.00 atm: V = (2.00)(0.082057)(300)/2.00 = 24.6 L.
What you will learn
- Isolate any variable using inverse operations on both sides
- Rearrange PV = nRT to solve for P, V, n, T, or R
- Rearrange M = n/V to solve for moles or volume
- Use cross-multiplication to solve proportions like M1V1 = M2V2
- Verify a rearranged equation by checking units
The golden rule: both sides, always
Every rearrangement obeys one rule: whatever you do to one side, do to the other. An equation is a balanced scale — add, subtract, multiply, or divide both sides by the same thing, and the balance holds.
To isolate a variable, work backward through the operations trapping it, undoing each with its inverse:
- Trapped by addition → subtract from both sides.
- Trapped by multiplication → divide both sides.
- Trapped in a denominator → multiply both sides by it.
Each step should leave the target variable a little more alone than before.
Undoing multiplication in PV = nRT
The ideal gas law multiplies four quantities together, so isolating any one of them means dividing both sides by the rest:
- Solve for P: PV = nRT → divide by V → P = nRT / V
- Solve for V: divide by P → V = nRT / P
- Solve for n: divide by RT → n = PV / RT
- Solve for T: divide by nR → T = PV / nR
- Solve for R: divide by nT → R = PV / nT
Notice the pattern: the variable you want moves to one side alone, and everything else collects on the other. You never need to memorize five separate formulas — one equation plus the golden rule produces all of them.
Handling fractions: M = n/V
Molarity is defined as moles over volume, M = n / V. Because the variable sits in a fraction, the inverse operation is multiplication:
- Solve for n: multiply both sides by V → n = M × V. (Moles equal molarity times volume — the workhorse of solution preparation.)
- Solve for V: multiply both sides by V, then divide by M → V = n / M.
Worked example: how many moles are in 0.250 L of 2.00 M NaCl? n = (2.00 mol/L)(0.250 L) = 0.500 mol. The liters cancel, leaving moles — the units confirm the rearrangement.
When the target variable is in a denominator, multiply both sides by that denominator first. Reaching for division instead is the most common rearrangement error.
Every form of the ideal gas law
The ideal gas law solved for each variable, collected in one place for reference:
- Pressure: P = nRT / V
- Volume: V = nRT / P
- Moles: n = PV / RT
- Temperature: T = PV / nR
- Gas constant: R = PV / nT
Derive whichever you need on the spot rather than memorizing all five. On an exam, writing PV = nRT and then performing one division step is faster and less error-prone than recalling a memorized variant.
Cross-multiplication for proportions
Chemistry is full of proportions — two fractions set equal. The dilution equation M1V1 = M2V2 is the classic example. Cross-multiplication (multiplying both sides by both denominators) untangles them:
- Solve for V2: M1V1 = M2V2 → divide both sides by M2 → V2 = M1V1 / M2
- Solve for M1: divide both sides by V1 → M1 = M2V2 / V1
Example: diluting 0.100 L of 6.00 M HCl to 2.00 M. V2 = (6.00)(0.100) / 2.00 = 0.300 L. The concentrated volume times its molarity, divided by the target molarity — and the answer (0.300 L) is sensibly larger than the starting volume.
Multi-step isolation
When conditions change, the combined gas law P1V1/T1 = P2V2/T2 relates the before and after states. Solving for T2 shows multi-step isolation:
- Multiply both sides by T2: P1V1T2 / T1 = P2V2.
- Multiply both sides by T1: P1V1T2 = P2V2T1.
- Divide both sides by P1V1: T2 = P2V2T1 / (P1V1).
The strategy is the same as always — clear denominators first with multiplication, then isolate with division. Each step keeps the equation balanced, so the final form is guaranteed correct if every step was.
Checking with units
After rearranging, check the units of your new formula — they must combine to the target variable's unit. This catches algebra mistakes that numbers alone would hide.
Check V = nRT / P with R = 0.082057 L·atm/mol·K: (mol × L·atm/mol·K × K) / atm = L. Moles cancel, kelvin cancels, atmospheres cancel — liters remain, which is exactly what a volume should be.
If the units do not work out, the rearrangement is wrong, no matter how confident the algebra felt. Also confirm temperatures are in kelvin before evaluating any gas-law form — unit checking cannot save a Celsius input.
A correct rearrangement always produces the correct unit for the target variable. Make this check a reflex, and a whole category of exam errors disappears.
Variables and units
| Symbol | Name | Unit | Meaning |
|---|---|---|---|
| pressure | atm (or Pa, kPa) | Pressure of the gas | |
| volume | L (or m³) | Volume of the gas | |
| moles | mol | Amount of gas | |
| temperature | K | Absolute temperature | |
| gas constant | L·atm/mol·K | Ideal gas constant | |
| molarity | mol/L | Molar concentration of a solution |
Common mistakes
Nothing moves on its own. Every rearrangement is an inverse operation applied to both sides — dividing both sides by P is what isolates V in PV = nRT, not teleporting P elsewhere.
Only inverse pairs undo each other: addition with subtraction, multiplication with division, powers with roots. Dividing cannot undo a subtracted term — you must add first.
Rearranging symbols and computing with numbers are the same algebra. Rearranging first is usually cleaner, but substituting first and then solving works too.
Cross-multiplying a proportion is just multiplying both sides by both denominators. The equation stays balanced; only its shape changes.
Real-world applications
Solving ideal gas law problems for any unknown variable
Computing dilutions with M1V1 = M2V2
Finding moles or volume from a target molarity
Rearranging the combined gas law for changing conditions
Isolating variables in rate laws and equilibrium expressions
Frequently asked questions
Should I rearrange the equation first or plug in numbers first?
Rearrange first when the algebra is simple — it keeps numbers small and reveals the relationship. Plug in first when the rearrangement is messy. Either way gives the same answer if the algebra is correct.
What if the variable appears more than once in the equation?
Collect the terms containing the variable, factor it out, then divide. For example, from P1V1/T1 = P2V2/T2, solving for T2 means cross-multiplying to get T2 alone: T2 = P2V2T1/(P1V1).
How do I rearrange an equation with an exponent?
Apply inverse operations in reverse order of operations: undo addition/subtraction first, then multiplication/division, then exponents last (with roots). For T² = 2ax, take the square root of both sides: T = √(2ax).
Why do the units have to match the gas constant R?
Because the gas constant's numerical value depends on its units. R = 0.082057 L·atm/mol·K only works with pressure in atm and volume in liters — convert first, or choose the R that matches your units.
What is the fastest approach on a timed exam?
Rearrange symbolically on paper before touching the calculator. It is faster than retyping numbers for each variable, and it makes unit checking possible — which is how you catch the classic Celsius-instead-of-kelvin mistake.