# Why does 1 mol. of any gas at STP occupy only 22.4L Volume when it should occupy the volume of entire container in which it is kept? [duplicate]

Let us say we have a container of 100L capacity and a gas inside it is kept at STP. According to the law the gas should occupy only 22.4L of volume but shouldn't the gas occupy the entire volume of the container in which it is kept(100L in this case) as gases expand without limit?

• Simply, the amount of your gas in 100-mL container at STP is more than $\pu{1 mol}$. Actually, it is a little less than $\pu{4.5 mol}$. As you said, yes, gas expand or compress, but other two factors (P & T) will change according to the amount of gas in the container, according to $\mathrm{PV=nRT}$. – Mathew Mahindaratne May 9 '18 at 18:14
• Not 100 mL but 100 L. Stuff happens. – Oscar Lanzi May 9 '18 at 21:52