Ideal Gas Law Calculator (PV = nRT)
Choose the quantity to work out, then type the other three in the units you use. See pressure, volume, amount and temperature in metric and imperial units from PV = nRT, with the exact SI value of R.
Real gases follow PV = nRT closely only at fairly low pressure and high temperature. Near condensation or at high pressure the real answer can differ noticeably.
- Volume (L)
- –
- Volume (m³)
- –
- Volume (ft³)
- –
- Pressure (kPa)
- –
- Pressure (bar)
- –
- Pressure (atm)
- –
- Pressure (psi)
- –
- Amount of gas
- –
- Temperature (K)
- –
- Temperature (°C)
- –
Assumptions
- The gas behaves as an ideal gas; real gases deviate, most at high pressure and near condensation.
- Pressure is absolute pressure and temperature is converted to kelvin before PV = nRT is used.
- R = 8.314 462 618 J/(mol·K), an exact value (NIST, CODATA 2022).
Estimate Checked 3 November 2026 NIST CODATA 2022: molar gas constant R (exact), with the Avogadro and Boltzmann constants All sources
How it is calculated
- P × V = n × R × T, with P in Pa, V in m³, n in mol, T in K
- R = N_A × k = 8.314 462 618... J/(mol·K) (exact)
- P = nRT ÷ V; V = nRT ÷ P; n = PV ÷ RT; T = PV ÷ nR
- T (K) = t (°C) + 273.15 = (t (°F) + 459.67) ÷ 1.8; 1 atm = 101,325 Pa; 1 bar = 100,000 Pa; 1 psi = 6,894.757 Pa
Worked example
One mole of gas at 0 °C and 1 atm (the STP used by OpenStax).
| You enter | |
|---|---|
| Work out | Volume (V) |
| Pressure | 1 |
| Pressure unit | Standard atmospheres (atm) |
| Volume unit | Litres (L) |
| Amount of gas | 1 |
| Amount unit | Moles (mol) |
| Temperature | 0 |
| Temperature unit | Degrees Celsius (°C) |
| You get | |
| Volume (L) | 22.414 L |
| Volume (m³) | 0.022414 m³ |
| Volume (ft³) | 0.7915 ft³ |
| Pressure (kPa) | 101.325 kPa |
| Pressure (bar) | 1.01325 bar |
| Pressure (atm) | 1 atm |
| Pressure (psi) | 14.6959 psi |
| Amount of gas | 1 mol |
| Temperature (K) | 273.15 K |
| Temperature (°C) | 0 °C |
1 mol of an ideal gas at 273.15 K and 101.325 kPa takes up 22.414 L. R = 8.314 462 618 J/(mol·K).
Questions
Why 22.414 L and not 22.7 L per mole?
22.414 L is for 0 °C and 1 atm (101.325 kPa), the STP used in many textbooks. IUPAC changed standard pressure to 1 bar (100 kPa) in 1982; at 0 °C and 1 bar one mole takes up about 22.711 L.
Can I use gauge pressure?
No. PV = nRT needs absolute pressure. Add the local atmospheric pressure (about 101.3 kPa or 14.7 psi at sea level) to a gauge reading first.
Sources and checks
- NIST CODATA 2022: molar gas constant R (exact), with the Avogadro and Boltzmann constants
- OpenStax Chemistry 2e, 9.2 The Ideal Gas Law (PV = nRT, STP, when ideal behaviour holds; Example 9.9 is a test)
- NIST SP 811 (2008), Appendix B: atm, bar, psi, liter, cubic foot and temperature conversions
Last checked: 3 November 2026. This tool passes 12 automatic tests before every release. How we check our tools
Cite this page
Ideal Gas Law Calculator (PV = nRT). GlanceDesk Compute. Last checked 3 November 2026. https://glancedeskcompute.com/
Your numbers stay on your device unless you share them.
An estimate for planning and learning: it assumes ideal-gas behaviour. It is not a design check for vessels, cylinders or pressure equipment. Results are estimates for planning and learning. They are not a design check and do not replace a qualified engineer or your local building/electrical code.