What is the ideal gas law? (article) | Khan Academy (2025)

Learn how pressure, volume, temperature, and the amount of a gas are related to each other.

What is an ideal gas?

Gases are complicated. They're full of billions and billions of energetic gas molecules that can collide and possibly interact with each other. Since it's hard to exactly describe a real gas, people created the concept of an Ideal gas as an approximation that helps us model and predict the behavior of real gases. The term ideal gas refers to a hypothetical gas composed of molecules which follow a few rules:

  1. Ideal gas molecules do not attract or repel each other. The only interaction between ideal gas molecules would be an elastic collision upon impact with each other or an elastic collision with the walls of the container.

    The phrase elastic collision refers to a collision wherein no kinetic energy is converted to other forms of energy during the collision. In other words, kinetic energy can be exchanged between the colliding objects (e.g. molecules), but the total kinetic energy before the collision is equal to the total kinetic energy after the collision.

    A car crash where kinetic energy gets converted into heat energy and sound energy yielding two crumpled bumpers would not be elastic.

  2. Ideal gas molecules themselves take up no volume. The gas takes up volume since the molecules expand into a large region of space, but the Ideal gas molecules are approximated as point particles that have no volume in and of themselves.

If this sounds too ideal to be true, you're right. There are no gases that are exactly ideal, but there are plenty of gases that are close enough that the concept of an ideal gas is an extremely useful approximation for many situations. In fact, for temperatures near room temperature and pressures near atmospheric pressure, many of the gases we care about are very nearly ideal.

If the pressure of the gas is too large (e.g. hundreds of times larger than atmospheric pressure), or the temperature is too low (e.g. 200C) there can be significant deviations from the ideal gas law. For more on non-ideal gases read this article.

What is the molar form of the ideal gas law?

The pressure, P, volume V, and temperature T of an ideal gas are related by a simple formula called the ideal gas law. The simplicity of this relationship is a big reason why we typically treat gases as ideal, unless there is a good reason to do otherwise.

PV=nRT

Where P is the pressure of the gas, V is the volume taken up by the gas, T is the temperature of the gas, R is the gas constant, and n is the number of moles of the gas.

Molesn are a way to describe how many molecules are in a gas.

1mole is equal to 6.02×1023molecules. This number is called Avogadro's constant NA and it's a way to convert from moles to molecules or vice versa.

NA=6.02×1023moleculesmole

For a typical room there is likely to be at least 1000moles of gas molecules. That's an almost unthinkably high number of molecules since,

1000×6.02×1023molecules=6.02×1027=six billion billion billion gas molecules

This is far larger than the estimated number of stars in the Milky Way galaxy, and is even larger than most estimates of the number of stars in the observable universe.

Perhaps the most confusing thing about using the ideal gas law is making sure we use the right units when plugging in numbers. If you use the gas constant R=8.31JKmol then you must plug in the pressure P in units of pascalsPa, volume V in units of m3, and temperature T in units of kelvinK.

If you use the gas constant R=0.082LatmKmol then you must plug in the pressure P in units of atmospheresatm, volume V in units of litersL, and temperature T in units of kelvinK.

This information is summarized for convenience in the chart below.

Units to use for PV=nRT
R=8.31JKmolR=0.082LatmKmol
Pressure in pascalsPaPressure in atmospheresatm
Volume in m3volume in litersL
Temperature in kelvinKTemperature in kelvinK

Here is some useful information relating the different types of units.

1atmosphere=1.013×105Pa=14.7pounds per square inch

1liter=0.001m3=1000cm3

0oC=273K=32oF

To convert celsius into kelvin we can use the formula TK=TC+273K.

Also, the term STP refers to "standard temperature and pressure" which are defined to be T=273K=0ocelsius and P=1.013×105Pa=1atm respectively.

What is the molecular form of the ideal gas law?

If we want to use Nnumber of molecules instead of nmoles, we can write the ideal gas law as,

PV=NkBT

Where P is the pressure of the gas, V is the volume taken up by the gas, T is the temperature of the gas, N is the number of molecules in the gas, and kB is Boltzmann's constant,

kB=1.38×1023JK

When using this form of the ideal gas law with Boltzmann's constant, we have to plug in pressure P in units of pascals Pa, volume V in m3, and temperature T in kelvin K. This information is summarized for convenience in the chart below.

Units to use for PV=NkBT
kB=1.38×1023JK
Pressure in pascalsPa
Volume in m3
Temperature in kelvinK

What is the proportional form of the ideal gas law?

There's another really useful way to write the ideal gas law. If the number of moles n (i.e. molecules N) of the gas doesn't change, then the quantity nR and NkB are constant for a gas. This happens frequently since the gas under consideration is often in a sealed container. So, if we move the pressure, volume and temperature onto the same side of the ideal gas law we get,

nR=NkB=PVT=constant

This shows that, as long as the number of moles (i.e. molecules) of a gas remains the same, the quantity PVT is constant for a gas regardless of the process through which the gas is taken. In other words, if a gas starts in state 1 (with some value of pressure P1, volume V1, and temperature T1) and is altered to a state 2 (with P2, volume V2, and temperature T2), then regardless of the details of the process we know the following relationship holds.

P1V1T1=P2V2T2

This formula is particularly useful when describing an ideal gas that changes from one state to another. Since this formula does not use any gas constants, we can use whichever units we want, but we must be consistent between the two sides (e.g. if we use m3 for V1, we'll have to use m3 for V2). [Temperature, however, must be in Kelvins]

What do solved examples involving the ideal gas law look like?

Example 1: How many moles in an NBA basketball?

The air in a regulation NBA basketball has a pressure of 1.54atm and the ball has a radius of 0.119m. Assume the temperature of the air inside the basketball is 25oC (i.e. near room temperature).

a. Determine the number of moles of air inside an NBA basketball.

b. Determine the number of molecules of air inside an NBA basketball.

We'll solve by using the ideal gas law. To solve for the number of moles we'll use the molar form of the ideal gas law.

PV=nRT(use the molar form of the ideal gas law)

n=PVRT(solve for the number of moles)

n=PV(8.31JKmol)T(decide which gas constant we want to use)

Given this choice of gas constant, we need to make sure we use the correct units for pressure (pascals), volume (m3), and temperature (kelvin).

Yes, we could have used the gas constant R=0.082LatmKmol. We would have just had to be careful to plug in pressure in terms of atmospheres and volume in terms of liters.

We can convert the pressure as follows,
1.54atm×(1.013×105Pa1atm)=156,000Pa.

And we can use the formula for the volume of a sphere 43πr3 to find the volume of the gas in the basketball.
V=43πr3=43π(0.119m)3=0.00706m3

The temperature 25oC can be converted with,
TK=TC+273K. T=25oC+273K=298K.

Now we can plug these variables into our solved version of the molar ideal gas law to get,

n=(156,000Pa)(0.00706m3)(8.31JKmol)(298K)(plug in correct units for this gas constant)

n=0.445moles

Now to determine the number of air molecules N in the basketball we can convert moles into molecules.

N=0.445moles×(6.02×1023molecules1mole)=2.68×1023molecules

Alternatively, we could have solved this problems by using the molecular version of the ideal gas law with Boltzmann's constant to find the number of molecules first, and then converted to find the number of moles.

Example 2: Gas takes an ice bath

A gas in a sealed rigid canister starts at room temperature T=293K and atmospheric pressure. The canister is then placed in an ice bath and allowed to cool to a temperature of T=255K.

Determine the pressure of the gas after reaching a temperature of 255K.

Since we know the temperature and pressure at one point, and are trying to relate it to the pressure at another point we'll use the proportional version of the ideal gas law. We can do this since the number of molecules in the sealed container is constant.

P1V1T1=P2V2T2(start with the proportional version of the ideal gas law)

P1VT1=P2VT2(volume is the same before and after since the canister is rigid)

P1T1=P2T2(divide both sides byV)

P2=T2P1T1(solve for the pressureP2)

P2=(255K)1atm293K(plug in values for pressure and temperature)

P2=0.87atm(calculate and celebrate)

Notice that we plugged in the pressure in terms of atmospheres and ended up with our pressure in terms of atmospheres. If we wanted our answer in terms of pascals we could have plugged in our pressure in terms of pascals, or we can simply convert our answer to pascals as follows,

P2=0.87atm×(1.013×105Pa1atm)=88,200Pa(convert from atmospheres to pascals)

What is the ideal gas law? (article) | Khan Academy (2025)

FAQs

What is the ideal gas law? (article) | Khan Academy? ›

The ideal gas law (PV = nRT) relates the macroscopic properties of ideal gases. An ideal gas is a gas in which the particles (a) do not attract or repel one another and (b) take up no space (have no volume).

What is the answer to the ideal gas law? ›

The ideal gas law states that PV = NkT, where P is the absolute pressure of a gas, V is the volume it occupies, N is the number of atoms and molecules in the gas, and T is its absolute temperature.

What is the ideal gas law summary? ›

The ideal gas law states that for a specific amount of gas, the product of pressure and volume is directly proportional to the absolute temperature. The ideal gas law states that all gases contain the same number of gas molecules when under equal temperature, volume, and pressure.

What is the ideal gas law quizlet? ›

Ideal Gas Law. gives the relation ship between the pressure, volume, temperature, and number of moles for a sample of gas. (The Ideal Gas Law is derived from the Combined Gas Law and Avogadro's Principle.) Constant. This constant is called the ideal gas constant and is given the symbol R.

What does the ideal gas law best describe? ›

ideal gas law, relation between the pressure P, volume V, and temperature T of a gas in the limit of low pressures and high temperatures, such that the molecules of the gas move almost independently of each other.

What is an ideal gas answer? ›

An ideal gas is a theoretical gas composed of many randomly moving point particles that are not subject to interparticle interactions. The ideal gas concept is useful because it obeys the ideal gas law, a simplified equation of state, and is amenable to analysis under statistical mechanics.

What is ideal gas law in your own words? ›

So, in summary, the Ideal Gas Law states that under the same temperature, pressure and volume all gases contain the same number of molecules (but not the same mass). Reminder: The Ideal Gas law does not apply when the temperature and pressure are near the point of transforming into a liquid or solid.

What best summarizes the ideal gas law? ›

The empirical relationships among the volume, the temperature, the pressure, and the amount of a gas can be combined into the ideal gas law, PV = nRT.

What is the gas law explained? ›

The three fundamental gas laws discover the relationship of pressure, temperature, volume and amount of gas. Boyle's Law tells us that the volume of gas increases as the pressure decreases. Charles' Law tells us that the volume of gas increases as the temperature increases.

Why is the ideal gas law called the ideal gas law? ›

The term ideal gas refers to a hypothetical gas composed of molecules which follow a few rules: Ideal gas molecules do not attract or repel each other. The only interaction between ideal gas molecules would be an elastic collision upon impact with each other or an elastic collision with the walls of the container.

What is the ideal gas law and the real gas law? ›

Ideal gas is a hypothetical gas which follows the Ideal Gas Law at all conditions of temperature and pressure. All gases which exist in the environment are Real Gases. Real gases follow Ideal Gas Law only under conditions of high temperature and low pressure. So, ideal gas is not a real gas!

What is the first ideal gas law? ›

The ideal gas law was discovered by physicist and engineer Benoît Paul Émile Clapeyron (seen on the right) in 1834. You may have seen the equation PV = nRT in your classes before.

What is ideal gas equation in brief? ›

The ideal gas equation is formulated as: PV = nRT. In this equation, P refers to the pressure of the ideal gas, V is the volume of the ideal gas, n is the total amount of ideal gas that is measured in terms of moles, R is the universal gas constant, and T is the temperature.

What is the main idea 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 is the ideal gas law used 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.

What does the ideal gas law describe brainly? ›

Answer. Answer: The Ideal Gas Law is the relationship between pressure volume temperature and amount of gas.

How to solve the ideal gas equation? ›

It's given by the equation PV = nRT where: P is pressure of the gas in atmospheres (atm). V is volume of the gas in liters (L). n is the amount of gas in moles.

What is the real gas ideal gas law? ›

No real gas exhibits ideal gas behavior, although many real gases approximate it over a range of conditions. Deviations from ideal gas behavior can be seen in plots of PV/nRT versus P at a given temperature; for an ideal gas, PV/nRT versus P = 1 under all conditions.

How to solve PV nRT for N? ›

Simply use cross-multiplication to solve for n. Since the equation is PV = nRT, divide both sides by the R & T and you end up with n = PV/RT, which is actually none of the 4 choices.

References

Top Articles
Latest Posts
Recommended Articles
Article information

Author: Nathanial Hackett

Last Updated:

Views: 6129

Rating: 4.1 / 5 (52 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Nathanial Hackett

Birthday: 1997-10-09

Address: Apt. 935 264 Abshire Canyon, South Nerissachester, NM 01800

Phone: +9752624861224

Job: Forward Technology Assistant

Hobby: Listening to music, Shopping, Vacation, Baton twirling, Flower arranging, Blacksmithing, Do it yourself

Introduction: My name is Nathanial Hackett, I am a lovely, curious, smiling, lively, thoughtful, courageous, lively person who loves writing and wants to share my knowledge and understanding with you.