Ideal Gas Law Calculator – PV = nRT Pressure Solver
Use this free Ideal Gas Law Calculator to find the pressure of a gas from PV = nRT. Enter the volume, the amount of gas in moles and the temperature in kelvin, using R = 8.314 J/(mol·K).
Formula
Ideal gas law PV = nRT, so Pressure P = nRT / V — with R = 8.314 J/(mol·K), V in cubic metres and T in kelvin.
How to use
- Enter the volume and choose its unit (m³ or litres — litres are converted automatically).
- Enter the amount of gas in moles and the temperature in kelvin (°C + 273.15).
- Click "Calculate Pressure" to get P in pascals, kilopascals and atmospheres.
Worked example
A container of 0.05 m³ holds 2 mol of gas at 300 K.
P = nRT / V = (2 × 8.314 × 300) / 0.05 = 99,768 Pa = 99.77 kPa (about 0.98 atm)
FAQ
Why must the temperature be in kelvin?
The gas laws are built on absolute temperature. A temperature in °C must first be converted: K = °C + 273.15. Using °C directly gives wrong answers.
What is an ideal gas?
A model gas whose particles have no volume and no forces between them. Real gases behave almost ideally at normal temperatures and pressures, so PV = nRT is a very good approximation.
How do I find moles from a mass?
Divide the mass in grams by the molar mass of the gas. For example, 32 g of oxygen (O₂, molar mass 32 g/mol) is exactly 1 mol.