# How does pressure affect gas density?

Jun 12, 2018

Well....$P V = n R T$
And so $\frac{P}{R T} = \frac{n}{V} = \frac{\text{mass"/"molar mass}}{V}$
And so...$\rho = \frac{P}{R T} \times \text{molar mass}$
Thus ${\rho}_{\text{[density](https://socratic.org/chemistry/measurement-in-chemistry/density)}}$ is directly proportional to pressure..