Gas Laws Lab

Boyle's, Charles's, Gay-Lussac's, the combined gas law and PV = nRT: understand every step, and test your knowledge.

Your progress

A stage is mastered when you finish all 3 of its checks and get at least 2 questions right on the first try (extra practice and Challenge Mode count too).

Learning objectives

By the end of this module you should be able to:

    Need moles from grams for PV = nRT? Use the Mole Conversions Lab.

    How to use the gas laws: Boyle's, Charles's, combined and PV = nRT

    This gas laws calculator solves Boyle's law, Charles's law, Gay-Lussac's law, the combined gas law and the ideal gas law (PV = nRT) for any unknown. Pressures can be in atm, kPa, mmHg or torr, volumes in L or mL, and temperatures in °C or K. Every conversion is shown, including the step students forget most: changing °C to kelvin. For PV = nRT it picks the value of R that matches your pressure unit.

    The lab above teaches the gas laws in five stages: units, Boyle's law, Charles's and Gay-Lussac's laws, the combined gas law, and the ideal gas law, with checks and feedback on the exact slip. It's free and needs no sign-in.

    Built by Ali, a chemistry instructor at Nashville State Community College, and checked against textbook values.

    The laws in brief

    Worked example: a 2.50 L balloon heated from 25 °C to 100 °C

    1. Change to kelvin: T₁ = 25 + 273.15 = 298.15 K; T₂ = 100 + 273.15 = 373.15 K
    2. Charles's law: V₂ = V₁ × T₂ ÷ T₁ = 2.50 L × 373.15 K ÷ 298.15 K = 3.13 L
    3. Sense check: the gas got hotter at constant pressure, so it expanded. Using °C (2.50 × 100 ÷ 25 = 10.0 L) would be far too big.
    4. Ideal gas law check: 1.00 mol at 273.15 K in 22.414 L has P = nRT ÷ V = 1.00 × 0.08206 × 273.15 ÷ 22.414 = 1.00 atm.

    Common mistakes

    Questions students ask

    Why must temperature be in kelvin?

    Gas volume and pressure are proportional to absolute temperature, and only the kelvin scale starts at a true zero. Using °C in a ratio gives wrong answers, and divides by zero at 0 °C.

    Which gas law should I use?

    Look at what stays constant. Temperature constant: Boyle's law. Pressure constant: Charles's law. Volume constant: Gay-Lussac's law. P, V and T all changing: the combined gas law. Moles involved: PV = nRT.

    Which value of R do I use?

    The one whose units match your pressure: 0.08206 L·atm/(mol·K) for atm, 8.314 L·kPa/(mol·K) for kPa, or 62.36 L·mmHg/(mol·K) for mmHg. The volume must be in liters.

    What is STP?

    Standard temperature and pressure. Many courses use 0 °C (273.15 K) and 1 atm, where 1 mole of an ideal gas fills about 22.4 L. Some use 1 bar instead, so check your course.

    Do pressure units matter in Boyle's law?

    Only that both pressures are in the same unit. 1 atm = 101.325 kPa = 760 mmHg; the calculator converts mixed units for you and shows the step.

    Guides on this topic

    Related calculators