Ideal Gas Law Calculator

Last updated: 2026-08-24

Ideal Gas Law Calculator — Calculate using PV = nRT ideal gas law.
Inputs
Result
Enter values and press Calculate

How to use it

  1. Given: P=202650 Pa, V=0.015 m³, n=1.2 mol, T=0 (unknown)
  2. Rearrange: T = PV ÷ (nR)
  3. Calculate: T = (202650 × 0.015) ÷ (1.2 × 8.314)
  4. T = 3039.75 ÷ 9.9768 ≈ 304.68 K

Common mistakes

  • ⚠️ Not setting exactly one variable to 0 for solving
  • ⚠️ Using wrong value for gas constant R
  • ⚠️ Using Celsius instead of Kelvin for temperature

Worked example

Calculate pressure of 1 mol gas at 300K in 0.025 m3.

The missing variable is calculated: {missing} using PV = nRT where R = 8.314 J/(mol·K).

Input guide

FieldTypical range
PPressure: 100 to 1e8 Pa
TTemperature: 1 to 5000 K (use 0 for unknown)
VVolume: 0.0001 to 100 m³
nMoles: 0.001 to 1000 mol