Ideal Gas Law (PV = nRT) Questions and Answers | Online Calculator

There are five parameters in ideal gas law equation (PV = nRT). When you know four parameters, you can find the unknown parameter in the equation. Ideal gas law questions are asked frequently in physical chemistry papers and air problems.

In this tutorial, we are going to discuss different types of questions which uses ideal gas law.

PV = nRT Online Calculator

You can use following calculator to calculate unknown parameter in PV = nRT equation. Keep empty unknown parameter field.


Ideal Gas Law Equation, PV = nRT

Parameters of equation are given below with their units.

  • P = Pressure (Pa)
  • V = Volume (m3)
  • n = Amount (mol)
  • R = Universal gas constant (J mol-1 K-1) = 8.314 J mol-1 K-1
  • T = Temperature (K)

Finding amount (mol) when pressure, volume, temperature are known


A gas is stored in a tank with a 8.314 dm3 volume at 270C temperature. That gas is filled upto 300 kPa pressure.

  1. Calculate the amount of gas containing inside the tank.
  2. Calculate the mass of gas containing inside the tank.

additional data: R = 8.314 J mol-1 K-1, Molar mass of gas = 28 g mol-1


Temperature was given in celsius. Convert it to Kelvin as below..

Temperature = 27 + 273 = 300 K

Drawing a figure is a good way to illustrate the question. Write down all the data provided with units.

PV = nRT questions

We know the date of pressure, volume and temperature. Then, we can substitute those values in PV = nRT equation to find the amount.

  • PV = nRT
  • 300 * 103 * 8.314 * 10-3 = n * 8.314 * 300
  • n = 1 mol

Above question was a straightforward one. now we are going to discuss little bit difficult question.

If above tank is connected with another empty tank (B) with same volume through a short pipeline, what is the pressure of the overall system when system is still at 300K?

We know gas molecules travel from high pressure to low pressure. Therefore, gas molecules travel from tank A to tank B until overall system gets a same pressure (pressure in tank A = pressure in tank B)

The gas amount is now distributed in two tanks.

high presure to low pressure PV = nRT calculation

  • New volume of system (V')= volume of tank A + volume of tank B
    V' = 8.314 + 8.314
    V' = 16.628 dm3

  • Temperature = 300K
  • Amount of gas = 1 mol

Now, we can apply ideal gas law equation to find the pressure (P') of the system.

  • P'V' = nRT
  • P' * 16.628 * 10-3 = 1 * 8.314 * 300
  • P' = 150 000 Pa
  • P' = 150 kPa

Question - Apply PV = nRT for a gas releasing thermal decomposition reaction

10g of calcium carbonate crystals are heated to a high temperature in a closed container until all calcium carbonate decomposes to calcium oxide and carbon dioxide gas. After decomposition was completed, heating was stopped and container was put to reach to the room temperature. Initially, there were not gases inside the container. After heating the calcium carbonate crystals, remaining solid was weighed and it was 4g. If volume of container is 8314 cm3, calculate the pressure inside the container at room temperature (250C).

From given date, we know the volume and temperature of PV = nRT. Therefore, we need to find out amount (n) before finding the pressure of the container.

For that, we can use chemical equation and weight of calcium carbonate.

First, write the balanced chemical equation of decomposition of calcium oxide

CaCO3(s) → CaO(s) + CO2(g)

Decomposed CaCO3 amount = produced CO2 amount

  • Decomposed CaCO3 amount = Decomposed CaCO3 mass / molar mass of CaCO3
  • Decomposed CaCO3 amount = 10 / 100
  • Decomposed CaCO3 amount = 0.1 mol
  • Therefore, produced CO2 amount = 0.1 mol

Now, we know the gas amount (n) and can apply the values in PV = nRT equation.

  • PV = nRT
  • P * 8314 * 10-6 = 0.1 * 8.314 * 298
  • P = 29.8 * 103 Pa
  • P = 29.8 kPa

Assumptions made during the PV = nRT calculations

  1. CO2 behaves as a ideal gas.
  2. Volume of solid compound is negligible. Therefore, it is considered as total volume of container is taken by the CO2 gas.

Questions of calculating partial pressures of gases by PV = nRT

Question:There are two gases (A and B) in a closed container (1 m3) at 1270C. Amount of gases of A and B are 10 mol and 20 mol respectively. Calculate followings.

  1. Total pressure in the system
  2. Partial pressure of A
  3. Partial pressure of B


We can solve this question in two ways.

  1. Method 1: Finding total pressure by assuming there is only one gas in the container
  2. Method 2: Finding total pressure by adding partial pressure of A and B gases

Total pressure in the system is given by the summation of partial pressures of both gases.

  • PT = total pressure in the system
  • PT = PA + PB

Method 1: Finding total pressure by assuming there is only one gas in the container

Because, we assume that A and B gases behave as ideal gases. Therefore, we can apply ideal gas law for the overall system considering there are total of 30 mol in the system.

  • PTV = nRT
  • PT * 1 = 30 * 8.314 * 400
  • PT = 99768 Pa
  • PT = 99.768 kPa

Method 2: Finding total pressure by adding partial pressure of A and B gases

In this method, we apply ideal gas law in two occasions for A and B gases to find partial pressures of A and B gases.

Apply PV = nRT for gas A

  • PAV = nRT
  • PA * 1 = 10 * 8.314 * 400
  • PA = 33256 Pa
  • PA = 33.256 kPa

Apply PV = nRT for gas B

  • PBV = nRT
  • PB * 1 = 20 * 8.314 * 400
  • PB = 66512 Pa
  • PB = 66.512 kPa

Now, we can add partial pressures of A and B gases to find total pressure.

  • PT = total pressure in the system
  • PT = PA + PB
  • PT = 33.256 kPa + 66.512 kPa
  • PT = 99.768 kPa

Apply ideal gas law for gas phase reactions

There are two gases (A and B) which react with each other as below.

A + B → C

In a specified industry, a mixture of C and B gases is required and above reaction is proposed to use to get that mixture.

Both gases are stored in two separate containers which have same volume. A gas is at 100 kPa and B gas is at 200kPa. Both containers were heated separately to 2270C and then mixed with each other to react. Containers were kept at 2270C continuously until reaction is completed. Volume of one container is 8.314 m3.

  1. Calculate amount of A gas.
  2. Calculate amount of B gas.
  3. After the completion of the reaction, calculate how much (in mol) B gas is remaining and C gas was produced.
  4. What is the final pressure after the completion of reaction?


First two parts of this question is very easy and we have already did those kind of questions earlier in this tutorial. For first two sections, pressure, volume and temperature values are given for each gas and we just need to find the amount of each gas by applying PV = nRT.

Apply PV = nRT for gas A

  • PAV = nRT
  • 100 * 103 * 8.314 = nA * 8.314 * 500
  • nA = 200 mol

Apply PV = nRT for gas B

  • PBV = nRT
  • 200 * 103 * 8.314 = nB * 8.314 * 500
  • nB = 400 mol

Now, we know the initial amount of A and B gases. So, we should find now the reacting amount of A and B gas as below.

Apply ideal gas law for gas phase reactions

Answer for part 3,

  • Remaing amount of B = 200 mol
  • Prodiced amount of C = 200 mol

In the end of the reaction, only B and C gases are remaining.

Total gas amount after the reaction = 200 mol + 200 mol = 400 mol

Because temperature is maintained at 2270C (500K) and total gases amount, volume of containers are known, we can find the final pressure of the container after the reaction.

  • PfinalV = nRT
  • Pfinal * 8.314 = 400 * 8.314 * 500
  • Pfinal = 200,000 Pa
  • Pfinal = 200 kPa

Multiple Choice Questions (MCQ) for PV = nRT calculations

Here, you can try some MCQ questions relavant to PV = nRT

An ideal gas is filled to a constant volume container (1 dm3) at 270C temperature. When internal pressure is reached upto 1 bar, filling is stoped and container is sealed. How much (mol) gas is fiiled to the container.

  1. 0.08 mol
  2. 0.1 mol
  3. 0.01 mol
  4. 0.04 mol
  5. 0.2 mol