Ideal Gas Law Calculator
Solve PV = nRT for pressure, volume, amount, or temperature — enter any three and get the fourth. Calculates in your browser.
Show the math
The ideal gas law relates pressure, volume, amount, and temperature:
PV = nRT (R = 8.314 J/mol·K)
Temperature must be absolute (kelvin): K = °C + 273.15. All math runs in your browser.
What this does
An ideal gas law calculator solves PV = nRT for pressure, volume, amount, or temperature — enter any three and get the fourth.
How to use it
- Enter three of the four quantities.
- Use absolute temperature (kelvin).
- Read the fourth quantity.
- Check your pressure and volume units.
How it works
The ideal gas law relates pressure, volume, amount, and temperature. Temperature must be absolute — convert with K = °C + 273.15.
PV = nRT; R = 8.314 J/mol·K
Understanding your result
The one rule that catches everyone is that temperature must be absolute, in kelvin, or the answer is nonsense, so convert from Celsius first. The ideal gas law is an approximation that holds well at everyday pressures and temperatures but drifts for real gases at high pressure or near condensation, where intermolecular forces start to matter.
Example
One mole at 273.15 K and 101.3 kPa occupies about 22.4 litres.
Sources & methodology
Last updated .
Frequently asked questions
What is the ideal gas law?
It relates pressure, volume, amount, and temperature: PV = nRT, with the gas constant R = 8.314 J/mol·K.
What temperature units are needed?
Temperature must be absolute (kelvin). Convert from Celsius with K = °C + 273.15.
Is my data stored?
No. Everything is calculated locally in your browser.
Related tools
Molar Mass Calculator
Enter a chemical formula such as Ca(OH)2 and get its molar mass in g/mol with a per-element breakdown. Calculates in your browser.
Molarity & Dilution Calculator
Find molarity from moles and volume, or solve a dilution with the C₁V₁ = C₂V₂ relationship. Calculates in your browser.
pH Calculator
Convert between [H⁺], [OH⁻], pH, and pOH — enter any one and see the rest. Calculates in your browser.
Ohm's Law Calculator
Solve any of voltage, current, resistance, or power from the two you know, using Ohm’s law and the power equation. Calculates in your browser.