Skip to main content
Chemistry

Gas Laws Simulation: Boyle's, Charles's & PV=nRT

Squeeze, warm, and cool trapped air. Find absolute zero.

At constant temperature, trapped gas pressure varies inversely with total volume (P_1 V_1 = P_2 V_2, Boyle's law), while at constant volume pressure rises linearly with absolute Kelvin temperature (P / T = constant), extrapolating to absolute zero near -273.15 deg C. In this interactive 3D gas laws simulation, students compress a sealed syringe with a 0.8 mL dead volume, heat and cool water baths, and verify PV = nRT.

  • 11 languages
  • Laptop · tablet · phone
  • Members

Create a free account to get 2 lifetime Free Lab Passes for any labs in the library. The course guide on this page stays free.

Inside this lab

  1. 1

    Preview

    • Driving question
    • What you will predict
    • Equipment and safety
  2. 2

    Lab

    • Lock in prediction
    • Run the experiment, measure and replay
    • Your notebook fills in as you go
  3. 3

    Check

    • Did the lab agree with you?
    • Claim, evidence, reasoning
    • Check questions and a printable lab report

How this gas laws simulation verifies Boyle's law and absolute zero

Trapped gas molecules strike container walls more frequently when compressed into a smaller volume (P ∝ 1 / V_total) or heated to higher average kinetic energy (P ∝ T_K). Accounting for the apparatus's 0.8 mL pressure-sensor dead volume turns raw syringe readings into an exact test of P_1 V_1 = P_2 V_2 and linear P vs. T extrapolation to absolute zero.

Apparatus, safety notes, and step-by-step procedure

  • Apparatus: 3D graduated sealed gas syringe (5.0–25.0 mL), digital pressure sensor (kPa, 0.8 mL internal dead volume), temperature-controlled water bath (C/K), thermometer, and live P-V, P-1/V, and P-T graphs.
  • Safety note (for physical lab prep): In a classroom gas-laws lab, wear safety goggles around pressurized syringes and hot water baths, and avoid forcing syringe plungers past rated pressure limits.
  1. Open the 3D bench in Ideal mode at constant room temperature (T = constant) to test Boyle's law.
  2. Set the syringe plunger to 20.0 mL, wait for stabilization, and record syringe reading (20.0 mL), total volume (20.8 mL including 0.8 mL dead volume), and pressure (52.60 kPa).
  3. Compress the plunger step-by-step to 15.0 mL, 10.0 mL, and 5.0 mL, logging pressure at each step (188.63 kPa at 5.0 mL).
  4. Calculate both P * V_syringe and P * (V_syringe + 0.8 mL) for every row; observe why only P * V_total stays constant (~1094 kPa·mL).
  5. Plot P against 1 / V_total and confirm a straight line passing cleanly through the origin.
  6. Switch to the constant-volume water bath station to test Gay-Lussac's law (P vs. T).
  7. Record sealed gas pressure across at least four bath temperatures from ice water (~0 deg C) to warm water (~80 deg C).
  8. Fit a line to P (kPa) vs. T (deg C), extrapolate the temperature intercept where P = 0 kPa to estimate absolute zero (-273.15 deg C), then re-plot against Kelvin (T_K = T_C + 273.15) to verify direct proportionality.

Recording table and model reference data

Model reference data — run your own trials in the 3D lab. Values below reflect Ideal isothermal mode including the 0.8 mL sensor dead volume (P * V_total = 1094 kPa·mL).

TrialIndependent Variable (Syringe Reading & V_total)Dependent Variable (Pressure P & Product P * V_total)UnitsObservation
Ref 1V_syringe = 20.0 mL (V_total = 20.8 mL)P = 52.60 kPa, P * V_total = 1094.1mL, kPaExpanded gas lowers wall-collision frequency
Ref 2V_syringe = 10.0 mL (V_total = 10.8 mL)P = 101.30 kPa, P * V_total = 1094.0mL, kPaHalving total volume doubles pressure
Ref 3V_syringe = 5.0 mL (V_total = 5.8 mL)P = 188.63 kPa, P * V_total = 1094.1mL, kPaIncluding 0.8 mL dead volume keeps PV invariant
Your TrialRecord V_syringe, V_total, T (C) and T (K)Record P (kPa), P * V_total, or P / T_KmL, K, kPaAlways convert Celsius to Kelvin before dividing by T

Lab report outline (blank template)

  1. Title: State the gas law relationships tested (Boyle's P-V, dead-volume correction, and absolute-zero extrapolation).
  2. Purpose: Explain how syringe compression and bath heating test PV = nRT.
  3. Hypothesis: Predict how pressure scales with 1 / V_total and absolute temperature T_K.
  4. Variables: Identify volume or bath temperature (independent); gas pressure P (dependent); moles n, dead volume, and mode (controlled).
  5. Data Table: Include V_syringe (mL), V_total (mL), 1/V_total (mL^-1), T (C), T (K), P (kPa), and P * V_total.
  6. Analysis & Calculation: Graph P vs. 1 / V_total and P vs. T (C), compute the x-intercept estimate of absolute zero, and calculate n = PV / (RT).
  7. Conclusion & Sources of Error: Explain why omitting the 0.8 mL dead volume curves P vs. 1/V, and discuss Real-mode air leaks, plunger friction, or incomplete thermal equilibration.

Compare thermal energy and latent heat in Phase Changes & Heating Curves, explore PV work cycles in Heat Engines & PV Diagrams, or browse Chemistry Simulations.

Common questions

Why must you add the 0.8 mL sensor dead volume when testing Boyle's law?

The sealed gas fills both the syringe barrel reading and the 0.8 mL tubing/sensor chamber; using total volume V_total = V_syringe + 0.8 mL keeps P * V constant accurately.

What happens to gas pressure when you compress a syringe from 20.0 mL to 5.0 mL at constant temperature?

In the ideal sealed sample (including 0.8 mL dead volume), pressure jumps from 52.60 kPa at 20.0 mL to 188.63 kPa at 5.0 mL—matching P_1 (20.8) = P_2 (5.8) = 1094 kPa·mL.

Why must temperature be converted to Kelvin in Charles's and Gay-Lussac's laws?

Gas kinetic energy is directly proportional to absolute temperature starting at 0 K (-273.15 deg C); Celsius has an arbitrary zero at water's freezing point, so P/T_C is not constant.

How do you estimate absolute zero from a pressure-temperature graph?

Measure gas pressure across several bath temperatures at constant volume, fit a straight line to P vs. T (deg C), and extrapolate the x-intercept where P reaches 0 kPa near -273.15 deg C.

Why should you wait for temperature to stabilize after moving the syringe plunger?

Rapid compression temporarily warms the gas (adiabatic heating); waiting briefly restores thermal equilibrium with the bath so you test a true isothermal Boyle's-law relationship.

How do Boyle's, Charles's, and Gay-Lussac's laws combine into PV = nRT?

Holding n moles constant gives P V / T = n R, unifying inverse P-V scaling (constant T), direct V-T scaling (constant P), and direct P-T scaling (constant V) into one ideal gas equation.