The Density of a substance is the amount of mass per unit of volume. d = m/V.

Given that the number of moles is equal to mass over molar mass, we can rewrite the Ideal Gas Law as:


This can hence be used to calculate density or molar mass of a gas, as well as the other properties.