Ideal Gas Law Calculator

The ideal gas law PV=nRT relates pressure, volume, moles and temperature of a gas.

What this calculator does

R = 0.08206 L·atm/(mol·K). At STP (1 atm, 273.15 K), 1 mole of gas occupies 22.4 L.

When to use this calculator

Reach for this calculator when precision matters more than rough approximation — whether that is for a financial decision, a planning task, or simply getting the right answer the first time.

Common mistakes

The most frequent error is using approximate inputs in a precise calculation and treating the result as if it were exact. The output is only as accurate as the inputs — imprecise measurements or estimated values produce imprecise results.

Real-world scenarios

A student planning their revision schedule uses the calculator to distribute a fixed number of study hours across multiple subjects based on weighting, ensuring the time allocation matches the importance of each topic in the final assessment.

Frequently asked questions

What is R in PV=nRT?

R is the ideal gas constant. R = 0.08206 L·atm/(mol·K) or 8.314 J/(mol·K).