how to calculate absolute humidity from temperature and relative humidity
Absolute humidity is the mass of water vapor present in a unit volume of air, typically expressed in grams per cubic meter (g/m³). Calculating absolute humidity helps in HVAC sizing, indoor air quality assessment, and meteorological analysis. This guide explains the formula, step-by-step manual calculation, worked examples, and how to use an online calculator to get results quickly.
what is absolute humidity and when to use it
Absolute humidity (AH) measures actual water vapor mass per volume of air. Unlike relative humidity, which is a percentage, AH gives a physical density value that is directly useful when estimating condensation risk, designing dehumidification systems, or converting between moisture metrics (e.g., mixing ratio or specific humidity).
formula to calculate absolute humidity
The most common formula to compute absolute humidity from temperature (T in °C) and relative humidity (RH as a percentage) uses saturation vapor pressure and the ideal gas law for water vapor. Steps:
- Find saturation vapor pressure e_s(T) in hPa or Pa.
- Calculate actual vapor pressure e = (RH / 100) * e_s(T).
- Convert vapor pressure to absolute humidity using AH = (216.7 * e) / (T + 273.15), where e is in hPa and AH in g/m³.
Key formulas:
Magnus-Tetens approximation for saturation vapor pressure (common, accurate for most ambient temperatures):
e_s(T) = 6.112 * exp((17.62 * T) / (243.12 + T)) [e_s in hPa]
Actual vapor pressure:
e = (RH / 100) * e_s(T) [e in hPa]
Absolute humidity:
AH = (216.7 * e) / (T + 273.15) [AH in g/m³]
why 216.7 appears in the formula
216.7 is derived from the universal gas constant, molar mass of water, and unit conversions to produce g/m³ when e is in hPa and T in °C. The formula is a practical rearrangement of the ideal gas law for water vapor.
step-by-step calculation method
- Measure temperature T in °C and relative humidity RH in %.
- Calculate saturation vapor pressure e_s using the Magnus formula: e_s = 6.112 * exp((17.62 * T) / (243.12 + T)).
- Compute actual vapor pressure e = (RH / 100) * e_s.
- Plug e and T into AH = (216.7 * e) / (T + 273.15) to get absolute humidity in g/m³.
worked example 1 — typical indoor conditions
Given: T = 22°C, RH = 45%
1. Saturation vapor pressure:
e_s = 6.112 * exp((17.62 * 22) / (243.12 + 22))
Calculate exponent: (17.62 * 22)/(265.12) ≈ 1.461
e_s ≈ 6.112 * exp(1.461) ≈ 6.112 * 4.311 ≈ 26.36 hPa
2. Actual vapor pressure: e = 0.45 * 26.36 ≈ 11.86 hPa
3. Absolute humidity: AH = (216.7 * 11.86) / (22 + 273.15) ≈ (2570.2) / 295.15 ≈ 8.71 g/m³
worked example 2 — warm humid day
Given: T = 30°C, RH = 70%
1. e_s = 6.112 * exp((17.62*30)/(243.12+30))
Exponent: (528.6)/(273.12) ≈ 1.935
e_s ≈ 6.112 * exp(1.935) ≈ 6.112 * 6.919 ≈ 42.29 hPa
2. e = 0.70 * 42.29 ≈ 29.60 hPa
3. AH = (216.7 * 29.60) / (30 + 273.15) ≈ (6412.7) / 303.15 ≈ 21.15 g/m³
quick reference table
| Temperature (°C) | RH (%) | Saturation vapor pressure e_s (hPa) | Absolute humidity AH (g/m³) |
|---|---|---|---|
| 10 | 50 | 12.27 | 5.47 |
| 20 | 50 | 23.37 | 8.66 |
| 25 | 60 | 31.67 | 13.00 |
| 30 | 80 | 42.43 | 36.04 |
Note: table values are rounded examples. For precise work, compute with full precision.
common errors and how to avoid them
- Confusing relative humidity with absolute humidity: RH is a percentage; AH is mass/volume.
- Using the wrong units for vapor pressure: make sure e and e_s are in hPa when using the 216.7 constant.
- Failing to convert temperature to Kelvin where required: the formula AH uses T+273.15 in the denominator.
- Applying Magnus formula outside its valid range (roughly -40°C to +50°C): for extreme temperatures use more exact formulations.
how to use an online absolute humidity calculator
Using a calculator online (like the tools at Calculatorr) speeds up the process and reduces rounding errors. Typical steps on a calculator page:
- Enter air temperature in °C (or switch to °F if supported).
- Enter relative humidity as a percentage.
- Click 'Calculate' to get absolute humidity in g/m³, plus often related values such as dew point or mixing ratio.
Calculatorr tools often show intermediate values (saturation vapor pressure, actual vapor pressure) so you can verify each step and learn the underlying physics.
interpreting absolute humidity results
What the AH number means:
- Low AH (<5 g/m³): very dry air; increased respiratory irritation and static electricity risk.
- Moderate AH (5–12 g/m³): comfortable indoor range for many climates.
- High AH (>12 g/m³): humid conditions; higher condensation risk and potential mold growth without ventilation.
Use AH to size dehumidifiers: multiply room volume (m³) by the difference between current and desired AH to estimate water to remove. For HVAC design, AH directly appears in psychrometric calculations.
converting absolute humidity to other moisture metrics
You can convert AH to mixing ratio (g water/kg dry air) or specific humidity. For quick conversions, use online calculators or psychrometric charts. Example relation (approximate):
mixing ratio w (g/kg) ≈ 0.622 * e / (p - e) * 1000, where p is atmospheric pressure in hPa and e in hPa. Combining AH and pressure gives more precise humidity metrics.
when to prefer absolute humidity
Choose AH when you need a volumetric water content (e.g., for condensation, dehumidifier capacity, indoor air quality). Use RH when you need a comfort or relative saturation indicator.
For a fast, reliable calculation use the absolute humidity tool at Calculatorr and compare results with manual steps above to validate your inputs.
Suggested images: place them near the top to illustrate the concept and near the conversion section to visualize results.