This calculator estimates air density in kilograms per liter (kg/L) from air pressure, temperature, and relative humidity. Enter those conditions to get the density, plus its equivalent in kg/m³; under standard sea-level conditions, dry air is about 0.001225 kg/L.
Formula
For moist air, this calculator uses the ideal-gas density equation with a correction for water vapor:
ρ = [p − (RH/100) × es] × 1000 ÷ [Rd × (T + 273.15)]
To express the result in kg/L, divide the kg/m³ result by 1,000. In the calculator’s combined expression, pressure is entered in kPa and converted to Pa by multiplying by 1,000; temperature in Celsius is converted to kelvin by adding 273.15. The saturation vapor pressure estimate is:
es = 0.61121 × exp[(18.678 − t/234.5) × (t/(257.14 + t))]
- ρ is air density, first calculated in kg/m³ and then converted to kg/L.
- p is absolute air pressure in kPa, not gauge pressure.
- RH is relative humidity as a percentage from 0 to 100.
- es is saturation water-vapor pressure in kPa, estimated for temperature t in °C.
- Rd is the specific gas constant for dry air, 287.05 J/(kg·K).
- T is temperature in °C; the formula uses its kelvin value, T + 273.15.
The humidity correction treats water-vapor pressure as relative humidity multiplied by saturation vapor pressure. It then uses the dry-air gas constant for the mixture, an approximation that is very good for ordinary atmospheric conditions. The vapor-pressure expression is a commonly used approximation over typical meteorological temperatures; it is not a substitute for a high-precision moist-air model outside its practical range.
Worked Example
Using the calculator’s defaults: pressure 101.325 kPa, temperature 15 °C, and relative humidity 0%:
- Convert pressure: 101.325 × 1,000 = 101,325 Pa.
- Convert temperature: 15 + 273.15 = 288.15 K.
- At 0% relative humidity, water-vapor pressure is 0 kPa, so the effective dry-air pressure is 101.325 kPa.
- Calculate density: 101,325 ÷ (287.05 × 288.15) = 1.2250 kg/m³ (rounded).
- Convert to kg/L: 1.2250 ÷ 1,000 = 0.001225 kg/L (to six decimal places, 0.001225).
The displayed kg/m³ result is 1.225 kg/m³ to three decimal places. Small differences from published reference values can arise from the selected gas constant, rounding, humidity, and the precise definition of standard conditions.
Assumptions
- Air behaves approximately as an ideal gas.
- The input pressure is absolute pressure and applies to the air whose density is being estimated.
- Relative humidity is between 0% and 100%; the air is treated as a mixture of dry air and water vapor.
- The dry-air gas constant is fixed at 287.05 J/(kg·K), and the vapor-pressure approximation is intended for ordinary atmospheric conditions.
What Air Density in kg/L Means
Density is mass divided by volume. A value of 0.001225 kg/L means that one liter of air has a mass of about 0.001225 kg, or 1.225 grams, under the stated conditions. That mass is small, but air’s density matters in weather, aircraft performance, ventilation, combustion calculations, and buoyancy.
Because the number in kg/L is small, air density is more often reported in kg/m³. The conversion is exact: 1 kg/L = 1,000 kg/m³, and 1 kg/m³ = 0.001 kg/L. Thus 1.2 kg/m³ is 0.0012 kg/L. Be careful not to confuse kg/L with g/L: 0.001225 kg/L is also 1.225 g/L.
Why Pressure, Temperature, and Humidity Matter
At a fixed temperature and humidity, increasing pressure increases air density: more gas is packed into each unit of volume. At fixed pressure, warming air lowers its density because the gas expands. This is why heated air tends to rise relative to cooler surrounding air, although actual air movement also depends on wind, mixing, and local pressure differences.
Water vapor makes air less dense than dry air at the same temperature and pressure. A water molecule has a lower molar mass than the average molecule in dry air, so replacing some nitrogen and oxygen with water vapor reduces the mixture’s mass per volume. Humidity does not make air denser simply because it contains more water: in ordinary atmospheric comparisons at equal pressure and temperature, more water vapor generally means slightly lower density.
Pressure usually falls with altitude, so air density generally falls as well. The exact change depends on the weather and temperature profile; altitude alone is not enough to determine a precise value. For a reliable estimate, use the pressure measured at the location rather than assuming sea-level pressure.
Standard Values and Useful Comparisons
There is no single air density that applies everywhere. A familiar reference value for dry air at 15 °C and 101.325 kPa is about 1.225 kg/m³, or 0.001225 kg/L. At 20 °C and the same pressure, dry-air density is lower, about 1.204 kg/m³ (0.001204 kg/L). These figures are reference estimates, not universal constants.
- kg/m³ to kg/L: divide by 1,000.
- kg/L to kg/m³: multiply by 1,000.
- g/L to kg/L: divide by 1,000.
- Air versus water: liquid water near room temperature is roughly 1 kg/L, hundreds of times denser than air.
The water comparison also helps explain why air density is often written in kg/m³: a value near 1.2 is easier to read and compare than a value near 0.0012.
Common Input and Interpretation Mistakes
The most important pressure mistake is entering a gauge reading instead of absolute pressure. Gauge pressure is measured relative to the surrounding atmosphere; the formula needs pressure relative to a vacuum. If a gauge reports pressure above ambient, add local atmospheric pressure before using the calculator. Do not add it to a pressure value already reported as absolute.
Temperature must be entered in Celsius, as shown, and the calculator converts it to kelvin internally. Never put a Celsius number directly into a gas-law equation that requires kelvin. Relative humidity is entered as a percentage: use 50 for 50%, not 0.5. The calculator’s allowed range is 0–100%.
Finally, distinguish a condition-specific estimate from a universal property. Air composition, humidity, pressure, and temperature can all vary. For engineering work requiring tight tolerances, use a recognized moist-air property method and measured inputs rather than relying on a rounded standard-atmosphere figure.
Frequently Asked Questions
What is the density of air in kg/L?
Dry air near 15 °C and standard sea-level pressure is about 0.001225 kg/L. The actual value changes with pressure, temperature, and humidity.
How many kg/m³ is 1 kg/L?
Exactly 1,000 kg/m³. To convert kg/m³ to kg/L, divide by 1,000.
Is air denser when it is humid?
At the same temperature and pressure, humid air is generally less dense than dry air because water vapor is lighter, on average, than the nitrogen-and-oxygen mixture it displaces.
Does air density increase with altitude?
No. It generally decreases as altitude rises because atmospheric pressure falls, though local weather and temperature affect the precise value.
Why is air density sometimes given as 1.2 instead of 0.0012?
The first value is usually in kg/m³; the second is in kg/L. They represent the same density because a cubic meter contains 1,000 liters.
Related
Formula used
in p | Absolute air pressure | kPa | 101.325 | 0.001 in t | Air temperature | °C | 15 | -273.15 in rh | Relative humidity | % | 0 | 0 | 100 out d | Air density | kg/L | (p * 1000 * (1 - (rh / 100) * (0.61121 * exp((18.678 - (t / 234.5)) * (t / (257.14 + t))) / (p * 1000))) / (287.05 * (t + 273.15)) / 1000 | 6 out dm | Air density | kg/m³ | d * 1000 | 3
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