Calculate the density of air (kg/m³) for any combination of temperature, pressure, and relative humidity. Uses the ideal gas law for dry air and the Buck equation for moist air partial pressures.
At standard sea-level conditions (15 °C, 101,325 Pa, 0% humidity), dry air has a density of 1.225 kg/m³.
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-02 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.