Air Density Calculator

How thick is the air where you are right now?

Enter your local temperature, atmospheric pressure, and relative humidity to find the exact air density at your conditions. Used by engineers, pilots, athletes, and weather enthusiasts to understand how air behaves at real-world conditions.

Updated June 2026 · How this works

Example calculation — edit any field to use your own numbers

Worth knowing
How It Works
The formula, explained simply

Imagine trying to push through a crowd of people. If the crowd is dense and tightly packed, you feel more resistance. If people are spread out or replaced by smaller people, you move through easily. Air works the same way — the more molecules per cubic meter, the more force air exerts on every surface it touches, and the more drag or lift or cooling effect it produces.

Air density is calculated using the ideal gas law, modified to account for the fact that moist air is actually a mixture of dry air and water vapor. Each component behaves independently according to Dalton's law of partial pressures. The dry air portion uses a specific gas constant of 287.058 J/(kg·K), while the water vapor portion uses 461.495 J/(kg·K). The total density is the sum of the two contributions: rho = P_d/(Rd × T) + e_v/(Rv × T), where P_d is the partial pressure of dry air, e_v is the actual vapor pressure, and T is temperature in Kelvin.

The saturation vapor pressure — the maximum amount of water vapor air can hold at a given temperature — is calculated using the Buck equation. This is more accurate than the simpler Antoine equation at surface temperatures. Actual vapor pressure is then saturation pressure multiplied by relative humidity as a fraction. Warmer air can hold exponentially more water vapor, which is why the humidity effect on density is small on a cold day but significant on a hot summer afternoon.

When To Use This
Right tool, right situation

Use this calculator any time physical performance depends on how many air molecules are present per unit volume. This includes: estimating engine power output at altitude or in heat, calculating drone or aircraft lift margins, correcting anemometer readings for density, adjusting HVAC fan curves to actual site conditions, or comparing weather station data across different elevations.

This tool is appropriate when you have actual or forecast weather data and want a density figure accurate to within 0.5% for planning purposes. It is not appropriate for stratospheric or space applications where the ideal gas assumption breaks down, or for supersonic flow where compressibility effects dominate over static density. It also should not be used as a substitute for calibrated in-situ measurement when safety margins are tight — for example, certified aircraft performance calculations require manufacturer-provided data.

The percentage-vs-standard output is the most actionable number for most users. A naturally aspirated engine loses power in direct proportion to density ratio. A propeller delivers thrust in rough proportion to density ratio. If your conditions show 92% of standard density, expect roughly 8% less performance from any device whose output depends on air mass flow.

Common Mistakes
Why results sometimes look wrong

The most common mistake is confusing gauge pressure with absolute pressure. A tire gauge reads pressure above ambient — if you enter gauge pressure here, your result will be wildly wrong. Atmospheric pressure is always absolute, starting from zero vacuum. Sea level absolute pressure is about 1013 hPa; there is no negative atmospheric pressure under normal conditions.

The second frequent error is ignoring humidity entirely. Many online calculators and textbook examples use dry air density because it simplifies the math. On a 35°C day with 90% humidity, ignoring moisture introduces an error of nearly 2% in the density result. That sounds small, but a 2% shift in air density directly translates to a 2% shift in aerodynamic force — meaningful for precision applications like competitive cycling, motorsport, or long-range ballistics.

A subtler mistake is using temperature from inside a building or vehicle cabin when the goal is to characterize outdoor air. Surface thermometers in direct sunlight also read several degrees higher than actual air temperature. For accurate density calculations, use a shaded ambient temperature reading, ideally from an official weather station or a calibrated sensor in moving air.

The Math
Worked examples and deeper derivation

The core formula is the ideal gas law for moist air: rho = (P_d / (Rd × T)) + (e_v / (Rv × T))

Where: - P_d = total pressure minus vapor pressure (Pa) - e_v = actual vapor pressure = RH × e_s - e_s = saturation vapor pressure from Buck equation: 611.21 × exp((18.678 − T_c/234.5) × (T_c / (257.14 + T_c))) in Pascals - T = temperature in Kelvin (T_c in Celsius + 273.15) - Rd = 287.058 J/(kg·K) — specific gas constant for dry air - Rv = 461.495 J/(kg·K) — specific gas constant for water vapor - RH = relative humidity as a decimal (e.g. 0.55 for 55%)

For dry air (RH = 0), the formula simplifies to rho = P / (Rd × T), which is the standard ideal gas law with molar mass factored into Rd.

Standard sea level reference density is 1.225 kg/m³ under ISA conditions (15°C, 1013.25 hPa, 0% humidity). All percentage comparisons in this tool use this benchmark. The Buck equation used here gives saturation vapor pressure accurate to within 0.02% between −40°C and +50°C — more than sufficient for atmospheric applications.

Race day at a mile-high track
Temperature 28°C, pressure 843 hPa (Denver elevation), relative humidity 30%
Air density comes out around 0.978 kg/m³ — about 80% of standard sea level. A naturally aspirated engine loses roughly the same percentage of power. Teams running at altitude factor this into fuel mapping and gear selection before the session starts.
FPV drone flight on a hot humid afternoon
Temperature 36°C, pressure 1008 hPa, relative humidity 85%
Density drops to roughly 1.11 kg/m³ — about 9% below standard. Rotors must spin faster to generate the same lift, drawing more current and shortening battery life. Pilots who ignore density altitude often wonder why their hover throttle is higher than usual on summer days.
Forensic ballistics analyst checking cold arctic conditions
Temperature -30°C, pressure 1025 hPa, relative humidity 5%
Density climbs to around 1.49 kg/m³ — more than 20% above standard. At this density, drag on a projectile increases substantially. Ballistic tables calibrated for standard conditions will be noticeably off at these temperatures, which matters for long-range shots.
Expert Unlock
The thing most explanations skip

The ideal gas law assumes no intermolecular forces and perfectly elastic collisions — both break down at very high pressures or very low temperatures where real-gas effects emerge. At surface atmospheric conditions these errors are below 0.1%, but near the dew point, the phase boundary introduces nonlinearity that the Buck equation approximates rather than solves exactly. More critically, this model treats air as a two-component mixture and ignores CO2, argon, and trace gases that together account for about 1% of dry air mass. For most engineering applications this is acceptable, but precision metrology labs use the CIPM-2007 formula which includes these components and achieves uncertainty below 0.01%.

Why does humid air come out less dense than dry air at the same pressure?

Why is humid air less dense than dry air?
Water vapor molecules (molecular weight 18) are lighter than the nitrogen (28) and oxygen (32) molecules they displace in humid air. When humidity rises, heavier molecules are replaced by lighter ones, so the same volume of air weighs less. This is why hot humid days are harder on engines and aircraft performance — despite feeling heavy, the air is actually thinner.
What is standard air density at sea level?
The International Standard Atmosphere defines sea level air density as 1.225 kg/m³ at 15°C and 1013.25 hPa with zero humidity. Most engine datasheets, propeller curves, and aerodynamic coefficients are referenced to this value. Any deviation from these conditions will shift performance proportionally.
How does altitude affect air density?
Density drops roughly 1.2% per 100 meters of altitude gain near sea level, though the rate decreases at higher elevations. At 1,500 meters (about 5,000 feet) air density is approximately 83% of sea level. You can replicate altitude effects in this calculator by entering the pressure reading for your elevation — weather apps often provide station pressure for this purpose.

Need something this doesn't cover?

Suggest a tool — we'll build it →