Combined Gas Law Calculator

Solve P₁V₁/T₁ = P₂V₂/T₂ for any one value, with automatic unit and kelvin conversion.

Solve the combined gas law for any one of pressure, volume or temperature before or after a change, in any units, and see whether it is a Boyle's, Charles's or Gay-Lussac's law case.

PhysicsUpdated October 21, 2026Checked against 6 reference values

What this calculator does

The combined gas law links the pressure, volume and temperature of a fixed amount of gas before and after a change. Enter five of the six values and this calculator solves for the sixth, converting every unit for you: pressure in kPa, atm, bar, psi or mmHg, volume in liters, milliliters or cubic meters, and temperature in Celsius, Fahrenheit or kelvin. It also tells you when your problem is one of the classic special cases, Boyle's, Charles's or Gay-Lussac's law, and shows how much each quantity changed.

It works for any gas that behaves close to an ideal gas, which covers air and most common gases at everyday pressures and temperatures.

The formula

P₁V₁ ÷ T₁ = P₂V₂ ÷ T₂

P is absolute pressure, V volume and T absolute temperature in kelvin; the subscripts mark the states before and after. The relation comes from the ideal gas law PV = nRT with the amount of gas n held fixed. When temperature does not change it reduces to Boyle's law, P₁V₁ = P₂V₂; at constant pressure to Charles's law, V₁ ÷ T₁ = V₂ ÷ T₂; and at constant volume to Gay-Lussac's law, P₁ ÷ T₁ = P₂ ÷ T₂.

Worked examples

A rising weather balloon. 10 L of gas at 1 atm and 25 °C rises to where the pressure is 50 kPa and the temperature −23 °C. Its volume becomes 16.99 L: the drop in pressure roughly doubles it, while the cold shrinks it a little.

A tire warming up. A tire at 200 kPa absolute and 20 °C heats to 50 °C on the road without changing volume. The pressure rises to 220.5 kPa, about 10% more.

A sealed syringe. Pushing the plunger from 20 mL to 10 mL at constant temperature doubles the pressure to 2 atm.

Heating at constant pressure. One liter of gas warmed from 0 °C to 100 °C expands to 1.366 L.

Why temperatures must be in kelvin

The gas laws describe proportions, so temperature has to be measured from absolute zero. Using Celsius gives nonsense: going from 20 °C to 100 °C would appear to multiply the volume by 5, when the real factor is 373.15 ÷ 293.15, about 1.27. Add 273.15 to a Celsius temperature to get kelvin; the calculator does this automatically. Pressures must likewise be absolute. A tire gauge reads pressure above the atmosphere, so add about 101 kPa (14.7 psi) to a gauge reading before using it in the formula.

When the law is less accurate

Real gases depart from ideal behavior at high pressures and low temperatures, close to the point where they condense, because the molecules' own size and attractions start to matter. Steam near boiling and gases compressed to hundreds of atmospheres are typical cases; there the van der Waals equation or published property tables are more accurate. The law also assumes no gas leaks in or out. When the amount of gas changes, or you need the number of moles, use the ideal gas law calculator.

Where you see it

A bag of chips puffs up on a flight or a mountain drive because the outside pressure falls. A basketball left outside on a cold night feels flat because its pressure drops with temperature. Aerosol cans carry warnings against heat because the pressure inside rises as they warm, and scuba divers learn Boyle's law early, since air in the lungs expands as they rise toward the surface.

Combined Gas Law Calculator: common questions

What is the combined gas law?

P₁V₁ ÷ T₁ = P₂V₂ ÷ T₂: for a fixed amount of gas, pressure times volume divided by absolute temperature stays constant.

Why must temperature be in kelvin?

Because the law is about proportions measured from absolute zero. Using Celsius gives wrong answers; add 273.15 to convert. The calculator converts automatically.

How does it relate to Boyle's and Charles's laws?

Hold temperature constant and it becomes Boyle's law, P₁V₁ = P₂V₂. Hold pressure constant and it becomes Charles's law, V₁ ÷ T₁ = V₂ ÷ T₂.

Should I use gauge or absolute pressure?

Absolute pressure. Add atmospheric pressure, about 101.3 kPa or 14.7 psi, to a gauge reading such as a tire pressure.

Does it work for real gases?

Closely for most gases near room temperature and normal pressures. At high pressures or near condensation, real gases deviate and more detailed equations are needed.

Sources