SCIENCE • THERMODYNAMICS
Ideal Gas Law Calculator
Calculate pressure, volume, amount of gas or temperature using PV = nRT.
Formula
PV = nRT, where P is pressure, V is volume, n is amount of gas, R is the gas constant and T is absolute temperature.
Worked example
At 1 mol, 101,325 Pa and 293.15 K, the ideal-gas equation gives V = nRT/P ≈ 0.0240 m³, or about 24.0 L.
How to use the ideal gas law calculator
- Select pressure, volume, amount or temperature as the unknown.
- Enter the other three values in SI units.
- Calculate and check the resulting unit.
Assumptions and units
Use consistent SI units unless the calculator explicitly says otherwise. Real physical systems can require additional effects beyond these introductory equations.
Ideal Gas Law Calculator Guide — Pressure, Volume, Temperature & Moles
Use this calculator when a problem asks for pressure, volume, temperature or amount of gas under the ideal-gas model.
The ideal gas law is an approximation. Use absolute temperature for the equation and make sure the pressure, volume and gas constant units are compatible.
Related calculators
Science Hub · Force · Power · Kinematics
Calculation context
The ideal gas law relates pressure, volume, amount of gas and absolute temperature through PV=nRT. Use absolute temperature and compatible pressure, volume and amount units for a consistent result.
Using the ideal gas model
The ideal gas law relates pressure, volume, amount of gas and absolute temperature. It is a useful approximation when intermolecular effects are small enough to ignore.
Worked example
For 1 mol of gas at 101,325 Pa and 273.15 K, the ideal-gas model gives a volume of about 0.0224 m³.
Use absolute temperature
Temperature must be expressed in kelvin for the standard ideal-gas equation. Real gases can depart from the ideal model at high pressures or near condensation conditions.
Ideal-gas FAQ
Can Celsius be entered directly?
No. Convert Celsius to kelvin before using the standard ideal-gas relationship.
Choose compatible units
The universal gas constant depends on the units used. This calculator uses pressure in pascals, volume in cubic metres, amount in moles and temperature in kelvin, with R approximately 8.314 J/(mol·K). Convert litres to cubic metres by dividing by 1,000, and convert Celsius to kelvin by adding 273.15. Using a Celsius temperature directly in PV = nRT produces an invalid result.
Worked example and scale check
For 1 mol at 101,325 Pa and 293.15 K, V = nRT/P is approximately 0.0240 m³, or 24.0 litres. The result is a useful scale check for a gas near ordinary atmospheric pressure and room temperature. Small differences can occur from rounding the gas constant and displayed values.
When real gases differ
The ideal-gas model treats particles as having negligible volume and negligible intermolecular attraction. At high pressure or near condensation, real gases may deviate from this approximation, so an equation of state designed for the substance and conditions may be more appropriate. This calculator is for the ideal-gas relationship and does not estimate non-ideal corrections.