Skip to main content
Science & engineeringLocal in browser — nothing is uploaded

Ideal gas law & thermodynamics

Solve PV = nRT using CODATA 2022 molar gas constant R = 8.3144626 J/(mol·K) with automatic kPa/atm, Liters/m³, and Celsius/Kelvin conversions.

Pressure
101.325 kPa
1.0000 atm
Volume
22.4140 L
0.022414 m³
Moles (n)
1 mol
Temperature
273.15 K
0.00 °C

PV = nRT using CODATA 2022 R = 8.31446261815324 J/(mol·K). Real gases deviate from ideality near condensation or high pressure.

Processing runs inside your browser without accounts or server uploads. Modular TypeScript domain logic tested locally.

Report a problem with this tool

State equation & bounds validation

Strict Kelvin positivity: Converts °C to Kelvin automatically and rejects non-physical negative volumes, pressures, or sub-absolute-zero temperatures.

Frequently asked questions

Why does STP show ~22.414 L per mole?
At 101.325 kPa (1 atm) and 273.15 K (0 °C), 1 mole of an ideal gas occupies 22.414 Liters.
When does PV = nRT lose accuracy?
At very high pressures or low temperatures near liquefaction, intermolecular forces require real-gas models like Van der Waals.