The pressure in a laboratory-size container of gas is due almost entirely to the thermal contribution. A container would have to be tall for gravity to cause the pressure at the top to be even 1% less than the pressure at the bottom. Laboratory-size containers are much less than 100 m tall, so we can quite reasonably assume that has the same value at all points in a laboratory-size container of gas.
Decreasing the number of molecules in a container decreases the gas pressure simply because there are fewer collisions with the walls. If a container is completely empty, with no atoms or molecules, then the pressure is . This is a perfect vacuum. No perfect vacuum exists in nature, not even in the most remote depths of outer space, because it is impossible to completely remove every atom from a region of space. In practice, a vacuum is an enclosed space in which . Using is then a very good approximation.