Ideal Gas Law

The Ideal Gas Law (P Vn R T) allows us to calculate various quantities for gases.

P Vn R T

P = Pressure (kilopascals) {kPa}
V = Volume (liters) {L}
n = number of moles [amount of substance] (moles) {mol}
R = universal gas constant (8.314 kPa · L/ mol · K)
T = Temperature (Kelvin) {K}

Calculations

P Vn R T

Steps for solving these calculations

  1. Write the equation
  2. Plug in all known values
  3. Solve for the unknown
    1. Combine values on each side
    2. Divide, if needed, to solve

Basic Calculations

Sample 1:

How much pressure is needed to compress 6 moles of N2 gas into a 15 liter container if it is held at a temperature of 298 K?
P Vn R T
P (15 L)(6 mol) (8.314 kPa · L/ mol · K) (298 K)
P (15 L)14865.432
P = 14865.432/15 = 991.0288 kPa ≈ 991 kPa

Sample 2:

How many moles of argon gas can be pressurized to 32 kPa in a 1.3 L container at a temperature of 300 K? P Vn R T
(32 kPa) (1.3 L)n (8.314 kPa · L/ mol · K) (300 K)
41.6n 2494.2
n = 41.6/2494.2 = 0.016678695 mol ≈ 0.0167 mol

Basic Relationships

Some relationships in the ideal gas law: P Vn R T

>
Variables being Tested Location in the Equation Basic Relationship
P and V  (Boyle’s Law) SAME SIDE INDIRECT
T and V (Charles’ Law) OPPOSITE SIDE DIRECT
P and T OPPOSITE SIDE DIRECT
n and P OPPOSITE SIDE DIRECT
n and R INVOLVES 'R' NO RELATIONSHIP
V and R INVOLVES ‘R’ NO RELATIONSHIP
T and n SAME SIDE INDIRECT

Before-and-After Calculations

Before and after calculations when you have a situation that is changing. The easiest way to solve these is to:

Set up the ideal gas law BEFORE (1) over
the ideal gas law AFTER (2)

P1 V1n1 R T1
P2 V2n2 R T2

Then cancel out all constants for that problem. ‘R’ will always cancel out. Solve for the remaining unknown.

Sample 3:

0.5 liters of O2 gas is held at a temperature of 235 K. What temperature would the gas need to be raised to to keep the pressure constant but increase the volume to 3.1 L?

BEFORE: T1 = 235 K, V1 = 0.5 L (all else constant)
AFTER: T2 = unk , V2 = 3.1 L (all else constant)
CONSTANTS: P, n, R

Write the equations

P1 V1n1 R T1
P2 V2n2 R T2

Substitute in the givens

P1 (0.5 L)n1 R (235 K)
P2 (3.1 L)n2 R T2

Remove the constants

(0.5 L)(235 K)
(3.1 L)T2

Solve algebraically (Here, cross-multiply, then divide)

(0.5 L) T2(235 K) (3.1 L)
 
(0.5 L) T2728.5
 
T2728.5/(0.5 L) = 1457 K

Combined Gas Law

This is a simplified version of solving Before-and-After calculations where moles is always considered to be constant, thus it cancels out.

This formula is given to you in Reference Table T.

P1V1 = P2V2
 T1     T2

Example: You have 16 liters of H2O at 6 kPa of pressure and a constant temperature of 298 K. If the pressure increases to 12 kPa, what is the new volume?

P1V1 = P2V2
 T1     T2

6 kPa 16 L< = 12 kPaV2
  298 K           298 K

Because temperature is constant, it will cancel out.

6 kPa 16 L = 12 kPaV2

Combine, then solve.

96 kPa = 12 kPaV2

V2 = 96 L = 8 L
         12

Example: You have 18 moles of CO2 at 22 kPa of pressure and at 300 K. If volume is held constant and temperature increases to 600 K, what would be the new pressure?

P1V1 = P2V2
 T1     T2

22 kPaV1 = P2V2
  300 K     600 K

Volume is held constant, so it cancels out.

22 kPa = P2
 300 K  600 K

Cross-multiply

(600 K)(22 kPa) = (300 K)P2

Simplify and Divide

P2 = 13200 kPa = 44 kPa
          300

Example: A 20 L vat of N2 gas is held at 9 kPa pressure and 350 K. It's transferred to a 45 L vat with 12 kPa pressure. At what temperature will this new vat be held?

P1V1 = P2V2
 T1     T2

9 kPa(20) = (12)(45)
  350 K        T2

Simplify

180   = 540
350 K    T2

Cross-multiply

T2(180) = (350 K)(540)

Simplify and Divide

T2 = 189000 K = 1050 K
          180


Ideal Gas Law Calculator

Type in whatever information you have.

BEFORE AFTER
P1= kPa P2= kPa
V1= L V2= L
n1= mol n2= mol
R = 8.314 kPa · L/ mol · K R = 8.314 kPa · L/ mol · K
T1= K T2= K