SciencePhysics

Combined Gas Law
calculator.

Change a gas sample’s pressure, volume or temperature and see what the rest does.

How it's worked out

Take a fixed amount of gas. Pressure times volume, divided by absolute temperature, keeps the same value before and after a change. OpenStax Chemistry 2e writes that relationship for two sets of conditions like this.

P1V1T1\displaystyle \frac{P_1 V_1}{T_1}=P2V2T2\displaystyle {}= \frac{P_2 V_2}{T_2}

To find one of the six values, rearrange so the answer is its partner in the other state times two ratios. Each ratio is one change, so you can read its effect on its own. For the end volume, that reads as follows.

V2\displaystyle V_2=V1×P1P2×T2T1\displaystyle {}= V_1 \times \frac{P_1}{P_2} \times \frac{T_2}{T_1}

Hold one quantity steady and its ratio becomes 1, which leaves one of the older named laws. The tool names the case when your numbers fit one.

What is left when one quantity stays fixed
Held fixedNamed lawWhat remains
TemperatureBoyleP1V1=P2V2P_1 V_1 = P_2 V_2
PressureCharlesV1T1=V2T2\frac{V_1}{T_1} = \frac{V_2}{T_2}
VolumeAmontons or Gay-LussacP1T1=P2T2\frac{P_1}{T_1} = \frac{P_2}{T_2}

Kelvin, always. OpenStax is firm that gas law temperatures must be on the kelvin scale, and NIST fixes the offset at exactly 273.15 K. The law is about proportions, so the zero has to be a true zero. Warming from 20 to 100 °C looks like 5 times in raw Celsius numbers, but the real factor for the volume is 1.273. The tool converts for you.

Absolute pressure, too. Absolute pressure is gauge pressure plus atmospheric pressure. A tire gauge reads zero at atmospheric pressure, so the number on it is not the number the law wants. Choose the gauge option and the tool adds 1 standard atmosphere, 101,325 Pa, before the sum and takes it off the answer.

Worked examples

Mira follows a weather balloon as it climbs

Mira fills a small balloon with 10 L of gas at 1 atm and 25 °C. High up, the air pressure is 50 kPa and the temperature is −23.15 °C. Two changes pull in opposite ways. The lower pressure alone multiplies the volume by 2.026, and the cold alone multiplies it by 0.8385.

Together they give 16.99 L, so the pressure drop wins by a clear margin. This assumes the balloon skin adds no pressure of its own and no gas leaks out.

Open this example in the tool

Dev checks a tire after a hot drive

Dev reads 32 psi on a gauge in a 20 °C garage. After a drive, the air in the tire reaches 50 °C. He treats the tire volume as unchanged, so only the kelvin ratio matters. Done on absolute pressure, the gauge would then read 36.78 psi.

Skipping the atmosphere and scaling the gauge reading gives 35.27 psi, which is lower than the right figure. The rubber stretches a little in real life, so treat this as a close estimate.

Open this example in the tool

Lena works out how much air a scuba tank gives her

This one comes from OpenStax. A 13.2 L tank holds air at 153 atm and 300 K. Lena breathes it at 3.13 atm and 310 K, and the law gives 667 L of air. The book gets the same value, about 667 L.

OpenStax also warns that this is only a ballpark figure. Ideal behavior is not very reasonable at 153 atm, so a diver would plan on the real gas data for the tank.

Open this example in the tool

Reading your result

The three factors tell the story. Each one is the end value over the start value. If pressure, volume and kelvin all stay in step with the law, then pressure factor times volume factor equals the kelvin factor. A sample heated from 0 to 100 °C at 1 atm goes from 1 L to 1.366 L, and a syringe pushed from 20 to 10 mL at a steady temperature goes to 2 atm.

The constant is your amount of gas in disguise. Pressure times volume over kelvin has units of joules per kelvin. It equals the moles of gas times the gas constant, so it changes only if gas gets in or out. To work with moles directly, use the ideal gas law calculator.

Trust it at everyday conditions. OpenStax says the ideal assumption is reasonable only at relatively low pressure and high temperature. Air in a room, a tire or a balloon is fine. Gas near the point where it turns to liquid, or squeezed to hundreds of atmospheres, can be well off.

Common mistakes

  • Putting Celsius or Fahrenheit straight into the formula. Neither scale has its zero at absolute zero, so the ratios come out wrong and a value of 0 °C would even divide by zero.
  • Using a tire or tank gauge reading as the pressure. The law needs absolute pressure. Use the gauge option, or add atmospheric pressure yourself and take it off the answer.
  • Letting gas escape between the two states. The law assumes the same amount of gas throughout. If you bleed a tire or a valve leaks, the before and after no longer connect.
  • Pairing the wrong values. All three subscript 1 values must describe the same moment. A pressure from the morning with a temperature from the afternoon gives a clean number that means nothing.

Questions people ask

Volume and pressure are proportional to temperature only when temperature is counted from absolute zero. Celsius puts its zero at the freezing point of water, so doubling a Celsius number does not double anything physical. Differences are the same size on both scales, which is why the mistake is easy to miss in other formulas.

Sources