At standard atmospheric pressure of 101.325 kPa (1 atm), dry air at 15 °C has a density of about 1.225 kg/m³. This calculator uses pressure, temperature, and the molar mass of air to estimate density in kg/m³; enter absolute pressure and temperature, and it returns the ideal-gas value.
Formula
The ideal-gas density relation is ρ = pM/(RT). Here, ρ is density in kg/m³, p is absolute pressure in pascals (Pa), M is molar mass in kg/mol, R is the universal gas constant, 8.31446261815324 J/(mol·K), and T is absolute temperature in kelvins (K). The calculator accepts pressure in kPa and molar mass in g/mol, so its expression converts kPa to Pa by multiplying by 1000, g/mol to kg/mol by dividing by 1000, and Celsius to kelvins by adding 273.15.
Pressure must be absolute, measured from a vacuum—not gauge pressure, which measures pressure above the surrounding atmosphere. The formula assumes air behaves as an ideal gas and treats its composition through one average molar mass. The first output is density; the second reports the converted temperature as a check.
Worked Example
Using the defaults—p = 101.325 kPa, t = 15 °C, and M = 28.965 g/mol—first convert the inputs:
- Pressure: 101.325 × 1000 = 101325 Pa.
- Molar mass: 28.965 / 1000 = 0.028965 kg/mol.
- Temperature: 15 + 273.15 = 288.15 K.
Then ρ = (101325 × 0.028965) / (8.31446261815324 × 288.15) = 1.225012… kg/m³, which rounds to 1.225 kg/m³ at three decimal places. The absolute-temperature output is 288.15 K.
Assumptions
- Air is modeled as an ideal gas.
- The entered molar mass represents dry air with a conventional average composition; the default is 28.965 g/mol.
- Pressure is absolute and temperature is in Celsius before conversion to kelvins.
- Humidity, altitude-related composition changes, and non-ideal gas effects are not modeled.
What “Standard Pressure” Means
Standard pressure is 101.325 kPa, equivalent to 101325 Pa or one standard atmosphere. It is a reference pressure, not a claim that pressure everywhere at sea level is exactly that value. Weather, elevation, and local conditions cause atmospheric pressure to vary.
There is no single air density associated with pressure alone: temperature and composition matter too. A widely used reference value, approximately 1.225 kg/m³, refers to dry air at 15 °C and standard pressure. At 0 °C and the same pressure, the ideal-gas estimate is about 1.292 kg/m³. Colder air is denser when pressure and composition are held constant.
How Temperature and Pressure Change Density
The ideal-gas formula makes the dependencies explicit. At fixed temperature and composition, density rises in direct proportion to absolute pressure. At fixed pressure and composition, density falls as absolute temperature rises. The temperature relationship uses kelvins: Celsius values cannot be used directly as the denominator because the gas-law temperature scale starts at absolute zero.
For example, doubling absolute pressure while keeping temperature unchanged doubles the calculated density. Raising temperature from 15 °C to 30 °C at 101.325 kPa lowers density to about 1.166 kg/m³. These comparisons hold the other inputs constant and are estimates for ordinary atmospheric conditions.
Humidity, Altitude, and Real Air
Water vapor changes air’s average molar mass. At the same pressure and temperature, humid air is generally less dense than dry air because water molecules (about 18.015 g/mol) are lighter than the average molecules in dry air (about 28.965 g/mol). The calculator’s dry-air default therefore tends to slightly overestimate density when humidity is substantial. A precise moist-air calculation needs humidity information as well as pressure and temperature.
At higher altitude, atmospheric pressure usually decreases, so air density generally decreases too. Temperature also changes with altitude and weather, so elevation alone is not enough to determine a precise density. For flight, engineering, or weather applications, use local pressure and temperature, and use a specialized moist-air or atmospheric model where the required accuracy calls for it.
Units, Measurement, and Common Errors
Density is mass divided by volume. The SI unit kg/m³ is not the same numerical scale as g/L: 1 kg/m³ equals 1 g/L. A density of 1.225 kg/m³ is also 0.001225 g/cm³. Keep units consistent when comparing a calculator result with a table or instrument reading.
- Gauge pressure: Do not enter a gauge reading as absolute pressure. Add the local atmospheric pressure to gauge pressure to obtain absolute pressure.
- Temperature: Enter degrees Celsius; the calculator adds 273.15. Do not enter kelvins in this field.
- Reference conditions: A value quoted as “standard air density” is incomplete unless its temperature and air-composition convention are stated.
- Rounding: The calculator displays three decimal places, but the input composition and environmental measurements may not justify that many physically meaningful digits.
Air density matters in calculations involving buoyancy, drag, ventilation, and gas flow. For example, aerodynamic force calculations commonly depend on density alongside speed and area. The density estimate is only one part of those models; it does not account by itself for turbulence, geometry, or changing flow conditions.
Frequently Asked Questions
What is the density of air at standard pressure?
At 101.325 kPa and 15 °C, dry air has a commonly used density of about 1.225 kg/m³. Specify temperature and humidity when greater precision is needed.
Is air density 1.225 kg/m³ at every temperature?
No. That reference value applies near 15 °C at standard pressure for dry air. At the same pressure, warmer air is less dense and colder air is denser.
What is the density of air at standard pressure and 0 °C?
For dry air at 101.325 kPa and 0 °C, the ideal-gas estimate is about 1.292 kg/m³, using an average molar mass of 28.965 g/mol.
Does humidity make air denser?
At the same temperature and total pressure, adding water vapor generally makes air less dense because water vapor has a lower molar mass than dry air’s average.
Should I enter gauge pressure or absolute pressure?
Enter absolute pressure. Gauge pressure is relative to surrounding atmospheric pressure and must be converted before use.
Related
Formula used
in p | Absolute pressure | kPa | 101.325 | 0 in t | Air temperature | °C | 15 | -273.15 in m | Molar mass of air | g/mol | 28.965 | 0 out rho | Air density | kg/m³ | p * 1000 * (m / 1000) / (8.31446261815324 * (t + 273.15)) | 3 out tk | Absolute 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
- Pressure Density Depth Formula for Fluids98,066 Pa
- Pressure Density Temperature Equation Calculator100,961.74 Pa
- Pressure Density Cup: What It Measures and How It Works1.0000 g/mL
- Pressure, Density, and Temperature: How They Relate101,307 Pa
- Pressure-Based vs Density-Based Solvers in CFD
- Pressure-Based vs Density-Based Solvers in CFD