Pressure, volume, temperature, and the ideal gas law
The ideal gas law PV = nRT relates pressure, volume, amount, and temperature of a gas. At the molecular level, pressure arises from particles colliding with container walls. Temperature is proportional to average kinetic energy. Boyle's Law (P ∝ 1/V at constant T,n) can be observed by changing volume. Charles's Law (V ∝ T at constant P,n) relates volume to temperature. Gay-Lussac's Law (P ∝ T at constant V,n) shows pressure increases with temperature. Deviations from ideal behavior occur at high pressure (small volume) or low temperature, where intermolecular forces become significant.
Plus 148+ other Pro labs covering AP Physics, Biology, Chemistry, Earth Science, and Math — with unlimited simulation time, advanced parameters, and detailed analytics.
Already have an account?
Sign in →Gas properties describes the macroscopic behavior — pressure, volume, temperature, and amount — of gases at the molecular level using kinetic molecular theory and the ideal gas law PV = nRT. Pressure arises from particles colliding with container walls; temperature is proportional to average kinetic energy (KE_avg = 3/2 k_B T). The four classical gas laws — Boyle's (P∝1/V), Charles's (V∝T), Gay-Lussac's (P∝T), and Avogadro's (V∝n) — are all special cases of PV = nRT, each obtained by holding the appropriate variables constant. At STP (273 K, 1 atm), 1 mol of an ideal gas occupies 22.4 L. This simulation lets you vary temperature, volume, and particle count while watching molecular motion and live pressure data update simultaneously.
MisconceptionGases expand when heated because the molecules get bigger.
CorrectMolecules do not change size with temperature. When heated at constant pressure, gas molecules move faster, collide with walls more forcefully, and the container must expand to keep pressure constant (Charles's Law: V ∝ T). Volume increases because the same molecules need more space to maintain the same collision rate, not because of physical enlargement.
MisconceptionBoyle's Law, Charles's Law, and Gay-Lussac's Law are independent laws with nothing in common.
CorrectThey are all derived from the same ideal gas law PV = nRT by holding different variables constant. Boyle: hold T and n fixed → PV = constant. Charles: hold P and n fixed → V/T = constant. Gay-Lussac: hold V and n fixed → P/T = constant. Recognizing them as special cases of one equation prevents memorizing three separate formulas.
MisconceptionTemperature in Celsius works fine in gas law calculations — adding a constant to convert to Kelvin is just optional.
CorrectIt is not optional. At 0°C (273 K), a gas has real, nonzero pressure and volume. Gas laws require absolute temperature because they are proportional relationships: V = nRT/P breaks down if T can be zero or negative (as in Celsius). Using Celsius gives nonsensical results, such as infinite pressure at −273°C instead of zero volume.
MisconceptionAll gases behave ideally as long as the temperature is above 0°C.
CorrectIdeal behavior requires low pressure (so intermolecular forces are negligible) and high temperature (so kinetic energy dominates over attraction). Real gases deviate significantly at high pressure (above ~10 atm for most) or near their boiling point, where the van der Waals a and b corrections become important. CO₂ deviates noticeably at pressures accessible in a lab.
MisconceptionDoubling the number of gas molecules always doubles the pressure, regardless of what else changes.
CorrectDoubling n doubles P only if both T and V stay constant — that is Avogadro's contribution to PV = nRT. If you also halve V at the same time, P quadruples; if you also halve T, P is unchanged. The simulation isolates this: with the volume and temperature sliders held fixed, doubling the particle count does double the pressure readout, but changing the other sliders simultaneously breaks the simple proportionality.
Gas law relationships like V ∝ T and P ∝ T are proportionalities, which only hold when T is measured from absolute zero. At absolute zero (0 K = −273.15°C), molecular motion theoretically ceases and volume approaches zero. Celsius can be negative, which would give nonsensical negative volumes or pressures if plugged directly into PV = nRT. Always convert: T(K) = T(°C) + 273.15.
An ideal gas is modeled as point particles with no volume and no intermolecular forces; PV = nRT holds exactly. Real gas molecules have finite volume and attract each other. At low pressure and high temperature, intermolecular distances are large and particle volume is a tiny fraction of container volume, so real gases approach ideal behavior. At high pressure (above ~10 atm) or near the boiling point, the van der Waals correction [P + a(n/V)²](V − nb) = nRT becomes necessary, with a and b tabulated per-substance.
Pressure is the force per unit area exerted by gas molecules colliding with container walls. Each collision transfers momentum; more collisions per second (higher T, smaller V, or more molecules) means higher pressure. This is the kinetic molecular theory explanation underlying PV = nRT — macroscopic pressure is the statistical average of billions of molecular collisions per second.
AP 9.A.1 requires students to use the ideal gas law and its special cases (Boyle's, Charles's, Gay-Lussac's, Avogadro's) to predict and calculate changes in gas properties. The simulation directly supports this by letting you isolate one variable at a time while holding others fixed, then verifying the predicted relationship (e.g., P₁V₁ = P₂V₂) numerically with the live pressure readout.
At STP (0°C = 273 K, 1 atm), PV = nRT gives V/n = RT/P = (0.08206 L·atm/(mol·K) × 273 K) / 1 atm = 22.4 L/mol. Note that the College Board now uses 273 K and 1 atm as STP; some older texts use 101.325 kPa and 273 K, which gives the same 22.4 L/mol. Use this molar volume for stoichiometry with gases only at STP.
Apply PV = nRT: P = nRT/V. Doubling T multiplies P by 2; halving V multiplies P by 2 again — so P increases by a factor of 4. This illustrates why using the combined gas law P₁V₁/T₁ = P₂V₂/T₂ is more efficient than trying to apply Boyle's and Charles's laws sequentially when two variables change at once.