Ideal Gas Law Calculator (PV = nRT)
Solve PV = nRT for pressure, volume, moles or temperature in SI units.
Step-by-step working
- PV = nRT, R = 8.314462618 J/(molĀ·K)
- Rearranged for P with the other three values ā 101388.1904 Pa
Mathematical Formula
Overview & Explanation
The ideal gas law relates the state variables of a dilute gas.
How It Works
- Pick the unknown.
- Rearrange PV = nRT.
- Use kelvin for temperature.
Practical Applications
- Chemistry problems.
- Tank and balloon estimates.
PV = nRT term by term
P is pressure in pascals, V is volume in cubic metres, n is the amount of gas in moles, T is absolute temperature in kelvin and R = 8.314 J/(mol K) is the gas constant. Temperature must be in kelvin: add 273.15 to degrees Celsius.
Example: 2 mol of gas at 300 K in 0.05 cubic metres has P = 2 x 8.314 x 300 / 0.05 = 99,768 Pa, about 99.8 kPa, just under normal atmospheric pressure.
A useful check
One mole at 273.15 K and 101,325 Pa occupies 8.314 x 273.15 / 101,325 = 0.02241 cubic metres, or about 22.4 L. If your answer for similar conditions is far from this, a unit is probably off.
Example 1: 1 mol at 273.15 K in 22.4 L
ā 1 atm.
Inputs
Solve for: Pressure P · Volume (m³): 0.0224 · Amount (mol): 1 · Temperature (K): 273.15
Step 1
PV = nRT, R = 8.314462618 J/(molĀ·K)
Step 2
Rearranged for P with the other three values ā 101388.1904 Pa
Solved P
Result
Example 2: volume of 2 mol at 300 K, 1 atm
Room conditions.
Inputs
Solve for: Volume V Ā· Pressure (Pa): 101325 Ā· Amount (mol): 2 Ā· Temperature (K): 300
Step 1
PV = nRT, R = 8.314462618 J/(molĀ·K)
Step 2
Rearranged for V with the other three values ā 0.0492 m³
Solved V
Result
How it's calculated & sources
PV = nRT, R = 8.314462618 J/(molĀ·K) (exact SI value).
Frequently Asked Questions
Why kelvin?
When does it fail?
What is R?
When does the ideal gas law fail?
Can I use litres and atmospheres?
Related Calculators
Molarity Calculator
Calculate the molar concentration of a solution from solute mass, molar mass and solution volume.
Ohm's Law and Power Calculator
Calculate voltage, current, resistance, and electrical power with instant unit conversions.
Boyle Law Calculator
Calculate pressure volume relationship at constant temperature (P1 V1 = P2 V2).
Charles Law Calculator
Calculate volume temperature relationship at constant pressure (V1 / T1 = V2 / T2).