Skip to content
D DocNectar

Free Ideal Gas Law Calculator (PV = nRT)

Solve for pressure, volume, moles, or temperature using the Ideal Gas Law (PV = nRT) in SI units.

100% Free No Signup Works on all devices

Built and fact-checked by the DocNectar team — see our editorial standards

Thanks for rating!

Key Features

Instant Calculation

Get accurate results in real time with our optimized algorithm.

Mobile Friendly

Fully responsive design. Works on all devices & screen sizes.

Privacy Focused

Your data stays on your device. We don't store any inputs.

100% Free

No hidden costs. This tool is completely free forever.

The Ideal Gas Law relates the pressure, volume, amount, and temperature of a gas that behaves ideally: PV = nRT, where R is the universal gas constant. It's the single most general gas-behavior formula in introductory chemistry and physics.

How it works

Enter pressure in pascals, volume in cubic meters, amount in moles, and temperature in Kelvin — leave whichever one you want to solve for blank. The calculator uses R = 8.314 J/(mol·K) and applies PV = nRT to find the missing value.

  1. Enter pressure (Pa) — leave blank to solve for this.
  2. Enter volume (m³) — leave blank to solve for this.
  3. Enter amount of gas (mol) — leave blank to solve for this.
  4. Enter temperature (K) — leave blank to solve for this.
  5. Click Calculate to see your results.

Examples

Standard temperature and pressure

One mole of an ideal gas at standard atmospheric pressure (101,325 Pa) occupying the classic molar volume of 22.4 L (0.0224 m³) works out to a temperature very close to 273.15 K (0°C) — the textbook STP condition.

Who should use it

  • Chemistry and physics coursework on gas behavior.
  • Estimating an unknown gas property (pressure, volume, moles, or temperature) from the other three.

Industry applications

  • Chemistry and physics education
  • Basic thermodynamics and gas-behavior estimation

Advantages

  • One formula covers pressure, volume, moles, and temperature together.
  • A very good approximation for most gases under ordinary conditions.

Limitations

  • Assumes ideal gas behavior — deviates from real gases at very high pressure or very low temperature.

Common mistakes to avoid

  • Entering pressure in atm or volume in liters without converting to pascals and cubic meters first.
  • Forgetting to convert Celsius to Kelvin before entering temperature.

Best practices

  • Convert every input to SI units (Pa, m³, mol, K) before entering it.
  • Use this law for a single-state calculation; use Boyle's/Charles's/Combined Gas Law for before-and-after comparisons of the same gas sample.

Tips

  • If your numbers come out close to the classic STP figures (101,325 Pa, 0.0224 m³ per mole, 273.15 K) for one mole of gas, that's a good sign your unit conversions were done correctly.

Frequently asked questions

Yes, with no signup and no limit on how many calculations you run.
The gas constant R = 8.314 J/(mol·K) is defined for pascals, cubic meters, moles, and Kelvin — mixing in other units (like atmospheres or liters) without converting first will give a wrong answer.
Those three laws all describe one fixed amount of gas changing between two states. The Ideal Gas Law instead relates all four quantities — pressure, volume, moles, and temperature — for a gas in a single state, without needing a "before and after."
It's a very good approximation for most gases at ordinary temperatures and pressures, but real gases deviate somewhat at very high pressure or very low temperature — that's what more advanced equations of state (like van der Waals) correct for.

Get new calculators and guides in your inbox

No spam — just new tools like Ideal Gas Law Calculator and practical guides.

Favorites