Skip to content

Combined Gas Law Calculator

The combined gas law says that for a fixed amount of gas, P₁V₁ ÷ T₁ = P₂V₂ ÷ T₂, with T in kelvin. Pick the value you want, enter the other five in any units, and this calculator converts the temperatures to kelvin, rearranges the formula and shows each substitution. For example, 2.00 L of gas at 1 atm and 25 °C, squeezed to 2.5 atm and heated to 100 °C, takes up 1.001 L.

Last updated November 18, 2026 · Topic: Algebra

What the combined gas law says

For a fixed amount of gas, pressure times volume divided by absolute temperature stays the same when the gas is squeezed, expanded, heated or cooled:

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

Subscript 1 is the gas before the change and subscript 2 is after. Know five of the six values and you can find the sixth by rearranging. Multiply both sides by the denominators and divide by what is left around the unknown:

Solve forFormula
V₂V₂ = P₁V₁T₂ ÷ (P₂T₁)
P₂P₂ = P₁V₁T₂ ÷ (V₂T₁)
T₂T₂ = P₂V₂T₁ ÷ (P₁V₁)
V₁V₁ = P₂V₂T₁ ÷ (P₁T₂)
P₁P₁ = P₂V₂T₁ ÷ (V₁T₂)
T₁T₁ = P₁V₁T₂ ÷ (P₂V₂)

The law works for an ideal gas with no gas added or lost. Real gases follow it closely at everyday pressures and temperatures, and less well when they are highly compressed or close to turning into a liquid.

How to use the combined gas law calculator

  1. Choose the value to solve for. Its box disappears; its unit menu stays so you can pick the unit of the answer.
  2. Enter the other five values and choose a unit for each. You can mix units, such as atm before and kPa after.
  3. Read the answer, then the steps: the kelvin conversion, the rearranged formula, the substitution and a check that both sides give the same P × V ÷ T.

Worked example: find the final volume

2.00 L of gas at 1.00 atm and 25 °C is compressed to 2.50 atm and heated to 100 °C. What is the new volume?

  1. Convert to kelvin: T₁ = 25 + 273.15 = 298.15 K and T₂ = 100 + 273.15 = 373.15 K.
  2. Rearrange: V₂ = P₁V₁T₂ ÷ (P₂T₁).
  3. Substitute: V₂ = (1.00 × 2.00 × 373.15) ÷ (2.50 × 298.15) = 746.3 ÷ 745.4.
  4. V₂ = 1.001 L. Higher pressure shrank the gas, and the higher temperature almost cancelled it out.

Worked example: correct a gas volume to STP

A lab collects 500 mL of gas at 22 °C and 745 mmHg. What volume would it take up at 0 °C and 760 mmHg?

  1. T₁ = 295.15 K and T₂ = 273.15 K.
  2. V₂ = (745 × 500 × 273.15) ÷ (760 × 295.15) = 453.6 mL.

If your course uses the IUPAC standard pressure of 100 kPa instead of 760 mmHg, set P₂ to 100 kPa and the answer becomes 459.6 mL. The calculator converts mmHg and kPa for you.

Worked example: a tire that warms up

A tire reads 32 psi on a gauge at 15 °C. After driving, the air inside is at 45 °C. Assume the tire volume barely changes.

  1. Gauge to absolute pressure: 32 + 14.7 = 46.7 psi.
  2. P₂ = 46.7 × 318.15 ÷ 288.15 = 51.56 psi absolute.
  3. Back to a gauge reading: 51.56 − 14.7 = 36.86 psi, so the gauge reads about 36.9 psi.

Entering 32 psi straight into the formula would give 35.33 psi, which is about 1.5 psi too low. For gauge pressures, add atmospheric pressure before using the calculator, then subtract it from the answer.

Common mistakes

  • Leaving temperatures in °C or °F. This is the most common error. 50 °C is not twice as hot as 25 °C in gas law terms; 323.15 K is only about 8% more than 298.15 K.
  • Mixing units on one quantity. If P₁ is in atm and P₂ in kPa, convert one of them, or choose the units separately here.
  • Using gauge pressure. Tire and gas-cylinder gauges read above atmospheric pressure. Add it first.
  • Using the law when gas escapes or is added. If the number of moles changes, use PV = nRT for each state instead.
  • Rounding too early. Keep full values through the calculation and round the final answer to the significant figures of your data.

The combined law is a proportion at heart, which is why the proportion calculator and cross-multiplication use the same idea. For a pressure or volume unit this page does not list, convert it first with the unit converter.

FAQ

Frequently asked questions

01What is the combined gas law formula?

P₁V₁ ÷ T₁ = P₂V₂ ÷ T₂. P is pressure, V is volume and T is absolute temperature in kelvin, for the same sample of gas before (1) and after (2) a change. It joins Boyle's, Charles's and Gay-Lussac's laws into one equation, and it holds when the amount of gas does not change.

02Why must temperature be in kelvin?

The law says volume and pressure are proportional to temperature measured from absolute zero. Celsius and Fahrenheit start at other points, so doubling 10 °C to 20 °C does not double anything. Add 273.15 to a Celsius value to get kelvin. The calculator does this for you and shows the converted values.

03Do pressure and volume have to be in particular units?

No. Because the law compares a ratio, any pressure unit and any volume unit work, as long as each quantity uses the same unit on both sides. If your problem mixes them, such as atm before and kPa after, choose each unit separately and the calculator converts to pascals and litres before solving.

04How do I solve for the final temperature?

Rearrange to T₂ = P₂V₂T₁ ÷ (P₁V₁), with T₁ in kelvin. Gas at 1 atm, 2 L and 25 °C (298.15 K) that ends at 150 kPa and 1.5 L has T₂ = 150,000 × 1.5 × 298.15 ÷ (101,325 × 2) = 331.0 K, or 57.88 °C.

05How are Boyle's, Charles's and Gay-Lussac's laws related to it?

Each one is the combined law with one quantity held constant. Hold T constant and you get Boyle's law, P₁V₁ = P₂V₂. Hold P constant and you get Charles's law, V₁ ÷ T₁ = V₂ ÷ T₂. Hold V constant and you get Gay-Lussac's law, P₁ ÷ T₁ = P₂ ÷ T₂. Enter equal values for the constant quantity and the calculator names the law.

06What is the difference between the combined gas law and the ideal gas law?

The ideal gas law, PV = nRT, links one state of a gas to the number of moles n. The combined gas law compares two states of the same gas, so n and R cancel and you never need them. Use the combined law for before-and-after problems; use PV = nRT when you need moles or a mass.

07Can I use gauge pressure from a tire gauge?

Not directly. The law needs absolute pressure. A tire gauge reads pressure above the air around it, so add about 14.7 psi (1 atm) first, solve, then subtract it again. The tire example on this page shows the difference this makes.

08What does STP mean in a gas law problem?

Standard temperature and pressure. IUPAC defines it as 273.15 K (0 °C) and 100 kPa, but many textbooks still use 0 °C and 1 atm (101.325 kPa). The two give slightly different volumes, so use the one your course or textbook names.