This calculator works out the density of air, in kilograms per cubic metre, from three inputs: temperature, atmospheric pressure and relative humidity. Air density affects aircraft lift and engine performance, wind turbine output, HVAC sizing and general aerodynamic drag, so an accurate figure matters for engineering and aviation work as well as everyday curiosity. You enter a temperature in Celsius, Kelvin or Fahrenheit, a pressure in Pascals, hectopascals, kilopascals, atmospheres, PSI or mmHg, and a relative humidity percentage, or jump straight to a preset such as ISA standard, IUPAC or NIST STP, a hot dry or hot humid day, a cold day, or 2,000 metres altitude. The calculator applies the ideal gas law for dry air and the Buck equation for saturation vapour pressure to handle moist air, then returns the air density in both kg/m³ and g/cm³, the temperature in Kelvin, the pressure in hPa, and a full calculation breakdown showing saturation vapour pressure and the partial pressures of dry air and water vapour. A reference table compares your result against standard atmosphere and altitude values, and a verdict line tells you whether your air is denser or less dense than the 1.225 kg/m³ sea-level standard. Results are accurate for typical atmospheric conditions between -40 °C and 60 °C and are intended for educational and engineering estimation purposes only.
Air density (symbol rho, Greek letter) is the mass of air per unit volume, measured in kilograms per cubic metre (kg/m³). It depends on three variables: temperature, pressure, and humidity. The standard approach uses the ideal gas law, which is accurate to better than 0.1% for typical atmospheric conditions.
For perfectly dry air (zero humidity), the density is:
Where:
Humid air is a mixture of dry air and water vapour. Because water vapour (molar mass 18.015 g/mol) is lighter than the average dry air mixture (effective molar mass 28.97 g/mol), adding water vapour reduces density. The formula accounts for this using the partial pressures of dry air and water vapour separately:
Where:
The saturation vapour pressure (psat) is calculated using the Buck equation:
where TC is the temperature in Celsius. This gives psat in Pascals and is accurate to within 0.02% for temperatures from -40 °C to 50 °C.
At 15 °C and 101,325 Pa with 0% relative humidity:
This matches the International Standard Atmosphere (ISA) sea-level value of 1.225 kg/m³ exactly.
| Factor | Effect on density | Why |
|---|---|---|
| Higher temperature | Lower density | Molecules move faster and occupy more volume |
| Higher pressure | Higher density | Molecules are compressed into less space |
| Higher humidity | Lower density | Light water vapour displaces heavier nitrogen and oxygen |
| Greater altitude | Lower density | Atmospheric pressure decreases with height |
Air density matters in many fields:
Sources and method: ISO 2533:1975 Standard Atmosphere; ICAO Doc 7488/3 Manual of the ICAO Standard Atmosphere; Buck, A. L. (1981) "New equations for computing vapour pressure and enhancement factor", Journal of Applied Meteorology 20:1527-1532; Picard, A. et al. (2008) "Revised formula for the density of moist air", Metrologia 45:149-155.
This calculator uses the ideal gas law and the Buck equation for saturation vapour pressure. Results are accurate for typical atmospheric conditions between -40 °C and 60 °C and pressures from 10,000 Pa to 200,000 Pa. For very high humidity near the saturation point, small rounding differences may appear. This calculator is for educational and engineering estimation purposes.
If you've found a bug, or would like to contact us, or learn more about James Graham and Calculate.co.nz.
Calculate.co.nz is partnered with Interest.co.nz for New Zealand's highest quality calculators and financial analysis.
Calculate.co.nz is the sister site of CalculatorHub.com, the world's largest calculator website by tool count.
All calculators and tools are provided for educational and indicative purposes only and do not constitute financial advice.
Calculate.co.nz is proudly part of the Realtor.co.nz group, New Zealand's leading property transaction literacy platform, helping Kiwis understand the home buying and selling process from start to finish. Whether you're a first home buyer navigating your first property purchase, an investor evaluating your next acquisition, or a homeowner planning to sell, Realtor.co.nz provides clear, independent, and trustworthy guidance on every step of the New Zealand property transaction journey.
Calculate.co.nz is also partnered with Health Based Building and Premium Homes to promote informed choices that lead to better long-term outcomes for Kiwi households.
Calculate.co.nz is hosted in Auckland via SiteHost new Zealand.
All content on this website, including calculators, tools, source code, and design, is protected under the Copyright Act 1994 (New Zealand). No part of this site may be reproduced, copied, distributed, stored, or used in any form without prior written permission from the owner.
About & trust: Why Calculate is NZ's most comprehensive · By the Numbers · How we compare · Editorial standards · How we keep data current · NZ finance glossary · Research & data · Financial literacy NZ · About · Privacy policy · Terms of use
Reviewed and maintained. Last reviewed 2026-07-19 and checked on a twice-monthly cycle against IRD, RBNZ and Stats NZ. How we keep data current.
© 2026 Calculate.co.nz. All rights reserved. Building free NZ calculators since 2011.