Free of subscriptions • Self-paced • Text-based and keyboard accessible
Course homeModule I-11 · Recommended before: Before ideal-gas and gas-mixture problems
Gas law mathematics
Temperature in gas equations is absolute: convert °C to K. Pressure and gas-constant units must match.
Learn the method
P V = n R T
- Write the relevant law.
- Convert temperature to kelvin.
- Choose a gas constant with matching units.
- Rearrange the equation.
- Check whether the answer has the requested units.
Common mistake: Never place a Celsius temperature directly into PV = nRT.
Worked example
Problem: A sample has n = 1.00 mol, T = 300 K, and P = 1.00 atm. Find V using R = 0.08206 L·atm/(mol·K).
Step-by-step solution: V = nRT/P = (1.00)(0.08206)(300)/(1.00) = 24.6 L.
Check the units and whether the answer is reasonable before continuing.
More applications of this mathematics
Try each extension before expanding its solution.
Combined gas law
At constant moles, gas changes from 2.00 L at 300 K to 350 K at constant pressure: V₂ = V₁T₂/T₁ = 2.33 L.
Partial pressure
For gas mole fraction 0.30 at total pressure 2.00 atm, partial pressure = (0.30)(2.00) = 0.60 atm.
Graham’s law and gas density
For gases at the same temperature, r₁/r₂=√(M₂/M₁). Approximate H₂ relative to O₂: √(32/2)=4 times the effusion rate. Gas density can also be found from d=PM/(RT).
Independent practice — five questions
Suggested mastery threshold: four out of five. Incorrect answers display a worked explanation after submission.
Supporting reference
OpenStax Chemistry 2e / NIST — reference for this subject. This lesson’s wording, examples and questions are original.
IntoChemistry original instructional content, 2026. Formative feedback is not an official course grade. Sources are linked for independent reading. Accessibility testing with your institution and assistive technology is still recommended.