Compute rho, the in-situ density of dry air.
in-situ temperature, in degC.
numeric value for pressure in Pa (not the kPa used in public weather forecasts).
ignored at present
This will eventually be a proper equation of state, but for now it just uses a dry-air formula posted on wikipedia (i.e. not trustworthy).
In-situ dry-air density, in kg/m^3.
National Oceanographic and Atmospheric Agency, 1976. U.S.
Standard Atmosphere, 1976. NOAA-S/T 76-1562. (A PDF of this document may
be available at
although neither link has proven to be reliable.)
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.