Ideal Gas Law Calculator (PV=nRT)
Using the ideal gas law PV=nRT, enter 3 of pressure, volume, amount of substance (moles), and temperature to calculate the remaining value.
Usage tips
- Always enter temperature as absolute temperature (Kelvin, K). Entering a Celsius value directly will produce an incorrect result.
- The gas constant used here is R=0.082057 L·atm/(mol·K). Pressure is unified in atm and volume in L.
- This equation is an approximation that assumes an "ideal gas." At high pressure and low temperature, real gases may deviate from this behavior.
- Switching the "value to calculate" hides that field's input and automatically calculates it from the other three values.
Frequently asked questions
Side Note — How the gas laws were unified
The ideal gas equation of state PV=nRT actually combines several laws that were discovered separately between the 17th and 19th centuries into a single equation. Boyle's law (P×V constant at constant temperature), Charles's law (V/T constant at constant pressure), and Avogadro's law (equal volumes of gas at the same temperature and pressure contain the same number of molecules, regardless of the type of gas) were each independently discovered empirical rules that were unified into one equation by the mid-19th century.
This unification is credited to the French engineer Émile Clapeyron. In 1834, he combined Boyle's law and Charles's law to publish an equation of the form PV=RT (per mole), which was later refined by incorporating Avogadro's law into today's PV=nRT form.
The "ideal gas" assumption merely neglects the interactions between gas molecules and the size of the molecules themselves, but under conditions close to standard temperature and pressure, it reproduces the behavior of real gases surprisingly well. This combination of simplicity and practicality is why, nearly 200 years later, it remains one of the first things taught in chemistry and physics education.