Skip to content
CalcEngine

Ideal Gas Law Calculator (PV = nRT)

Solve PV = nRT for any variable.

Formulas and rates last reviewed · How we check

Your inputs

Solve for
Pressure unit
Temperature unit

Results update instantly as you type.

Calculating…

 

 

Share this result

Shared messages and images include the CalcEngine name and a link that reopens these exact inputs.

Was this calculator helpful?

For education only: Results are rough estimates, not a substitute for professional design, building codes or site checks. Consult a qualified engineer (a structural engineer for buildings, a licensed electrician for wiring) before buying materials or starting work.

How the Ideal Gas Law Calculator (PV = nRT) works

For an ideal gas, pressure × volume is proportional to moles × absolute temperature.

PV = nRT
R = 0.082057 L·atm/(mol·K) = 8.314 J/(mol·K)

Worked example

1 mol at 0 °C and 1 atm

  1. P: 1 atm
  2. V: 22.414 L
  3. n: 1 mol

Volume from PV = nRT: 22.414 L

Frequently asked questions

What volume does 1 mole of gas occupy at STP?

22.414 litres at 0 °C and 1 atm.

Why must temperature be in kelvin?

The law uses absolute temperature; the calculator converts °C to K for you.

When does the ideal gas law fail?

At high pressures and low temperatures, where molecules attract and occupy space.

Which value of R?

0.082057 L·atm/(mol·K) here; 8.314 J/(mol·K) in SI units.

Related calculators

NEW

Pressure Converter

Convert 11 pressure units instantly, with quick reference tables.