Science

Ideal Gas Law Calculator

Relate pressure, volume, moles, and temperature with PV = nRT for an ideal gas.

kPa
L
mol
K

Uses R = 8.314 kPa·L/(mol·K). Enter three known values.

How PV = nRT is used

Solve for whichever variable is blank. R must match your pressure and volume units (for example 0.0821 L·atm/(mol·K)). Temperature is absolute (kelvin).

Real gases deviate at high pressure and low temperature. Use this for classroom and first-pass lab estimates.

Example: 1 mol at 1 atm and 273 K

Volume is about 22.4 L with R = 0.0821 — the familiar STP molar volume sketch.

Halving absolute temperature at fixed n and P halves volume.

Questions people ask

Celsius or kelvin?

Convert °C to K by adding 273.15 before you solve.

Which R?

Match R to your P and V units. Mixing atm with pascals without converting fails.

Mixtures?

Total moles n is the sum of moles if the mixture behaves ideally.

Related calculators

For educational purposes only. Consult a qualified professional for financial or medical advice.

More in ScienceView all