Combined Gas Law Calculator

Combined gas law calculator covering Boyle's, Charles's and Gay-Lussac's laws. Find final pressure, volume or temperature of a fixed amount of gas.

Last updated 28 November 2026

ResultEnter values to calculate
    Show calculation steps

    What is the combined gas law?

    Combined Gas Law: For a fixed amount of gas, PV/T is constant. Holding T constant gives Boyle's law, holding P constant gives Charles's law, and holding V constant gives Gay-Lussac's law. — Boyle 1662, Charles c. 1787, Gay-Lussac 1802

    Many gas problems compare two states of the same sample of gas. A tyre warms up on a long drive. A balloon rises into thinner air. A syringe is squeezed. You know the pressure, volume and temperature at the start and want to know one of them at the end. The combined gas law answers this directly: for a fixed amount of gas, the quantity PV/T stays the same.

    It is called "combined" because it merges three older laws, each of which holds one quantity constant:

    LawHeld constantRelationshipIn words
    Boyle's law (1662)TemperatureP₁V₁ = P₂V₂Squeeze a gas and its pressure rises
    Charles's law (c. 1787)PressureV₁/T₁ = V₂/T₂Heat a gas and it expands
    Gay-Lussac's law (1802)VolumeP₁/T₁ = P₂/T₂Heat a sealed gas and its pressure rises

    Robert Boyle discovered his law by trapping air in a J-shaped glass tube with mercury and adding more mercury to compress it. Jacques Charles found the temperature–volume relationship but did not publish it. Joseph Gay-Lussac did, in 1802, crediting Charles, and also studied how pressure rises with temperature. The combined law follows from the ideal gas law: if n is fixed, then PV/T = nR, which is a constant.

    The formula explained

    P1V1T1 = P2V2T2
    SymbolQuantitySI unitMeaning
    P₁Initial pressurePaPressure in the initial state
    V₁Initial volumem³Volume in the initial state
    T₁Initial temperatureKTemperature in the initial state
    P₂Final pressurePaPressure in the final state
    V₂Final volumem³Volume in the final state
    T₂Final temperatureKTemperature in the final state

    Temperature must be absolute. T₁ and T₂ must be in kelvin (or another absolute scale such as rankine). Ratios of Celsius temperatures are meaningless: 20 °C is not "twice as hot" as 10 °C.

    Pressure and volume can be in any unit, as long as each quantity uses the same unit in both states. kPa on one side and atm on the other will give a wrong answer, although the calculator converts this for you.

    Pressure must be absolute. Gauge pressures must have atmospheric pressure added. This matters most for tyres and gas cylinders.

    Solving for each variable. For example, V₂ = P₁V₁T₂ / (T₁P₂) and T₂ = P₂V₂T₁ / (P₁V₁). The calculator rearranges for whichever quantity you choose.

    Using a special case. To apply Boyle's, Charles's or Gay-Lussac's law, enter the same value for the quantity that stays constant in both states. It cancels out.

    How to use this calculator

    1. Choose the quantity you want to find in the Calculate menu. It is highlighted as the result field.
    2. Enter the known values. Scientific notation such as 1.6e-11 is accepted.
    3. Select a unit for each value. Units are converted to SI automatically.
    4. The answer updates as you type. Open Show calculation steps to see the working, or use Copy result to share a link with your inputs.

    Step-by-step worked example

    Problem. (a) 2.00 L of gas at 101.325 kPa and 25 °C is compressed to 200 kPa and warmed to 50 °C. What is the new volume? (b) A car tyre reads 220 kPa on a gauge at 10 °C. After a long drive the air inside is at 40 °C. Assuming the volume stays the same, what does the gauge read now?

    Part (a)

    1. Convert temperatures to kelvin. T₁ = 298.15 K and T₂ = 323.15 K.
    2. Rearrange for V₂. V₂ = P₁V₁T₂ / (T₁P₂).
    3. Substitute. V₂ = 101.325 × 2.00 × 323.15 / (298.15 × 200) = 1.10 L. Compression shrinks the gas, while the warming slightly offsets this.

    Part (b)

    1. Convert to absolute pressure. P₁ = 220 + 101.3 = 321.3 kPa.
    2. Convert temperatures. T₁ = 283.15 K and T₂ = 313.15 K.
    3. Gay-Lussac's law (constant V). P₂ = P₁ × T₂/T₁ = 321.3 × 313.15 / 283.15 = 355.3 kPa absolute.
    4. Convert back to gauge. 355.3 − 101.3 = 254 kPa on the gauge, a rise of about 15%. This is why tyre pressures should be checked when the tyres are cold.

    Try it: the calculator's defaults reproduce part (a). For part (b), enter the absolute pressure 321.3 kPa and set V₁ = V₂.

    How to interpret the result

    • Check the direction of the change. Higher pressure at constant temperature means a smaller volume. Higher temperature at constant pressure means a larger volume. If your answer moves the other way, a ratio has been inverted.
    • Temperature effects are gentler than they look. Warming from 10 °C to 40 °C raises absolute temperature only from 283 K to 313 K, about 11%. The pressure or volume changes by the same 11%, not by a factor of four.
    • The answer assumes no gas escapes or enters. If a container leaks or is topped up, n changes and you need the ideal gas law for each state.
    • Condensation breaks the law. If cooling causes water vapour or another component to condense, the amount of gas changes and the result no longer holds.

    Real-world applications

    • Tyres and pressure checks. Tyre pressure rises noticeably as tyres warm up during driving, and falls on cold mornings, exactly as Gay-Lussac's law predicts.
    • Aerosol and gas cans. The "do not heat" warning is Gay-Lussac's law: heating a sealed can raises its internal pressure until it may burst.
    • Diving. Water pressure increases by about 1 atm for every 10 m of depth. At 10 m the total pressure is about 2 atm, so by Boyle's law air spaces such as the lungs and ears are squeezed to about half their surface volume. Divers must breathe out as they ascend so that expanding air does not damage their lungs.
    • Breathing. When your diaphragm moves down, your chest cavity gets larger and the pressure in your lungs drops slightly below atmospheric, so air flows in. This is Boyle's law in action.
    • Weather balloons and aircraft. Sealed packets of crisps puff up on a plane because cabin pressure is lower than at sea level. Weather balloons expand greatly as they rise.

    Common mistakes and unit-conversion tips

    1. Using °C in the ratio. Dividing 50 °C by 25 °C gives 2, but the true temperature ratio is 323.15/298.15 = 1.08.
    2. Using gauge pressure. Always convert gauge readings to absolute pressure first, then convert back at the end if needed.
    3. Mismatched units between states. If P₁ is in atm, P₂ must also be in atm when you work by hand.
    4. Swapping states. Write the initial and final values in a small table before substituting. This avoids putting T₂ where T₁ belongs.
    5. Using it when gas is added or removed. Pumping up a tyre changes n. Use PV = nRT instead.

    Frequently asked questions

    Does the amount of gas need to stay constant?

    Yes. If gas is added or removed, use the ideal gas law PV = nRT for each state instead.

    Can I use °C directly?

    You can select °C in the unit menu, but the calculation always converts to kelvin. Plugging Celsius values straight into the formula by hand gives wrong results.

    What are Boyle's, Charles's and Gay-Lussac's laws?

    They are special cases of the combined gas law. Boyle's law (constant temperature): P₁V₁ = P₂V₂. Charles's law (constant pressure): V₁/T₁ = V₂/T₂. Gay-Lussac's law (constant volume): P₁/T₁ = P₂/T₂.

    Why does tyre pressure rise after driving?

    Friction and flexing heat the tyre and the air inside. The volume stays almost the same, so by Gay-Lussac's law the absolute pressure rises in proportion to the absolute temperature. A rise from 10 °C to 40 °C increases gauge pressure by roughly 15%.

    How is the combined gas law related to the ideal gas law?

    The ideal gas law PV = nRT applies to a single state. If n is fixed, PV/T = nR is constant, so P₁V₁/T₁ = P₂V₂/T₂. The combined law is the ideal gas law applied to two states of the same sample.

    Sources and further reading

    1. Boyle, R. (1662). A Defence of the Doctrine Touching the Spring and Weight of the Air, appended to New Experiments Physico-Mechanicall, Touching the Spring of the Air (2nd ed.). Oxford.
    2. Gay-Lussac, J. L. (1802). Recherches sur la dilatation des gaz et des vapeurs. Annales de Chimie, 43, 137–175.
    3. Petrucci, R. H., Herring, F. G., Madura, J. D., & Bissonnette, C. (2017). General Chemistry: Principles and Modern Applications (11th ed.). Pearson. Chapter 6, Gases.
    4. Atkins, P., de Paula, J., & Keeler, J. (2018). Atkins' Physical Chemistry (11th ed.). Oxford University Press.