This is based off of PV=nRT. And also D=M/V. Now based on those two equations, you can re-write the ideal-gas-law to conform to your question. So P(MW) = DRT. This is a good equation to memorize along with the ideal-gas-law. MW = molecular weight, and D = density. I just use the nmenoic as "p-molecular weight = dirt". Hope that helps man.