Calculateus

Combined Gas Law Calculator

Calculate the pressure, volume, or temperature of a fixed amount of gas as conditions change.

Result

Final Pressure
2 atm
Final Volume
2.5 L
Final Temperature
300 K

About the Combined Gas Law

The Combined Gas Law Calculator tracks how pressure, volume, and temperature all relate for a fixed quantity of gas as it moves between two different states. Unlike the Ideal Gas Law, it doesn't require knowing the number of moles of gas present, making it useful whenever you're comparing a gas sample's conditions before and after a change. Choose which final quantity to solve for, then enter the rest of the known pressure, volume, and temperature values.

How It Works

You select whether to solve for the final pressure, final volume, or final temperature, then fill in the initial pressure, volume, and temperature along with the two known final values. The calculator applies the combined gas law relationship, which holds that pressure times volume divided by temperature stays constant for a fixed amount of gas, and rearranges it algebraically to isolate the value you selected. All three final quantities appear in the result, with the solved-for one highlighted.

P1V1 / T1 = P2V2 / T2. Solving for P2: P2 = (P1 x V1 x T2) / (T1 x V2). Solving for V2: V2 = (P1 x V1 x T2) / (T1 x P2). Solving for T2: T2 = (P2 x V2 x T1) / (P1 x V1).

Formula & Methodology

Since the combined gas law keeps PV divided by T constant, computing the initial value of that ratio and setting it equal to the final ratio lets you solve for whichever quantity is missing. For an initial state of 1 atmosphere, 5 liters, and 300 Kelvin compressed to a final volume of 2.5 liters while temperature stays at 300 Kelvin, the final pressure is found from 1 times 5 times 300, divided by 300 times 2.5, which equals 1500 divided by 750, or 2 atmospheres exactly.

Examples

Compressing a gas at constant temperature

Starting at 1 atmosphere, 5 liters, and 300 Kelvin, and compressing the volume down to 2.5 liters while temperature holds steady at 300 Kelvin, the calculator solves for a final pressure of exactly 2.00 atmospheres.

Finding the final volume across a temperature and pressure change

Starting at 2 atmospheres, 10 liters, and 350 Kelvin, and cooling to 280 Kelvin while pressure rises to 4 atmospheres, the calculator solves for a final volume of 4.00 liters.

Advantages

  • Solves for pressure, volume, or temperature from the same input layout, covering all three common problem directions in one tool.
  • Skips the need to know the number of moles of gas present, unlike the Ideal Gas Law, which is convenient when that figure isn't known or doesn't matter.
  • Displays all three final quantities together, making it easy to double check the scenario's other numbers even when only one was being solved for.

Common Mistakes

  • Entering temperature in Celsius instead of Kelvin, which invalidates the proportional relationship the combined gas law depends on.
  • Leaving the final volume or final pressure field at its default value when solving for a different quantity, and accidentally treating that leftover number as a real input.
  • Assuming the combined gas law applies when the amount of gas itself changes, when it's only valid for a fixed, unchanging quantity of gas.

Edge Cases to Watch For

  • The initial temperature must be entered in Kelvin and greater than zero, since the relationship is built on an absolute temperature scale.
  • When solving for final pressure, the final volume can't be zero, and when solving for final volume, the final pressure can't be zero, both appear in a denominator and will trigger an error if left at zero.
  • When solving for final temperature, the initial pressure times initial volume can't be zero, since that product also sits in a denominator.
  • The calculator assumes the amount of gas stays fixed between the initial and final states. If gas is added or removed, the combined gas law doesn't apply and the Ideal Gas Law, which accounts for moles directly, is the appropriate tool instead.

Common Use Cases

  • Chemistry students solving textbook problems that involve two full gas states rather than a single constant variable.
  • Engineers and technicians estimating how a sealed gas sample's pressure or volume will respond to a temperature change during a process.
  • Anyone checking scuba tank, weather balloon, or pneumatic system behavior where a trapped gas moves between two sets of conditions.
Written & fact-checked by the Calculateus TeamLast updated August 5, 2026How we verify our formulas

Frequently asked questions

How is this different from the Ideal Gas Law Calculator?

The Ideal Gas Law (PV=nRT) needs to know the actual number of moles present. The Combined Gas Law (P₁V₁/T₁ = P₂V₂/T₂) tracks a FIXED amount of gas as it moves between two different states, without ever needing to know how many moles that is - useful whenever you're comparing 'before and after' conditions for the same trapped gas sample.

Conclusion

The combined gas law folds Boyle's, Charles's, and Gay-Lussac's laws into one relationship that holds for any fixed quantity of gas moving between two states. This calculator handles the rearrangement automatically, whichever of the three final quantities is unknown.