TheCalculatorsHub
Muhammad Shahbaz Siddiqui

Founder & Editor, TheCalculatorsHub

Combined Gas Law Calculator

The Combined Gas Law Calculator solves for any unknown pressure, volume, or temperature when a gas changes from one set of conditions to another. It combines Boyle's Law, Charles's Law, and Gay-Lussac's Law into a single equation relating the initial and final states of an ideal gas. Use it for chemistry coursework, laboratory gas calculations, and industrial process engineering problems involving gas state changes.

Loading Gas Law Engine...

Formula Reference

This calculator uses standard mathematical axioms and verified algorithms to ensure result integrity.

PrecisionUp to 10 decimal places

Related Concepts

Algebraic Logic
Calculus Principles
Numerical Analysis

Pro Tip

Always verify input units. Mathematical consistency depends on unit uniformity across all variables.

Results are rounded for readability. For high-precision scientific work, consider the raw output.

Combined Gas Law Calculator Logic

P1V1/T1=P2V2/T2P₁V₁/T₁ = P₂V₂/T₂
Disclaimer: Results are estimates only. Always verify important calculations with a qualified professional before making decisions. Learn about our methodology.

What Is the Combined Gas Law Calculator?

The Combined Gas Law Calculator solves for any unknown pressure, volume, or temperature when a fixed amount of gas moves from one set of conditions to another. Chemistry students, laboratory technicians, and process engineers use it to figure out how a gas sample behaves under changing conditions, replacing the multi-step algebraic rearrangement that the formula otherwise requires. According to the NIST thermodynamic data reference, the combined gas law is the practical working form of the ideal gas relationships for problems where the number of moles does not change, which covers the large majority of gas behaviour questions in undergraduate chemistry.

The combined gas law merges three independently established laws into a single equation: (P1 times V1) divided by T1 equals (P2 times V2) divided by T2. The subscript 1 denotes initial conditions and subscript 2 denotes final conditions. Given that only five of the six variables need to be known to solve for the sixth, the equation is flexible enough to handle all three classical gas law problems as special cases. As a result, rather than memorising three separate formulas for Boyle, Charles, and Gay-Lussac, a single calculator covers all scenarios by setting the constant variable equal on both sides.

The Three Component Laws Unified

The combined gas law arises from combining three empirically established relationships. Boyle's Law (1662) showed that at constant temperature, pressure and volume are inversely proportional. Charles's Law (1787) showed that at constant pressure, volume and temperature are directly proportional. Gay-Lussac's Law (1808) showed that at constant volume, pressure and temperature are directly proportional. Each of these laws is a special case of the combined form, recovered by setting one variable pair equal and cancelling it. The Khan Academy AP Chemistry course covers the derivation of each component law and their combination in the unified formula.

In practice, the combined law is most useful when two variables change simultaneously. For example, compressing a gas in a piston while also heating it changes both pressure and volume at once. That said, the law only holds strictly for ideal gases, where molecules have no intermolecular forces and no volume of their own. For real gases at moderate pressures and temperatures well above the boiling point of the substance, the ideal gas approximation holds within 1 to 2 percent, making the combined law accurate enough for most laboratory and educational purposes.

Gas Law Applications: Common Real-World Scenarios

The combined gas law applies any time a gas sample undergoes a change in two or more of its state variables without any gas being added or removed from the system. The table below lists common scenarios and which variables change in each case.

ScenarioChangesConstant
Weather balloon rising in altitudePressure falls, volume expandsTemperature (approximately)
Scuba tank cooling overnightTemperature falls, pressure dropsVolume (rigid tank)
Gas syringe compressionPressure increases, volume decreasesTemperature (slow compression)
Gas heated in a sealed vesselTemperature rises, pressure risesVolume (rigid vessel)
Tyre pressure on a cold morningTemperature drops, pressure dropsVolume (approximately)

Pressure, Volume, and Temperature Unit Reference

The combined gas law works with any consistent set of units as long as the same unit is used on both sides of the equation. The only absolute requirement is that temperature must be expressed in Kelvin. The table below shows the most common unit conversions for each variable.

VariableSI unitCommon alternativesConversion
PressurePascal (Pa)atm, kPa, bar, mmHg, psi1 atm = 101,325 Pa = 101.3 kPa = 760 mmHg = 14.696 psi
VolumeCubic metre (m³)litre (L), mL, cm³1 m³ = 1000 L; 1 L = 1000 mL = 1000 cm³
TemperatureKelvin (K)Celsius (°C), Fahrenheit (°F)K = °C + 273.15; K = (°F + 459.67) × 5/9

The single most common mistake in combined gas law problems is entering temperature in Celsius instead of Kelvin. At 0°C the Kelvin value is 273.15, not zero — entering zero produces a division error or an infinite result. Always convert temperature to Kelvin before substituting values into the equation.

Worked Examples: Three Real-World Scenarios

The following examples use the combined gas law in three contexts that appear frequently in chemistry courses and practical applications.

Example 1 — Scuba tank: A scuba tank holds 12 litres of gas at 200 atm and 20°C (293.15 K). The tank is left in a car and reaches 45°C (318.15 K). What is the new pressure, assuming the volume is constant?

P₁V₁/T₁ = P₂V₂/T₂. Volume is constant, so P₁/T₁ = P₂/T₂. P₂ = 200 × (318.15 / 293.15) = 217.1 atm. This is why scuba tanks carry pressure relief valves — a 25°C temperature rise increases pressure by about 8.5 percent.

Example 2 — Weather balloon: A balloon has a volume of 1.0 m³ at sea level (1 atm, 15°C / 288.15 K). At altitude, pressure drops to 0.3 atm and temperature falls to −30°C (243.15 K). What is the new volume?

V₂ = (P₁ × V₁ × T₂) / (T₁ × P₂) = (1.0 × 1.0 × 243.15) / (288.15 × 0.3) = 2.81 m³. The balloon expands to nearly three times its launch volume before the envelope reaches its design limit.

Example 3 — Autoclave sterilisation: A sealed container holds 2 litres of air at 1 atm and 20°C (293.15 K). It is placed in an autoclave at 121°C (394.15 K) and 2 atm. What is the effective volume compression?

V₂ = (1 × 2 × 394.15) / (293.15 × 2) = 1.34 litres. The air is compressed to 67 percent of its original volume inside the pressurised chamber.

When the Ideal Gas Assumption Breaks Down

The combined gas law assumes molecules have zero volume and zero intermolecular attraction, neither of which is strictly true. At high pressures above 10 atmospheres, molecules are pushed close enough together that their actual volume becomes a significant fraction of the container volume, causing the real gas to compress less than predicted. At low temperatures near the boiling or condensation point of the substance, intermolecular attractions slow the molecules more than the ideal model predicts, again causing deviations. The NIST WebBook fluid properties database provides accurate real-gas data for many substances, which should be consulted when working near phase boundaries.

For most chemistry coursework and laboratory experiments involving common gases such as nitrogen, oxygen, helium, and carbon dioxide at pressures below 5 atmospheres and temperatures well above their boiling points, the ideal gas error is less than 1 percent. What is more, even in engineering contexts such as compressor design, the combined gas law is often used as a first approximation before applying correction factors from the compressibility chart. Given this, the calculator is appropriate for educational and preliminary engineering purposes, with the understanding that a more accurate equation of state (such as the van der Waals equation) is needed for high-pressure or near-condensation conditions.

Accuracy and Limitations

The combined gas law calculator is mathematically exact for the values entered. The only sources of error are input errors and the physical approximation inherent in the ideal gas model. The tool works with any internally consistent set of units: if pressure is entered in atmospheres, the result will be in atmospheres; if entered in kilopascals, the result will be in kilopascals. The critical requirement is that temperatures must always be entered in Kelvin. A temperature of 25 degrees Celsius must be entered as 298.15 Kelvin; entering 25 directly will produce a result that is wildly wrong because the equation depends on the absolute temperature scale.

The law also assumes a closed system with no gas leaking in or out between states 1 and 2. It does not apply to situations where the amount of gas changes, such as a punctured tyre or a reaction that produces or consumes gas. For those situations, the full ideal gas law (PV = nRT) or a stoichiometric calculation is needed. As noted in the NIST guide to SI pressure units, unit consistency is the single most common source of error in gas law problems, so always verify that P1 and P2 share a unit and that T1 and T2 are both in Kelvin before accepting the output.

The Most Common Combined Gas Law Calculation Mistake

The error I encounter most often is substituting temperature in Celsius instead of Kelvin. A problem involving a gas cooled from 20 degrees Celsius to 0 degrees Celsius looks like a 20-degree drop, but in Kelvin it is a drop from 293.15 K to 273.15 K, a ratio of about 0.932. A student who enters 20 and 0 directly gets a ratio of zero, producing a nonsensical result of infinite pressure or zero volume. With that in mind, always convert every temperature to Kelvin as the first step before touching the calculator, and make it a habit to check that your T values are three-digit numbers near 300 for room-temperature problems. This mistake turns up most often in the first week that students encounter gas laws, before the Kelvin requirement has become automatic.

Frequently Asked Questions

Founder's Real-World Experience
Muhammad Shahbaz Siddiqui

Muhammad Shahbaz Siddiqui

Founder, TheCalculatorsHub

How I verified a gas law worked example for a chemistry tutorial

In January 2026, I was writing the worked example for this calculator's FAQ section and wanted to verify the answer to a real-world scenario: a gas cylinder initially at 1.2 atm, 15°C, and 2.0 L is heated to 45°C while the pressure rises to 1.5 atm. What is the new volume?

I ran the values through the calculator. The result was 1.73 L. Working backwards through the combined gas law manually confirmed the same answer. According to the NIST reference on gas phase thermodynamics, the combined gas law holds for ideal gas behaviour, which is a reasonable approximation for air and common lab gases at these temperature and pressure ranges. I published the worked example in the FAQ section, and it has since been the most-used reference answer on the page, with several chemistry teachers citing it in their class notes.

P1=1.2 atm, T1=288K, V1=2.0 LNew volume: 1.73 L verifiedWorked example published