Ideal Gas Law Formula and Examples (2025)

This entry was posted on February 8, 2022 by Anne Helmenstine (updated on February 11, 2023)

The ideal gas law is the equation of state for an ideal gas that relates pressure, volume, gas quantity, and absolute temperature. Although the law describes the behavior of an ideal gas, it approximates real gas behavior in many cases. Uses of the ideal gas law including solving for an unknown variable, comparing initial and final states, and finding partial pressure. Here is the ideal gas law formula, a look at its units, and a discussion of its assumption and limitations.

Ideal Gas Formula

The ideal gas formula takes a couple of forms. The most common one uses the ideal gas constant:

PV = nRT

where:

  • P is gas pressure.
  • V is the volume of gas.
  • n is the number of moles of gas.
  • R is the ideal gas constant, which is also the universal gas constant or the product of the Boltzmann constant and Avogadro’s number.
  • T is the absolute temperature.

There are other formulas for the ideal gas equation:

P = ρRT/M

Here, P is pressure, ρ is density, R is the ideal gas constant, T is absolute temperature, and M is molar mass.

P = kBρT/μMu

Here, P is pressure, kB is Boltzmann’s constant, ρ is density, T is absolute temperature, μ is the average particle mass, and Mu is the atomic mass constant.

Units

The value of the ideal gas constant, R, depends on the other units chosen for the formula. The SI value of R is exactly 8.31446261815324J⋅K−1⋅mol−1. Other SI units are pascals (Pa) for pressure, cubic meters (m3) for volume, moles (mol) for gas quantity, and kelvin (K) for absolute temperature. Of course, other units are fine, so long as they agree with one another and you remember the T is absolute temperature. In other words, convert Celsius or Fahrenheit temperatures to Kelvin or Rankine.

To summarize, here are the two most common sets of units:

  • R is 8.314 J⋅K−1⋅mol−1
  • P is in pascals (Pa)
  • V is in cubic meters (m3)
  • n is in moles (mol)
  • T is in kelvin (K)

or

  • R is 0.08206 L⋅atm⋅K−1⋅mol−1
  • P is in atmospheres (atm)
  • V is in liters (L)
  • n is in moles (mol)
  • T is in kelvin (K)

Assumptions Made in the Ideal Gas Law

The ideal gas law applies to ideal gases. What this means is that the gas has the following properties:

  • Particles in a gas move randomly.
  • Atoms or molecules have no volume.
  • The particles do not interact with one another. They are neither attracted to one another nor repelled by each other.
  • Collisions between gas particles and between the gas and the container wall are perfectly elastic. No energy is lost in a collision.

Ideal Gas Law Uses and Limitations

Real gases do not behave exactly the same as ideal gases. However, the ideal gas law accurately predicts the behavior of monatomic gases and most real gases at room temperature and pressure. In other words, you can use the ideal gas law for most gases at relatively high temperatures and low pressures.

<!-MONUMETRIC Repeatable 2 D:300x250 T:300x250 M:300x250,320x50 START->

<!-MONUMETRIC Repeatable 2 D:300x250 T:300x250 M:300x250,320x50 ENDS->

The law does not apply when mixing gases that react with one another. The approximation deviates from true behavior at very low temperatures or high pressures. When temperature is low, kinetic energy is low, so there is a higher likelihood of interactions between particles. Similarly, at high pressure, there are so many collisions between particles that they don’t behave ideally.

Ideal Gas Law Examples

For example, there are 2.50 g of XeF4gas in a3.00 litercontainer at 80°C. What is the pressure in the container?

PV = nRT

First, write down what you know and then convert units so they work together in the formula:

P=?
V = 3.00 liters
n = 2.50 g XeF4x 1 mol/ 207.3 g XeF4= 0.0121 mol
R = 0.0821 l·atm/(mol·K)
T = 273 + 80 = 353 K

Plugging in these values gives the answer:

P = nRT/V

P = 00121 mol x 0.0821 l·atm/(mol·K) x 353 K / 3.00 liter

Pressure = 0.117 atm

Here are more examples:

  • Solve for the number of moles.
  • Find the identity of an unknown gas.
  • Solve for density using the ideal gas law.

History

French engineer and physicist Benoît Paul Émile Clapeyron gets credit for combining Avogadro’s law, Boyle’s law, Charles’s law, and Gay-Lussac’s law into the ideal gas law in 1834. August Krönig (1856) and Rudolf Clausius (1857) independently derived the ideal gas law from kinetic theory.

Formulas for Thermodynamic Processes

Here are some other handy formulas:

Process
(Constant)
Known
Ratio
P2V2T2
Isobaric
(P)
V2/V1
T2/T1
P2=P1
P2=P1
V2=V1(V2/V1)
V2=V1(T2/T1)
T2=T1(V2/V1)
T2=T1(T2/T1)
Isochoric
(V)
P2/P1
T2/T1
P2=P1(P2/P1)
P2=P1(T2/T1)
V2=V1
V2=V1
T2=T1(P2/P1)
T2=T1(T2/T1)
Isothermal
(T)
P2/P1
V2/V1
P2=P1(P2/P1)
P2=P1/(V2/V1)
V2=V1/(P2/P1)
V2=V1(V2/V1)
T2=T1
T2=T1
isoentropic
reversible
adiabatic
(entropy)
P2/P1
V2/V1
T2/T1
P2=P1(P2/P1)
P2=P1(V2/V1)−γ
P2=P1(T2/T1)γ/(γ − 1)
V2=V1(P2/P1)(−1/γ)
V2=V1(V2/V1)
V2=V1(T2/T1)1/(1 − γ)
T2=T1(P2/P1)(1 − 1/γ)
T2=T1(V2/V1)(1 − γ)
T2=T1(T2/T1)
polytropic
(PVn)
P2/P1
V2/V1
T2/T1
P2=P1(P2/P1)
P2=P1(V2/V1)−n
P2=P1(T2/T1)n/(n − 1)
V2=V1(P2/P1)(-1/n)
V2=V1(V2/V1)
V2=V1(T2/T1)1/(1 − n)
T2=T1(P2/P1)(1 – 1/n)
T2=T1(V2/V1)(1−n)
T2=T1(T2/T1)

References

  • Clapeyron, E. (1834). “Mémoire sur la puissance motrice de la chaleur.”Journal de l’École Polytechnique(in French). XIV: 153–90.
  • Clausius, R. (1857). “Ueber die Art der Bewegung, welche wir Wärme nennen”. Annalen der Physik und Chemie (in German). 176 (3): 353–79. doi:10.1002/andp.18571760302
  • Davis; Masten (2002).Principles of Environmental Engineering and Science. New York: McGraw-Hill. ISBN 0-07-235053-9.
  • Moran; Shapiro (2000). Fundamentals of Engineering Thermodynamics (4th ed.). Wiley. ISBN 0-471-31713-6.
  • Raymond, Kenneth W. (2010). General, Organic, and Biological Chemistry: An Integrated Approach (3rd ed.). John Wiley & Sons. ISBN 9780470504765.

Related Posts

Ideal Gas Law Formula and Examples (2025)

FAQs

Ideal Gas Law Formula and Examples? ›

The Ideal Gas Law also called the Ideal Gas Equation is PV=nRT. In this equation, P is pressure, V is volume, n is moles of gas, R is a constant, and T is the temperature in Kelvin. An ideal gas is a theoretical gas that doesn't have intermolecular interactions and moves in straight lines making many collisions.

What is the ideal gas law equation example? ›

The ideal gas law can be written in terms of the number of molecules of gas: PV = NkT, where P is pressure, V is volume, T is temperature, N is number of molecules, and k is the Boltzmann constant k = 1.38 × 1023 J/K. A mole is the number of atoms in a 12-g sample of carbon-12.

What is the formula for ideal gas? ›

The ideal gas law (PV = nRT)

What are 5 examples of ideal gas? ›

Many gases such as nitrogen, oxygen, hydrogen, noble gases, some heavier gases like carbon dioxide and mixtures such as air, can be treated as ideal gases within reasonable tolerances over a considerable parameter range around standard temperature and pressure.

How to use the PV nRT formula? ›

Definition. The Ideal Gas law (PV = nRT) is an equation representing the state of a homogenous mixture of gas, which sets variables of that gas's pressure (P) times volume (V) equal to the amount in moles (n) of that gas multiplied by the ideal gas constant (R) multiplied by its temperature (T).

What is an example of the ideal gas law in real life? ›

Ideal Gas law has a lot more practical applications. It is being used to determine the densities of gases and in stoichiometric calculations. The coolants/refrigerants in your refrigerator, hot air balloons in the sky, and combustion engines in vehicles, all are based on the ideal gas law.

How to calculate the ideal gas constant? ›

The ideal gas constant, also known as the molar gas constant, is expressed as R within the formula for the ideal gas law, PV=nRT. The ideal gas constant is the same for all gases but can vary based on which units are being used, the most common expressions are R = 0.0821 (L • atm/ mol • K) OR R = 8.31 (J/ mol • K).

What are the three ideal gas laws? ›

The fundamental gas laws are the following: Boyle's Law, Charles' Law, and Avogadro's Law. We will also discuss the Gay-‐Lussac law When we combine these Laws, we get the Combined Gas Law and the Ideal Gas Law.

What is the mathematical ideal gas law? ›

As the different pieces of this puzzle came together over a period of 200 years, we arrived at the ideal gas law, PV=nRT, where P is pressure, V is volume, T is temperature, n is # of molecules and R is the universal gas constant.

What is the formula for the gas law? ›

The equations describing these laws are special cases of the ideal gas law, PV = nRT, where P is the pressure of the gas, V is its volume, n is the number of moles of the gas, T is its kelvin temperature, and R is the ideal (universal) gas constant.

How to derive the ideal gas law? ›

The ideal gas law is derived from empirical relationships among the pressure, the volume, the temperature, and the number of moles of a gas; it can be used to calculate any of the four properties if the other three are known.

What is the statement of the ideal gas law? ›

The ideal gas law states that the product of the pressure and the volume of one gram molecule of an ideal gas is equal to the product of the absolute temperature of the gas and the universal gas constant.

How to solve for n in ideal gas law? ›

However, this problem asks us to solve for the number of moles of gas, or n. To do this, you can solve for n in the equation as Sal did, and get n = PV / RT. Here, you can see that to get n, we multiply pressure and volume, and then divide by temperature and R.

How to solve for v in ideal gas law? ›

So you have the original equation, PV=nRT . To get the V, you must multiply both sides by P. Now you can check if the equation above is correct by recalling the various principles in Gas Laws.

What is the ideal real gas equation? ›

Originally, the ideal gas law looks like this: PV = nRT. P is the pressure in atmospheres, V is the volume of the container in liters, n is the number of moles of gas, R is the ideal gas constant (0.0821 L-atm/mol-K), and T is the temperature in Kelvin.

What is the gas law with example? ›

gas laws, laws that relate the pressure, volume, and temperature of a gas. Boyle's law—named for Robert Boyle—states that, at constant temperature, the pressure P of a gas varies inversely with its volume V, or PV = k, where k is a constant. Charles's law—named for J. -A.

What is ideal-gas equation of state example? ›

The simplest known example of an equation of state is the one relating the pressure P, the volume V, and the absolute temperature T of one mole of an ideal gas—that is, the ideal gas law PV = RT, in which R is the universal gas constant.

What is ideal gas and real gas example? ›

The volume of an ideal gas is Zero. The volume of a real gas is non-zero. Examples of an ideal gas and real gas are: there are no ideal gases. Examples of an ideal gas and real gas are carbon dioxide, nitrogen, water vapour, and so on.

References

Top Articles
Latest Posts
Recommended Articles
Article information

Author: Mr. See Jast

Last Updated:

Views: 6135

Rating: 4.4 / 5 (55 voted)

Reviews: 86% of readers found this page helpful

Author information

Name: Mr. See Jast

Birthday: 1999-07-30

Address: 8409 Megan Mountain, New Mathew, MT 44997-8193

Phone: +5023589614038

Job: Chief Executive

Hobby: Leather crafting, Flag Football, Candle making, Flying, Poi, Gunsmithing, Swimming

Introduction: My name is Mr. See Jast, I am a open, jolly, gorgeous, courageous, inexpensive, friendly, homely person who loves writing and wants to share my knowledge and understanding with you.