PV=nRT approximation on other planets? In Chemistry class yesterday, I learned that real gases with low atomic masses behave like an ideal gas at high temperatures and low pressure. Since on earth at sea level the pressure is close to $1\ \mathrm{atm}$ (which is a low pressure) and temperature is close to $288.15\ \mathrm K$ (high temperature), I can use the equation $PV=nRT$ to approximate properties of the gas. (I got these values from Wikipedia, under Standard Sea Level).

$$\left(\text{pressure}\right)\cdot \left(\text{volume}\right)=\left(\text{number of moles}\right)\left(R\right)\left(\text{temperature}\right)$$

In physics we learned that pressure is the force per unit area. On earth the atmospheric pressure is earths gravitational pull on the air. The gravitational pull of any object on earth is $G_\text{pull}=\left(\text{mass}\right)\cdot \left(9.8\ \frac{\mathrm m}{\mathrm s^2}\right)$. Because the gravitational pull is $G_\text {pull}=\left(\text{mass}\right)\left(\text{acceleration due to gravity}\right)$.

Since different planets have different masses the acceleration due to gravity on these planets are different. Below I listed the values:

$G_\text{Mercury}=3.59\:\frac{\mathrm m}{\mathrm s^2}$

$G_\text{Venus}=8.87\:\frac{\mathrm m}{\mathrm s^2}$

$G_\text{Mars}=3.37\:\frac{\mathrm m}{\mathrm s^2}$

For planets like Mercury, Venus, Mars the approximation of $PV=nRT$ still can be used since they would have even lower pressures than Earth. But what about planets like Jupiter and Neptune

$G_\text{Jupiter}=25.95\:\frac{\mathrm m}{\mathrm s^2}$

$G_\text{Neptune}=14.07\:\frac{\mathrm m}{\mathrm s^2}$

Jupiter and Neptune have more pressure at ground level than that of Earth. So can $PV=nRT$ still be used? If yes, how well? If not, is there a different formula that can be used to find the volume and number of moles on these other planets?

Any input is appreciated. I am just being curious and didn't find anything on Google.
The differences in acceleration due to gravity is not the main factor in comparing how accurate the approximation is for each planet.

The main factor is the mass of gas each planet's atmosphere contains.

Mercury has almost no atmosphere.  The total mass of all gas in Mercury's atmosphere is only 10000 kg! The pressure is less than $10^{-14}$ bar. The approximation will be very accurate.

The mass of Venus's atmosphere is $4.8 \times 10^{24}$kg and pressure is 92 bar, so PV = nRT will be much worse of an approximation than on earth.

Mars has a small atmosphere, less than Earth more than Mercury.

Jupiter, Saturn, Uranus and Neptune are gas giants with no distinct surface.