Calculating Air Density at High Elevations

Click For Summary
SUMMARY

This discussion focuses on calculating air density at high elevations, specifically at 4700 feet above sea level. The primary method involves using the ideal gas law, expressed as ρ = m×P/RT, where ρ is density, P is pressure, R is the universal gas constant (0.0821 liters-atm/gram-mole-deg-Kelvin), and T is temperature in Kelvin. The barotropic formula is also introduced for vertical pressure variation, allowing for accurate density calculations at different altitudes. Key considerations include the assumption of isothermal conditions and the relative constancy of gravity and temperature over short elevation changes.

PREREQUISITES
  • Understanding of the ideal gas law (PV = nRT)
  • Familiarity with basic thermodynamics and gas properties
  • Knowledge of atmospheric pressure variations with altitude
  • Basic calculus for integration in the barotropic formula
NEXT STEPS
  • Research the barotropic formula for pressure variation with altitude
  • Learn about the calculation of air pressure at different elevations using online calculators
  • Explore the effects of temperature on air density in the troposphere
  • Study the application of Boltzmann statistics in gas density calculations
USEFUL FOR

This discussion is beneficial for atmospheric scientists, engineers working in aerospace, meteorologists, and anyone interested in understanding air density variations with altitude.

LT72884
Messages
335
Reaction score
49
Ok, we all know that density is mass/volume. So if air is 1.22kg/m3,If we increase pressure, volume will change, therefore density can change.

So how does one calculate density of air at higher elevations. Where i currently live, at 4700ft above sea lvl, I am guessing air density is not 1.22kg/m3. So how would i calculate it?

Thanks
 
Last edited by a moderator:
Physics news on Phys.org
The easiest possible way is to assume the atmosphere is an isothermal ideal gas in a constant gravity field. Then the energy of each gas molecule E = 1/2 mv^2 + mgz, where g= 9.8 m/s^2 and z is height above some reference altitude z0, e.g. sea level, where you know a reference pressure, e.g. p0 = 1 atm. Boltzmann statistics gets you the distribution of molecules, therefore the density, therefore the pressure, is then proportional to exp(-E/kT). You don't care about the kinetic energy part, and it separates. You're left with an exponential distribution of altitudes, and all you need to do is get the mass and units straight, and do an integration to establish the constant in front of the exponential in terms of your reference pressure, the average mass of the gas molecules, k and T. Pick some T, e.g. the average temperature of the troposphere, and you're all set.

The most obvious flaws in this are that the atmosphere is not isothermal and that the gravity field isn't constant, but I don't think they would be huge flaws at this level of calculation. Neither T nor g vary much over 5000 ft.
 
For an ideal gas which air approximates use the ideal gas law

PV = nRT

where P is pressure in atmospheres (or millibars), V is volume in liters, is the number of moles in the volume, R is the universal gas constant = 0.0821 liters-atm /gram-mole-deg-Kelvin. and T is temperature in deg Kelvin ( 273° + °C)

using ρ =m/V with m the mass (in the volume) = gram molecular weight for air x the number of moles.

You get ρ = m×P/RT

from that you can compute the ratio of densities at different pressure and temp.which eliminates the mass and the constant R.

ρel = ρsl ×Pel×Tsl/(Psl×Tel)

You can calculate the pressure at elevation ( see https://www.mide.com/pages/air-pressure-at-altitude-calculator ) or you can get a barometer calibrated at sea level and bring it to you elevation and read the pressure. The pressure at sea level is usually 1 atmosphere (1013.2 millibars) ±2% at 0 °C (273°K).
 
  • Like
Likes   Reactions: LT72884
LT72884 said:
So how does one calculate density of air at higher elevations.
Try here.
 
  • Like
Likes   Reactions: LT72884
The barotropic formula gives the vertical pressure variation as $$p=p_0\exp{\left(-\frac{Mg}{R}\int_0^z{\frac{dz'}{T(z')}}\right)}$$where z is the altitude, ##p_0## is 1 bar, M is the molecular weight of air, g is the acceleration of gravity (essentially constant up to your altitude), T(z) is the absolute temperature at altitude z, and R is the universal gas constant. If z is in meters, the temperature in the troposphere decreases with altitude as $$T(z)=288.15-6.5z/1000$$ The density at altitude z is calculated from $$\rho=\frac{p(z)M}{RT(z)}$$
 
sophiecentaur said:
Those are interesting formulas. Now i just need to find all the other numbers and calculate density in my area haha.

I know pressure can effect volume, but where is that in the basic density equation? What substitutes in for volume that has P involved?

Thanks for all the jelp
 

Similar threads

  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 51 ·
2
Replies
51
Views
5K
  • · Replies 11 ·
Replies
11
Views
4K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 6 ·
Replies
6
Views
6K
  • · Replies 9 ·
Replies
9
Views
3K