Active experiment

Ideal Gas Law Calculator

Calculate ideal gas law with validated inputs, formula substitution, and worked steps.

Step 01 · Set up

Fill in the mathematics

Replace the highlighted values below. Tab moves naturally through the equation.

Step 03 · Answer

Ready when you are

Substitution & process

Enter the known values, then select Calculate. Your working steps will appear here.

Understand the method

What does the ideal gas law calculation mean?

The ideal gas law relates pressure, volume, amount, and absolute temperature for a simplified gas model. It combines the proportional relationships described by the elementary gas laws.

When to use it

Use it for gases at conditions where intermolecular forces and molecular volume are small enough to neglect.

Formula

PV = nRT

In plain text: PV = nRT

Variables and units

SymbolMeaning
Pabsolute pressure
Vgas volume
namount in moles
Rgas constant matched to the units
Tabsolute temperature in kelvin

How to use the calculator

  1. Enter each known value in its labeled field.
  2. Select the answer precision you want.
  3. Choose Calculate answer to see the result and working.

Worked example

For 1.00 mol at 273.15 K and 1.00 atm, V = nRT/P ≈ 22.414 L when R = 0.082057 L·atm·mol⁻¹·K⁻¹.

Common mistakes

  • Convert temperature to kelvin.
  • Match the units of R to pressure and volume.
  • Use absolute rather than gauge pressure.

Interpret the result

Real gases deviate most at high pressure and low temperature.