Air density is mass per unit volume, calculated as ρ = m/V. For dry air treated as an ideal gas, it can also be calculated from pressure and temperature using ρ = p/(RdT); enter pressure and temperature to estimate density in kg/m³, with the ideal-gas assumption made explicit.
Formula
The ideal-gas air-density formula is:
ρ = p/(RdT)
- ρ is air density, in kilograms per cubic metre (kg/m³).
- p is absolute pressure, in pascals (Pa). The calculator accepts kilopascals and converts them using 1 kPa = 1,000 Pa.
- T is absolute temperature, in kelvins (K). Convert a Celsius temperature using T = t + 273.15.
- Rd is the specific gas constant for dry air, approximately 287.05 J/(kg·K).
The formula follows the ideal-gas law, pV = mRdT, rearranged using density ρ = m/V. The calculator uses absolute pressure, not gauge pressure, and converts the supplied Celsius temperature to kelvins. It reports density to three decimal places; that display precision does not mean the assumptions or input measurements are exact.
Worked Example
Using the defaults—101.325 kPa and 20 °C—first convert the inputs:
p = 101.325 × 1,000 = 101,325 Pa
T = 20 + 273.15 = 293.15 K
Then calculate:
ρ = 101,325 / (287.05 × 293.15) ≈ 1.204 kg/m³
The calculator therefore displays an air density of 1.204 kg/m³ and a temperature of 293.15 K.
Assumptions
- Air behaves as an ideal gas.
- The air is dry; water vapour is not separately included.
- Pressure is absolute and temperature is converted to kelvins.
- The specific gas constant is fixed at 287.05 J/(kg·K), an approximation for dry air.
What Air Density Means
Density describes how much mass occupies a given volume. At a fixed temperature, increasing pressure packs more gas molecules into a volume, so density increases. At a fixed pressure, warming air generally decreases its density because the gas expands; cooling it increases density. These relationships are captured by ρ = p/(RdT).
Air density matters in fields including weather, aviation, fluid mechanics, and combustion calculations. It affects buoyancy and the forces produced by moving air. A density estimate is not, by itself, a complete model of airflow or lift: those calculations also depend on geometry, speed, and other conditions.
Pressure, Temperature, and Humidity
Use the pressure and temperature at the place and time you care about. Standard atmospheric pressure is 101.325 kPa, but actual atmospheric pressure changes with weather and altitude. A local weather report may give pressure adjusted to sea level rather than the pressure at the measuring location. For density at a particular altitude, use the actual local absolute pressure.
Humidity also changes air density. At the same temperature and total pressure, water vapour makes moist air slightly less dense than dry air because a water molecule has a lower molar mass than the average dry-air mixture. The calculator omits humidity, so its result is a dry-air estimate. For high-accuracy work in humid conditions, use a moist-air calculation that includes water-vapour partial pressure or humidity.
Composition can matter as well. The value 287.05 J/(kg·K) is appropriate as a standard approximation for dry air, not for every gas mixture. Unusually high concentrations of other gases or specialized high-precision requirements call for a gas-specific or composition-adjusted model.
Using the Result and Avoiding Errors
- Use absolute pressure. Gauge pressure measures pressure above the surrounding atmosphere. Convert it to absolute pressure by adding the local atmospheric pressure before using this formula. At ordinary conditions, entering a gauge reading as though it were absolute can cause a major error.
- Convert temperature correctly. The gas-law equation requires kelvins. Do not substitute Celsius directly for T; the calculator adds 273.15 automatically.
- Check units. The output is kg/m³. A value in g/L is numerically equal to kg/m³, but values in g/m³ differ by a factor of 1,000.
- Match conditions. Pressure and temperature should refer to the same location and time. Combining sea-level-adjusted pressure with a local temperature may not represent the air at the site.
- Keep precision realistic. The displayed decimal places are arithmetic formatting, not a guarantee of measurement accuracy. Sensor uncertainty and the dry-air approximation can be more important than the final digit.
A common misconception is that air density is a fixed value. It is not: it varies with pressure, temperature, humidity, and composition. A value near 1.2 kg/m³ is a useful reference for air around room temperature and near sea-level pressure, not a universal constant.
Limits and Other Density Methods
The ideal-gas calculation is suitable for many ordinary atmospheric estimates. At very high pressures, very low temperatures, or when high accuracy is required, real-gas effects and more detailed models may be necessary. For meteorology and engineering, standardized moist-air equations can account for humidity and other corrections.
If the mass and volume of a particular air sample are directly known, the basic definition ρ = m/V can be used instead. This requires reliable measurements of both quantities and a clear definition of the sample’s boundaries and conditions. For most open-air situations, pressure and temperature are easier to obtain, which is why the ideal-gas form is commonly used.
Frequently Asked Questions
What is the formula for air density?
Density is mass divided by volume, ρ = m/V. For dry air approximated as an ideal gas, use ρ = p/(287.05T), with pressure in pascals and temperature in kelvins.
What is the density of air at room temperature?
At 20 °C and 101.325 kPa absolute pressure, the dry-air estimate is about 1.204 kg/m³. The value changes with local pressure, temperature, humidity, and air composition.
Why does air density decrease when temperature rises?
At fixed pressure, warmer gas occupies more volume. The same amount of air spread over a larger volume has lower density.
Does humidity increase or decrease air density?
At the same temperature and total pressure, adding water vapour generally decreases air density slightly compared with dry air. The calculator does not include this correction.
Should I use gauge or absolute pressure?
Use absolute pressure. Gauge pressure excludes the surrounding atmospheric pressure, so add local atmospheric pressure to a gauge reading before applying the formula.
Related
Formula used
in p | Absolute pressure | kPa | 101.325 | 0 in t | Air temperature | °C | 20 | -273.15 out rho | Air density | kg/m^3 | (p * 1000) / (287.05 * (t + 273.15)) | 3 out tk | Air temperature | K | t + 273.15 | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.
More in this section
- Skip Calculator for Soil: What It Can and Can’t Do7.500 m³
- USD to KPW Calculator: Convert Dollars to North Korean Won90,000.00 KPW
- OK Calculator on TV on the Radio? Meaning Explained
- Pension Calculator KP: Estimate Your Pension Benefits
- Neonatal Kp Calculator: What It Means80.0000 mmol/mmol
- Newton to kp Converter Calculator and Formula1.0000 kp