🔬
🔬 Science & engineering

Combined Gas Law Calculator (Boyle, Charles, Gay-Lussac)

Results update as you type.

Your numbers

Understanding the combined gas law calculator — concept and principle

The combined gas law predicts how a fixed amount of gas responds when two of its three state variables change at once. You give the starting pressure, volume and temperature, plus the new pressure and new temperature, and the calculator returns the new volume. Typical uses are scuba and compressed-air problems, weather balloons, syringes and piston questions in physics and chemistry classes.

Combined gas law: doubling pressure while heating from 20 to 50 °CDoubling the pressure halves the 10 L volume, and warming from 293.15 K to 323.15 K multiplies it by 1.102, giving 5.51 L.Squeeze it and warm it at the same timeBeforeAfter1×2×10 L100 kPa · 20 °C5.51 L200 kPa · 50 °C×0.5×1.102pressure · heatV₂ = 10 × (100 / 200) × (323.15 / 293.15)= 10 × 0.5 × 1.102 = 5.51 L
Double pressure halves the gas; the warming (in kelvin) adds back about 10%, giving 5.51 L.

How it is calculated

The law states P₁V₁ / T₁ = P₂V₂ / T₂, so the new volume is V₂ = V₁ × (P₁ / P₂) × (T₂ / T₁).

The principle

The combined law is the ideal gas law PV = nRT with the amount n held constant: PV / T equals nR, which does not change. It therefore contains three classic special cases. With T fixed it reduces to Boyle's law (P₁V₁ = P₂V₂), with P fixed to Charles's law (V₁/T₁ = V₂/T₂), and with V fixed to Gay-Lussac's law (P₁/T₁ = P₂/T₂). Writing the answer as V₁ × (P₁/P₂) × (T₂/T₁) makes the logic visible: the pressure ratio squeezes or expands the gas, and the temperature ratio corrects for heating or cooling.

Worked example

  1. Inputs: P₁ = 100 kPa, V₁ = 10 L, T₁ = 20 °C, P₂ = 200 kPa, T₂ = 50 °C.
  2. Convert temperatures: T₁ = 293.15 K, T₂ = 323.15 K.
  3. Pressure factor: 100 / 200 = 0.5, so doubling the pressure alone would give 5 L.
  4. Temperature factor: 323.15 / 293.15 = 1.10234.
  5. V₂ = 10 × 0.5 × 1.10234 = 5.511683439 L.
How V₂ (L) changes with P₂ (kPa)How V₂ changes with P₂051015202550100150200250300400Example: 5.511683439P₂ (kPa)
Each point is the calculator re-run with only “P₂ (kPa)” changed; the gold point is the default example. Change the inputs above and this chart follows your numbers.
P₂ (kPa)V₂ (L)
5022.04673375
10011.02336688
1507.348911251
2005.511683439
2504.409346751
3003.674455626
4002.755841719

How to read the result

Pressure and volume pull in opposite directions: doubling P halves V. Temperature works in the same direction as volume, but only through kelvin: going from 20 °C to 50 °C is not a 2.5-fold change but about 10%. If V₂ is bigger than V₁ the gas expanded, which happens when the temperature rise outweighs the pressure rise. A quick sanity check is to estimate each factor separately, as in step 3, before trusting the final figure.

Common mistakes

Keep in mind: The result assumes ideal-gas behaviour and a sealed, constant amount of gas. At high pressures or near condensation (for example, humid air cooling to its dew point) real gases deviate, and the formula no longer holds exactly.

Frequently asked questions

Can I use bar, atm or psi instead of kPa?

Yes. Only the ratio P₁/P₂ enters, so any pressure unit works if both values use it and both are absolute.

How do I find the new pressure instead of the volume?

Rearrange to P₂ = P₁ × (V₁/V₂) × (T₂/T₁). The same ratios apply in a different order.

Why must temperature be in kelvin?

Gas volume is proportional to absolute temperature, which starts from absolute zero. The Celsius scale has an arbitrary zero, so its ratios have no physical meaning.

Sources: P. Atkins and J. de Paula, Atkins' Physical Chemistry, Oxford University Press · OpenStax, Chemistry 2e, Chapter 9 "Gases", Rice University

Checked 8 Nov 2026. Standard textbook formulas in SI units, computed in your browser. For learning and estimates — real designs must follow your local codes and be checked by a qualified engineer.

🔬 All science & engineering tools →🌍 Calculators by country →