Question: how to calculate pressure at different heights?
Answer: In this section we derive how the gas pressure P depends on the height over sea level h in the gravitational field of Earth. where ρ is the gas density. Then the gas pressure is expressed by the following formula: P=FS=ρghS S =ρgh.