Skip to content

Documentation / @interstellar-tools/equations / exponentialAtmosphereDensity

Function: exponentialAtmosphereDensity() ​

ts
function exponentialAtmosphereDensity(h: number): number;

Defined in: orbits/exponential-atmosphere-density.ts:93

The density of Earth's atmosphere at a height, from the exponential model: within each band of heights, the density falls by a factor of e every scale height. It's the quick estimate for drag on a satellite.

ρ=ρ0e−(h−h0)/H

Where:

  • h is the height above the surface (m)
  • h0 is the base of the band h falls in, ρ0 the density there (kg/m³), and H the band's scale height, from Vallado's table 8-4: 28 bands from the ground to 1 000 km

Units

  • Input: h in m.
  • Output: ρ in kg/m³.

Notes

  • An average. The table is the CIRA-72 reference atmosphere at moderate solar activity. Above about 200 km, the real density swings by a factor of ten between solar minimum and maximum, and between day and night: use a model with solar activity, such as NRLMSISE-00, for anything more than an estimate.
  • Above 1 000 km, the last band's scale height carries on.
  • Feed it to atmosphericDragAcceleration for the drag on a satellite.
In practiceThe ISS, 420 km up

2.6 × 10⁻¹² kg/m³

A trillionth of the air at sea level

Thin enough to orbit through, thick enough that the ISS loses a couple of kilometres of height a month and has to be boosted back up.

ts
exponentialAtmosphereDensity(420_000); // ≈ 2.647e-12 kg/m³

Parameters ​

ParameterTypeDescription
hnumberHeight above the surface h in m (finite, >= 0).

Returns ​

number

The density ρ in kg/m³.

Throws ​

  • If h is not a finite number.
  • If h < 0.

Example ​

ts
// Vallado, example 8-4: 747.2119 km up
exponentialAtmosphereDensity(747_211.9); // ≈ 2.1219854e-14 kg/m³

See ​