Ideal Gas Law Explained: PV=nRT Formula, Units & Real-World Uses
Quick Answer
- *The ideal gas law is PV = nRT — pressure times volume equals moles times the gas constant times temperature.
- *The gas constant R = 8.314 J/mol·K (NIST value). Use 0.08206 L·atm/mol·K if your problem uses liters and atmospheres.
- *Temperature must be in Kelvin — add 273.15 to Celsius. At STP (0°C, 1 bar), one mole of ideal gas occupies 22.414 L.
- *Boyle's, Charles', and Gay-Lussac's laws are all special cases of the ideal gas law with one variable held constant.
What Is the Ideal Gas Law?
The ideal gas law is a fundamental equation in chemistry and physics that describes how gases behave under varying conditions of pressure, volume, temperature, and amount. Written as PV = nRT, it combines four earlier empirical laws into one unified relationship.
The law treats gas molecules as point particles with no size and no forces between them. These assumptions hold surprisingly well for most gases at everyday temperatures and pressures, making PV = nRT one of the most practical equations in applied science.
The PV = nRT Formula: Every Variable Defined
Each variable in the ideal gas law has a specific meaning and required unit:
- P — Pressure: The force per unit area exerted by gas molecules on their container walls. SI unit: Pascals (Pa). Also commonly expressed in atm, kPa, bar, or psi.
- V — Volume: The space the gas occupies. SI unit: cubic meters (m³). In chemistry, liters (L) are standard.
- n — Moles: The amount of gas, measured in moles. One mole contains 6.022 × 1023 molecules (Avogadro's number).
- R — Gas constant: A universal proportionality constant. According to NIST (National Institute of Standards and Technology), R = 8.314 J/mol·K (2018 CODATA value).
- T — Temperature: Must be expressed in Kelvin (K). Convert from Celsius: T(K) = T(°C) + 273.15.
Pressure Unit Conversions
Pressure is expressed in many units depending on the field. Getting the units wrong is the most common mistake in ideal gas problems.
| Unit | Symbol | Equivalent in Pa | Common Use |
|---|---|---|---|
| Pascal | Pa | 1 Pa | SI base unit, physics |
| Kilopascal | kPa | 1,000 Pa | Weather, tires, general science |
| Atmosphere | atm | 101,325 Pa | Chemistry (historical STP) |
| Bar | bar | 100,000 Pa | IUPAC STP standard, meteorology |
| Pounds per square inch | psi | 6,894.76 Pa | US engineering, tire pressure |
| Millimeters of mercury | mmHg (torr) | 133.322 Pa | Blood pressure, vacuum systems |
For chemistry problems: if using R = 0.08206 L·atm/mol·K, pressure must be in atm and volume in liters. If using R = 8.314 J/mol·K, pressure must be in Pascals and volume in m³.
5 Steps to Solve Ideal Gas Law Problems
Follow this process every time to avoid unit errors and sign mistakes:
- Identify the known variables. Write down P, V, n, and T values from the problem, noting units.
- Convert all units to be consistent. Temperature to Kelvin, pressure to atm or Pa, volume to L or m³.
- Choose the correct value of R. Use 0.08206 L·atm/mol·K for liter/atm problems, 8.314 J/mol·K for SI unit problems.
- Solve algebraically for the unknown. Rearrange PV = nRT to isolate the target variable before plugging in numbers.
- Check your answer with dimensional analysis. The units should cancel to give you the correct unit for the unknown.
Worked Example: Finding Volume at STP
How many liters does 2.5 moles of nitrogen gas occupy at STP (0°C, 1 atm)?
Given: n = 2.5 mol, T = 273.15 K, P = 1 atm, R = 0.08206 L·atm/mol·K
Solve for V: V = nRT / P
V = (2.5 × 0.08206 × 273.15) / 1
V = 56.04 liters
This makes sense: one mole occupies 22.414 L at STP, so 2.5 moles should occupy about 56 L.
Worked Example: Finding Pressure After Heating
A sealed 10 L container holds 1 mole of gas at 25°C. What is the pressure if the gas is heated to 100°C?
Given: n = 1 mol, V = 10 L, T = 373.15 K (100°C + 273.15), R = 0.08206 L·atm/mol·K
Solve for P: P = nRT / V
P = (1 × 0.08206 × 373.15) / 10
P = 3.06 atm
For comparison, at 25°C (298.15 K) the pressure would be 2.45 atm. Heating the sealed container raised pressure by about 25%, proportional to the temperature increase in Kelvin.
The 4 Component Gas Laws
The ideal gas law unifies four historically derived laws. Each one holds a different variable constant:
Boyle's Law (1662)
Robert Boyle found in 1662 that at constant temperature, pressure and volume are inversely proportional: P × V = constant, or P&sub1;V&sub1; = P&sub2;V&sub2;. Double the pressure on a fixed amount of gas at constant temperature and its volume halves. This is the ideal gas law with n and T held constant.
Charles' Law (1787)
Jacques Charles established that at constant pressure, volume is directly proportional to absolute temperature: V / T = constant. A balloon gets larger when heated and smaller when cooled. This is PV = nRT with P and n held fixed, giving V/T = nR/P = constant.
Gay-Lussac's Law (1809)
Joseph Gay-Lussac showed in 1809 that at constant volume, pressure is directly proportional to absolute temperature: P / T = constant. This explains why aerosol cans warn against incineration — a sealed can heated to high temperature builds dangerous pressure. In PV = nRT with V and n constant, P/T = nR/V = constant.
Avogadro's Law (1811)
Amedeo Avogadro proposed in 1811 that equal volumes of gases at the same temperature and pressure contain the same number of molecules: V / n = constant. This is PV = nRT with P and T held constant, yielding V/n = RT/P = constant.
4 Assumptions of the Ideal Gas Model
The ideal gas law rests on four simplifying assumptions:
- Gas molecules are point particles. They have mass but no volume. In reality, molecules occupy space, which matters at high pressures.
- No intermolecular forces. Molecules neither attract nor repel each other. Real gases have van der Waals forces, especially polar molecules like water vapor.
- Elastic collisions only. All collisions between molecules and container walls conserve kinetic energy. No energy is lost to vibration or rotation.
- Random, continuous motion. Molecules move in random straight lines at speeds described by the Maxwell-Boltzmann distribution, which depends on temperature.
When Does the Ideal Gas Law Break Down?
Real gases deviate from ideal behavior under two conditions: high pressure and low temperature. At high pressure, gas molecules are packed tightly enough that their own volume matters. Near the condensation point, intermolecular attractions become significant.
Noble gases like helium and argon behave most “ideally” because their atoms are small and have minimal attractive forces. Large, polar molecules like CO&sub2; and NH&sub3; deviate more noticeably. The van der Waals equation corrects for real behavior by modifying both the pressure and volume terms.
Real-World Applications
Industrial Gas Storage
The US industrial gas market handles over 800 billion cubic feet of gas annually (US Energy Information Administration, 2023). Engineers use the ideal gas law to calculate how much gas can be stored in compressed cylinders and to determine safe pressure limits for storage tanks. A standard 40 L oxygen cylinder at 150 atm contains approximately 6,000 L of gas at atmospheric pressure.
Automotive Airbags
Airbags rely on rapid gas generation: a sodium azide propellant produces nitrogen gas in milliseconds. The ideal gas law determines how much propellant is needed to inflate the bag to the correct pressure and volume for effective protection.
Weather Balloons
The National Weather Service launches approximately 75,000 weather balloons per year worldwide (WMO, 2022). As balloons rise, atmospheric pressure drops and the gas inside expands according to Boyle's Law. The balloon is intentionally under-inflated at launch so it can expand to 6–8 meters in diameter at altitude before bursting.
SCUBA Diving
At 30 meters depth, pressure is roughly 4 atm. A diver breathing compressed air at that pressure uses air about 4 times faster than at the surface, directly predicted by the ideal gas law. This calculation determines safe dive times and the size of tanks required.
Solve any PV = nRT problem instantly
Use our free Ideal Gas Law Calculator →Key Statistics and Reference Values
- R = 8.314 J/mol·K — NIST 2018 CODATA recommended value for the molar gas constant
- STP = 0°C (273.15 K), 100 kPa — IUPAC definition since 1982; older texts may use 1 atm (101.325 kPa)
- Molar volume at STP = 22.414 L/mol — volume of 1 mole of ideal gas at 0°C and 1 atm
- Boyle's Law published: 1662 — in “New Experiments Physico-Mechanical” by Robert Boyle
- Gay-Lussac's Law published: 1809 — by Joseph Louis Gay-Lussac, building on Charles' unpublished work
- Avogadro's number = 6.022 × 1023 mol-1 — NIST 2018 CODATA value
Frequently Asked Questions
What is the ideal gas law formula?
The ideal gas law is PV = nRT, where P is pressure (in Pascals or atm), V is volume (in liters or m³), n is the number of moles, R is the ideal gas constant (8.314 J/mol·K), and T is absolute temperature in Kelvin. All four variables are related — change one and at least one other must change to keep the equation balanced.
What is the value of the ideal gas constant R?
R = 8.314 J/mol·K (joules per mole per Kelvin) as defined by NIST. In other unit systems, R is also expressed as 0.08206 L·atm/mol·K or 8.314 Pa·m³/mol·K. The value you use depends on the pressure and volume units in your problem. Most chemistry courses use 0.08206 L·atm/mol·K.
What is STP in chemistry and why does it matter?
STP stands for Standard Temperature and Pressure. IUPAC defines STP as exactly 0°C (273.15 K) and 100 kPa (1 bar). At STP, one mole of an ideal gas occupies 22.414 liters. Many textbooks still use the older definition of 1 atm (101.325 kPa), so always check which standard is being used.
When does the ideal gas law break down?
The ideal gas law assumes gas molecules have no volume and no intermolecular attractions — assumptions that fail at high pressures (above ~10 atm) or low temperatures near condensation. Real gases deviate most when molecules are large or polar. The van der Waals equation corrects for these effects by adding pressure and volume correction terms.
How do you convert Celsius to Kelvin for ideal gas calculations?
Add 273.15 to the Celsius temperature: T(K) = T(°C) + 273.15. The ideal gas law requires absolute temperature — using Celsius will give wrong answers. For example, 25°C = 298.15 K and 0°C = 273.15 K. Room temperature (about 20°C) is approximately 293 K.
What is the combined gas law?
The combined gas law merges Boyle's, Charles', and Gay-Lussac's laws into one equation: (P&sub1;V&sub1;)/T&sub1; = (P&sub2;V&sub2;)/T&sub2;. It describes how a fixed amount of gas changes when two or three variables change simultaneously. When one variable is held constant, the combined gas law reduces to its corresponding component law.