Ideal Gas Law Calculator

Created by Bogna Szyk
Reviewed by Steven Wooding
Last updated: Feb 20, 2022

This ideal gas law calculator will help you establish the properties of an ideal gas subject to pressure, temperature, or volume changes. Read on to learn about the characteristics of an ideal gas, how to use the ideal gas law equation, and the definition of the ideal gas constant.

We also recommend checking out our combined gas law calculator for further understanding of the basic thermodynamic processes of ideal gases.

What is an ideal gas

An ideal gas is a special case of any gas that fulfills the following conditions:

  • The gas consists of a large number of molecules that move around randomly.
  • All molecules are point particles (they don't take up any space).
  • The molecules don't interact except for colliding.
  • All collisions between the particles of the gas are perfectly elastic.
  • The particles obey Newton's laws of motion.

Ideal gas law equation

The properties of an ideal gas are all summarized in one formula of the form:

pV = nRT


  • p is the pressure of the gas, measured in Pa;
  • V is the volume of the gas, measured in m³;
  • n is the amount of substance, measured in moles;
  • R is the ideal gas constant; and
  • T is the temperature of the gas, measured in Kelvins.

To find any of these values, simply enter the other ones into the ideal gas law calculator.

For example, if you want to calculate the volume of 40 moles of a gas under a pressure of 1013 hPa and at a temperature of 250 K, the result will be equal to:

V = nRT/p = 40 * 8.3144598 * 250 / 101300 = 0.82 m³.

Ideal gas constant

The gas constant (symbol R) is also called the molar or universal constant. It is used in many fundamental equations, such as the ideal gas law.

The value of this constant is 8.3144626 J/(mol·K).

The gas constant is often defined as the product of Boltzmann's constant k (which relates the kinetic energy and temperature of a gas) and Avogadro number (the number of atoms in a mole of substance):

R = NAk = (6.02214076 × 1023 /mol) * (1.38064852 × 10-23 J/K) = 8.3144626 J/(mol·K)

You might find this air pressure at altitude calculator useful, too.

Bogna Szyk
Escape velocity equation
Pressure (p)
Volume (V)
cu ft
Amount of substance (n)
Temperature (T)
Check out 35 similar thermodynamics calculators 🌡️
Biot numberBoltzmann factorBoyle's law… 32 more
People also viewed…

MOSFET threshold voltage

Learn how to calculate the most critical parameter of a MOSFET with our MOSFET threshold voltage calculator.


Do you feel like you could be doing something more productive or educational while on a bus? Or while cleaning the house? Well, why don't you dive into the rich world of podcasts! With this podcast calculator, we'll work out just how many great interviews or fascinating stories you can go through by reclaiming your 'dead time'!

Sound wavelength

Use the sound wavelength calculator to study the behavior of sound waves in different mediums.


Use our titration calculator to determine the molarity of your solution.
Omni Calculator
Copyright by Omni Calculator sp. z o.o.
Privacy policy & cookies
main background