Air Density Calculator (Temperature, Pressure, Humidity)
Air density (ρ, kg/m³) controls aerodynamic drag, engine air intake, propeller thrust, bullet trajectories and pulmonary gas exchange. Enter temperature, pressure and humidity and the tool returns ρ in real time using the CIPM partial-pressure decomposition (pd / Rd·T + pv / Rv·T) with a Magnus-Tetens saturation vapour pressure, plus the ratio to the ISA sea-level standard (1.225 kg/m³). A counter-intuitive consequence: moist air is *lighter* than dry air at the same T and p (H₂O is molar mass 18, lighter than N₂ at 28 and O₂ at 32), so humid summer afternoons actually let baseballs and golf balls fly farther.
Enter a valid temperature (−70 to 60 °C, or the °F / K equivalent), a positive pressure, and a relative humidity in 0–100 %. The formula breaks down if the vapour pressure would exceed the total pressure.
Air density ρ
—
—
Ratio to ISA sea-level standard (1.225 kg/m³)
—
> 1 means denser than the standard atmosphere; < 1 means thinner (high altitude, low pressure, hot or humid air all reduce density).
Dry-air density at the same T, p
—
Vapour pressure / saturation vapour pressure
—
Formula (CIPM partial-pressure form + Magnus-Tetens psv)
ρ = pd/(Rd·T) + pv/(Rv·T) ; pv = RH · psv(T) ; psv = 610.78 · exp(17.27 T / (T + 237.3))
T is converted to kelvin internally; Rd = 287.058 J/(kg·K), Rv = 461.495 J/(kg·K). Water vapour is lighter than dry air (molar mass 18 vs 29), so more humidity actually makes air less dense.
Formula
ρ = pd / (Rd · T) + pv / (Rv · T) pv = (RH / 100) · psv(T) pd = p − pv psv(T) = 610.78 · exp(17.27 T_C / (T_C + 237.3)) // saturation vapour pressure, Pa // Rd = 287.058 J/(kg·K) — specific gas constant of dry air // Rv = 461.495 J/(kg·K) — specific gas constant of water vapour // T in kelvin (T_K = T_C + 273.15)
- · Reference baseline: the International Standard Atmosphere (ISA / ICAO Doc 7488) defines sea-level density as 1.225 kg/m³ at 15 °C, 1013.25 hPa, dry air — the ρ₀ widely quoted in aviation. The "ratio to ISA" output is just ρ / 1.225.
- · Hotter, lower-pressure or more humid air is less dense; cold, high-pressure dry air is denser. A muggy Hong Kong summer day (30 °C / 1010 hPa / 100 % RH) gives ρ ≈ 1.142 kg/m³ — about 7 % below standard; a brisk winter morning (12 °C / 1020 hPa / 50 % RH) gives ρ ≈ 1.246 kg/m³ — about 1.7 % above standard.
- · Aerodynamic drag F_drag = ½ · ρ · v² · Cd · A, so ρ directly affects fuel economy, cycling speed and running resistance. At the same speed, moving from ISA sea level to Mexico City (2,240 m, ρ ≈ 0.96 kg/m³) cuts drag by ≈ 22 %, which is one of the reasons marathon and cycling records favour high-altitude venues.
- · Density altitude is the standard pilot framing: it is the altitude in the ISA atmosphere at which the current ρ would occur. Hot, humid, low-pressure conditions push the density altitude on the runway thousands of feet above the field elevation, which reduces engine power and lengthens take-off distance — a real safety issue for light aircraft.
- · Counter-intuitively, moist air is *less* dense than dry air. H₂O has a molar mass of 18 g/mol vs 28.97 g/mol for dry air, so adding vapour at constant T and p replaces some of the heavier N₂ / O₂ with a lighter molecule. Major-League Baseball research suggests a 30 °C ball travels ≈ 1 m further as humidity climbs from 30 % to 90 % RH.
- · Formula: this tool uses the simplified partial-pressure form (no compressibility factor Z, no vapour enhancement factor f). The full CIPM-2007 equation (Picard et al. 2008, Metrologia 45) adjusts the answer by < 0.05 %; for sport, aviation and HVAC sanity-checking the simplified version (< 0.2 % accuracy) is already inside typical instrument error.
- · Input range: −70 °C..60 °C (or the °F / K equivalent), 0..2000 hPa total pressure, 0..100 % RH. At very low pressure and high temperature, if the saturation vapour pressure would exceed the total pressure the tool flags the input as physically impossible.
- · Sources: Picard, Davis, Gläser, Fujii (2008) "The CIPM-2007 equation", Metrologia 45:149–155; Murray (1967) saturation-vapour-pressure coefficients; ICAO Doc 7488 / ISO 2533:1975 "Standard Atmosphere"; ASHRAE Handbook — Fundamentals, ch. 1; NIST physical-constants tables.
Frequently asked
Why is moist air lighter than dry air? Intuition says the opposite.
Intuition says "more water = heavier", but the right lens is molar mass. Dry air (78 % N₂ + 21 % O₂) has a mean molar mass ≈ 28.97 g/mol; water vapour is only 18 g/mol. At the same T and p, Dalton's law of partial pressures means adding vapour *replaces* some of the heavier N₂ / O₂ with a lighter molecule, so the total density actually drops. The "water is heavy" intuition comes from picturing liquid water (1000 kg/m³) instead of vapour (rarely above 5 kPa of partial pressure). Concretely: at 30 °C / 1013 hPa, going from 0 % to 100 % RH drops ρ from ≈ 1.165 to ≈ 1.146 kg/m³ — a 1.6 % reduction.
How much does air density actually affect cycling and running performance?
Drag scales linearly with ρ: F = ½ · ρ · v² · Cd · A. At cycling speeds (30–50 km/h) air resistance is over 70 % of total resistance, so ρ matters a lot. A muggy 30 °C / 100 % RH Hong Kong day with ρ ≈ 1.142 kg/m³ vs the standard 1.225 cuts drag by 6.8 %, theoretically allowing 2–3 % more speed at the same power (v ∝ ρ^−1/3). Altitude amplifies the effect: Mexico City (2,240 m, ρ ≈ 0.96) cuts drag by 22 %, which is why the cycling Hour Record is set at high-altitude velodromes. Of course you trade against reduced VO₂max from thinner air, so endurance events tend to optimise around 1,500–2,500 m.
What is "density altitude" and why do pilots care so much about it?
Density altitude is "the altitude in the ISA standard atmosphere at which the current density would occur". A field at 500 m might, on a hot, humid, low-pressure day, have the density of ISA air at 1,500 m — that 1,500 m is the density altitude. For an engine, propeller and wing this is the altitude that really matters. Practical consequences: (1) mass airflow into the engine drops, so power drops; (2) propeller thrust per revolution drops; (3) the indicated airspeed needed to generate enough lift goes up. Combined, take-off distance can be 50 % longer or more. The FAA, JCAB and CASA all require light-aircraft pilots to compute density altitude against the published runway length. This tool does not print a density-altitude number directly, but ρ and ρ / 1.225 contain all the information you need to look the altitude up in an ISA table.
Why not use the full CIPM-2007 equation for better accuracy?
The full CIPM-2007 equation (Picard et al. 2008) adds a compressibility factor Z(p, T, x_v) and a vapour-pressure enhancement factor f(p, T); together they shift the answer by < 0.05 % across 600–110,000 Pa and −40 °C..60 °C. This calculator targets sport, aviation, HVAC and teaching, where the input barometer, thermometer and hygrometer typically have 0.5–2 % uncertainty — the CIPM corrections vanish into the input noise, and they add real complexity (the full form requires atmospheric CO₂ concentration as an input). If you need metrology-grade accuracy (mass-comparison buoyancy, Watt-balance work and so on) reach for NIST SOP 2 or the BIPM reference implementations of CIPM-2007 directly.
Related tools
Ohm's Law Calculator (V / I / R / P)
Enter any two of voltage, current, resistance, or power — the calculator solves for the other two using V = IR and P = VI.
Speed, Distance & Time Calculator
Enter any two of distance, time and speed to get the third — with km/h, mph, m/s, km, miles, hours and minutes supported.
Density Calculator (mass / volume)
Compute density from mass and volume (ρ = m / V), or solve for the missing variable. Built-in reference table for 19 common substances.
Projectile Motion Calculator
Enter launch speed, angle and height to compute projectile range, peak height and flight time (no air resistance). Pick from Earth, Moon, Mars and more.
Wind Chill Calculator
Compute the wind chill (feels-like temperature) from air temperature and wind speed using the 2001 Environment Canada / US NWS formula, with frostbite risk levels.
Dew Point Calculator
Compute dew point from air temperature and relative humidity using the Magnus formula — handy for HVAC, photography and weather analysis.
Kinetic Energy Calculator (KE = ½ m v²)
Compute kinetic energy KE = ½ m v² with mixed units (kg / g / lb and m/s / km/h / mph) and see the result in joules, kilojoules, food calories, foot-pounds and watt-hours.
Half-Life & Exponential Decay Calculator
Enter any three of initial amount, remaining amount, elapsed time and half-life to solve for the fourth — useful for radioactive decay, drug pharmacokinetics and radiometric dating.
Resistor Color Code Calculator (4 / 5 band)
Pick the colour bands and instantly read the resistance and tolerance — 4-band and 5-band notations supported, with Ω / kΩ / MΩ formatting and a closest E12 / E24 preferred-value check.
GPS Distance Calculator (Haversine)
Enter two latitude/longitude pairs to compute the great-circle distance using the haversine formula (km, miles, nautical miles), with bearing and midpoint.
Solution Dilution Calculator (C₁V₁ = C₂V₂)
Solve any one of C₁, V₁, C₂, V₂ from the dilution equation C₁V₁ = C₂V₂ — a daily lab essential for chemistry, biology and pharmacy work.
Decibel (dB) Sum Calculator
Two 80 dB sound sources do not equal 160 dB. Enter multiple dB values to compute the combined SPL, and subtract background noise to recover the signal alone.
Resistor Parallel / Series Calculator
Enter up to 8 resistor values to see the series total (R₁ + R₂ + …) and the parallel total (1 / Σ(1/Rᵢ)) at the same time.
Wavelength ↔ Frequency Calculator
Convert between electromagnetic wavelength and frequency via c = λf, with the matching spectrum band (radio / microwave / visible / X-ray / γ) and photon energy.
Tank Volume Calculator
Compute the capacity of vertical or horizontal cylindrical, rectangular and spherical tanks, including partial-fill volumes at a given liquid level.
Pendulum Period Calculator (T = 2π√L/g)
Enter the pendulum length and local gravity to get the period, frequency and angular frequency, with Earth/Moon/Mars/Jupiter presets — and reverse-solve for the length needed to hit a target period.
Heat Index Calculator
Enter air temperature and relative humidity to get the apparent temperature (NOAA Rothfusz heat index) and the corresponding heat-stress risk band.
Vehicle Stopping Distance Calculator
Enter speed, reaction time and road friction to estimate reaction, braking and total stopping distance.
Snell's Law Refraction Calculator
Enter the refractive indices of two media and an angle of incidence — get the refraction angle and critical angle from Snell's law (n₁ sin θ₁ = n₂ sin θ₂).
Capacitor Energy Calculator
Enter capacitance (F, mF, µF, nF, pF) and voltage to compute the stored energy (E = ½CV²) and charge (Q = CV) on a capacitor.
Boiling Point at Altitude Calculator
Enter altitude to compute the boiling point of water (°C / °F) and local air pressure using the ICAO standard atmosphere and the Antoine equation — useful for hiking, cooking and high-altitude baking.
Specific Heat (Q = mcΔT) Calculator
Solve Q = m × c × ΔT for any one of heat energy, mass, specific heat capacity or temperature change — with presets for water, aluminium, iron, copper, glass, air and more.
pH and Hydrogen Ion Concentration Calculator
Convert between pH, pOH, hydrogen-ion concentration [H⁺] and hydroxide concentration [OH⁻] — with acid / neutral / alkaline classification.
Ideal Gas Law (PV = nRT) Calculator
Pick the unknown (P, V, n or T), enter the other three and PV = nRT is solved instantly — works in Pa / kPa / atm / bar / mmHg / psi, m³ / L / mL, mol / mmol / kmol and K / °C / °F.
Coulomb's Law Calculator
Enter two point charges and the separation distance to compute the electrostatic force between them via F = kₑ·q₁·q₂/r² (attractive or repulsive).
Newton's Law of Universal Gravitation Calculator
Enter two masses and the distance between them to compute the gravitational attraction via F = G·m₁·m₂/r².
Thin Lens Equation Calculator
Given any two of the three quantities (object distance u, image distance v, focal length f), solve for the remaining one and the lateral magnification.
Distance to Horizon Calculator
Enter the observer eye height above the surface to compute the distance to the geometric and refraction-corrected horizon.
Hooke's Law (Spring Force) Calculator
Given any two of spring constant k, displacement x or restoring force F, solve for the third and the elastic potential energy U = ½kx².
Buoyancy Force (Archimedes' Principle) Calculator
Enter fluid density, submerged volume and gravitational acceleration to compute the buoyant force F = ρ V g, plus whether the object floats, sinks or stays neutral.
Voltage Divider Calculator
Enter the input voltage and two series resistor values to find the divider output voltage, current and power dissipated in each resistor.
Escape Velocity Calculator
Enter the mass and radius of a celestial body (or pick Earth, Moon, Mars and other presets) to compute the minimum surface launch speed v = √(2GM/r) needed to escape its gravity.
Doppler Shift Frequency Calculator
Enter the source frequency, observer/source velocities and wave speed (sound or light) to compute the observed frequency shift due to the Doppler effect.
Newton's Law of Cooling Calculator
Enter initial temperature, ambient temperature, cooling constant and elapsed time to estimate an object's temperature with T(t) = T∞ + (T₀ − T∞)·e^(−kt), plus half-cooling time and time constant.
Centripetal Force Calculator
Enter mass and radius, then linear speed, angular speed or period, and instantly read off centripetal force F = m·v²/r, centripetal acceleration, tangential speed, angular speed, period and frequency.
LC Resonant Frequency Calculator
Enter inductance L (H) and capacitance C (F) to compute the resonant frequency f = 1 / (2π√(LC)) of an LC tank circuit, plus its period and angular frequency.
Speed of Sound in Air Calculator
Enter the air temperature and compute the speed of sound in dry air using v = 331.3 × √(1 + T/273.15) — output in m/s, km/h, mph, ft/s plus the "count-the-seconds" thunder distance rule.
Reynolds Number Calculator
Enter fluid density, velocity, characteristic length and viscosity to compute the Reynolds number and classify the flow as laminar, transitional or turbulent.
Spring Potential Energy Calculator
Enter the spring constant k and displacement x to instantly compute the elastic potential energy stored in a Hookean spring via U = ½·k·x², with conversions to kJ, kcal, ft·lbf and Wh for easy comparison.
Beer-Lambert Law Absorbance Calculator
Use A = ε·c·ℓ to compute absorbance, transmittance and concentration — any three of the four inputs determines the fourth.
Kepler's Third Law (Orbital Period) Calculator
Compute orbital period from semi-major axis and central body mass via T² = 4π²·a³/GM, or invert to recover the semi-major axis — with presets for the Sun, Earth, Moon and Jupiter.
Drag Force Calculator
Enter fluid density, velocity, drag coefficient Cd and frontal area and compute the drag force from Fd = ½·ρ·v²·Cd·A — handy for cycling, automotive, ballistic and skydiving scenarios.
Hydrostatic Pressure Calculator
Compute the hydrostatic pressure P = ρ·g·h from fluid density, depth and gravity, and convert it to kPa, bar, psi, atm, mmHg and metres of water — useful for diving, aquariums and piping.
Buffer pH (Henderson–Hasselbalch) Calculator
Enter pKa together with the conjugate-base [A⁻] and weak-acid [HA] concentrations and apply the Henderson–Hasselbalch equation to compute buffer pH, the buffer ratio and the effective buffering range.
Friction Force (Static / Kinetic) Calculator
Enter mass, incline angle and friction coefficients (or pick a preset like steel-on-steel or rubber-on-concrete) to compute normal force N, maximum static friction fs,max = μs·N, kinetic friction fk = μk·N and the critical angle θc — and instantly see whether the block stays at rest or slides down the slope.
Gear Ratio Calculator
Enter driving and driven gear tooth counts plus input RPM and torque to compute gear ratio, output RPM, output torque and mechanical advantage.
Molarity Calculator
Enter solute mass, molecular weight and solution volume to compute molarity (mol/L); solve for any one unknown.
Earthquake Magnitude ↔ Energy Calculator
Convert moment magnitude (Mw) to released energy (joules and TNT equivalent) via the Gutenberg–Richter relation log₁₀E = 1.5M + 4.8, with a comparison to landmark historical earthquakes.
Percent Yield Calculator (Chemistry)
Enter the actual mass of product recovered and the theoretical yield to compute % yield = actual ÷ theoretical × 100%, with an indicative classification (poor / moderate / good / excellent).
Moment of Inertia Calculator (Common Shapes)
Pick a common shape (solid sphere, hollow sphere, solid cylinder, thin-walled cylinder, thin disk, slender rod about centre or end, rectangular plate) and enter mass and dimensions to get the rotational moment of inertia I = k·m·r² / k·m·L².
Free Fall Calculator (Time, Velocity, Kinetic Energy)
Enter a fall height (and optional mass / gravity) to compute fall time, impact velocity and kinetic energy via h = ½·g·t² and v = √(2·g·h). Preset gravities for Earth, Moon, Mars and more.
Molar Mass Calculator (Chemical Formula)
Enter a chemical formula (e.g. H2SO4, Ca(OH)2, CuSO4·5H2O) and the tool sums the IUPAC standard atomic weights element by element to return the molar mass in g/mol — useful for chemistry homework and lab weighing.
Newton's Second Law Calculator (F = m·a)
Enter any two of force, mass and acceleration and the tool solves for the third — handy for high-school physics, machine design, vehicle braking and elevator safety factors.
Mass ↔ Moles Converter (n = m / M)
Enter mass and molar mass (g/mol), or moles, and the tool converts via n = m / M, also reporting the particle count N = n · Nₐ — the everyday workhorse of chemistry lab weighing and stoichiometry problems.
Lorentz Factor Calculator (Time Dilation γ)
Enter a velocity v (as a fraction of c or in m/s) and compute the special-relativity Lorentz factor γ = 1/√(1 − v²/c²), together with the time-dilation factor, the length-contraction ratio and the relativistic kinetic energy.