This calculator solves the combined gas law equation P₁V₁/T₁ = P₂V₂/T₂ for any one unknown when you enter the other five values. You input initial pressure, initial temperature, initial volume, final pressure, and final temperature (or any five of the six), and the calculator returns the missing final volume (or whichever variable you leave blank). It works for ideal gases and assumes constant amount of gas (moles).
Formula
The combined gas law combines Boyle’s law (P₁V₁ = P₂V₂ at constant temperature) and Charles’s law (V₁/T₁ = V₂/T₂ at constant pressure). For a fixed amount of gas, the ratio PV/T is constant, so:
P₁V₁ / T₁ = P₂V₂ / T₂
Where:
- P₁ = initial pressure (atm, kPa, mmHg, etc.)
- V₁ = initial volume (L, mL, m³, etc.)
- T₁ = initial absolute temperature (K)
- P₂ = final pressure (same unit as P₁)
- V₂ = final volume (same unit as V₁)
- T₂ = final absolute temperature (K)
To solve for V₂, rearrange: V₂ = V₁ × (P₁/P₂) × (T₂/T₁). The calculator uses this directly. Note that temperatures must be in kelvin (K) – the calculator converts from °C by adding 273.15.
Worked Example
Using the default values from the calculator: P₁ = 1.0 atm, V₁ = 2.0 L, T₁ = 25°C, P₂ = 2.0 atm, T₂ = 50°C.
- Convert temperatures to kelvin: T₁ = 25 + 273.15 = 298.15 K; T₂ = 50 + 273.15 = 323.15 K.
- Apply the formula: V₂ = 2.0 L × (1.0 atm / 2.0 atm) × (323.15 K / 298.15 K).
- Calculate the pressure ratio: 1.0 / 2.0 = 0.5.
- Calculate the temperature ratio: 323.15 / 298.15 ≈ 1.0838.
- Multiply: V₂ = 2.0 × 0.5 × 1.0838 = 1.0838 L.
The calculator rounds to three decimal places, giving V₂ = 1.084 L. This makes sense: pressure doubled (halving volume), but temperature increased (expanding volume), so the net effect is a slight decrease from 2.0 L to about 1.08 L.
Assumptions
- The gas behaves as an ideal gas (no intermolecular forces, negligible molecular volume).
- The amount of gas (number of moles) remains constant – no gas is added or removed.
- All pressures are absolute, not gauge pressure.
- All temperatures are absolute (kelvin); the calculator accepts °C but converts internally.
How to Use the Calculator
Enter any five of the six variables (P₁, V₁, T₁, P₂, V₂, T₂). The calculator computes the sixth. In this version, you provide P₁, V₁, T₁, P₂, and T₂, and it returns V₂. To solve for a different variable, you can rearrange the formula manually or use the calculator with different inputs (for example, set V₂ as the unknown by solving the equation for it).
Units: The calculator uses atm for pressure, L for volume, and °C for temperature. However, the combined gas law is unit-consistent as long as you use the same unit for both pressures and the same unit for both volumes. If you prefer kPa or mmHg, just enter those numbers – the ratio will cancel. For temperature, you must use kelvin; the calculator converts from °C automatically.
Common Mistakes and How to Avoid Them
- Forgetting to convert to kelvin: This is the most frequent error. Always add 273.15 to Celsius temperatures. Using Celsius directly yields wrong results.
- Mixing pressure units: If P₁ is in atm and P₂ in kPa, the ratio is wrong. Convert both to the same unit first.
- Using gauge pressure: The formula requires absolute pressure. Gauge pressure (relative to atmospheric) must be converted by adding atmospheric pressure (≈1 atm or 101.325 kPa).
- Ignoring the constant moles assumption: If gas is added or removed, the combined gas law does not apply; you need the ideal gas law with n.
When to Use the Combined Gas Law
Use this calculator when you have a closed system (fixed amount of gas) and conditions change from one state to another. Examples include:
- A balloon rising from sea level to altitude (pressure drops, temperature drops).
- A gas syringe heated in a water bath at constant pressure (Charles’s law).
- Compressing a gas in a piston (Boyle’s law).
- Weather balloon expanding as it rises.
If the amount of gas changes, use the ideal gas law (PV = nRT) instead. If you need to find molar mass or density, combine with the ideal gas law.
Limitations and Real-World Deviations
The combined gas law is exact for ideal gases. Real gases deviate at high pressures (above a few atmospheres) and low temperatures (near condensation). For most classroom and lab problems, the error is negligible. At high pressures, molecules interact and occupy volume, so the ideal gas law overestimates volume. For gases like helium at moderate conditions, the law works well; for polar gases like water vapor, deviations appear sooner. If you need high accuracy, use the van der Waals equation or a real gas model.
Frequently Asked Questions
What does P1 T1 P2 T2 mean?
It refers to the initial and final states of a gas in the combined gas law: P₁ and T₁ are the initial pressure and temperature, P₂ and T₂ are the final pressure and temperature. Usually paired with volumes V₁ and V₂, the equation relates these six variables.
Do I need to use kelvin or Celsius?
Always use kelvin in the formula. Celsius does not work because the law is based on absolute temperature. The calculator converts automatically, but if you do it by hand, add 273.15 to °C to get K.
Can I use any pressure unit?
Yes, as long as both pressures are in the same unit. The ratio cancels the unit. Common choices are atm, kPa, mmHg, or torr. Just don’t mix them.
What if the amount of gas changes?
Then the combined gas law is not valid. You need the ideal gas law PV = nRT, where n is the number of moles. If n changes, you must account for it separately.
Why do I get a negative volume sometimes?
That happens if you enter a temperature below absolute zero (in kelvin) or a negative pressure. The calculator prevents this by limiting inputs, but if you manually use the formula, ensure all temperatures are positive kelvin and pressures are positive.
Is this the same as the ideal gas law?
No. The ideal gas law (PV = nRT) relates pressure, volume, temperature, and amount of gas in one state. The combined gas law compares two states of the same gas sample without needing the gas constant R.