Ideal Gas Law Calculator

Select the unknown variable, enter the other three, and instantly solve PV = nRT for pressure, volume, moles, or temperature.

PV = nRT Solver

Select what to solve for, enter the other three values, and click Calculate.

Copied!

Summary

Select the unknown variable, enter the other three, and instantly solve PV = nRT for pressure, volume, moles, or temperature.

How it works

  1. Select which variable you want to solve for: Pressure, Volume, Moles, or Temperature.
  2. Enter values for the other three variables and choose their units.
  3. Click Calculate to get the result instantly.
  4. View the result converted into multiple common units.
  5. Use the gas reference table to look up standard conditions for common gases.

Use cases

  • Calculate the pressure inside a closed container after heating a gas.
  • Determine the volume a gas will occupy at a given temperature and pressure.
  • Find the number of moles in a gas sample from its pressure, volume, and temperature.
  • Solve chemistry and physics homework problems involving ideal gases.
  • Convert between pressure and volume units for engineering calculations.
  • Estimate temperature changes in gas-filled systems.
  • Check gas behavior against STP (standard temperature and pressure) conditions.
  • Teach or learn ideal gas law concepts interactively.

Frequently Asked Questions

Last updated: 2026-06-13 · Reviewed by Nham Vu