How to Calculate Relative Humidity from Absolute Humidity (With Formula and Examples)
Absolute humidity gives you grams per cubic meter. Relative humidity gives you a percentage. Converting between them requires temperature. Here is the exact formula, a reference table, and a calculator.
Your indoor air quality sensor outputs 12.5 g/m³. Your HVAC system asks for 40–60% relative humidity. How do you convert one to the other? This comes up constantly in building science, greenhouse management, and industrial process control — and it trips people up because the conversion is not direct. You need temperature.
Here is exactly how to go from absolute humidity to relative humidity and back, with step-by-step examples and a reference table. For instant results:
Absolute Humidity vs. Relative Humidity: The Core Difference
| Property | Unit | What it measures | Changes with temperature? |
|---|---|---|---|
| Absolute Humidity (AH) | g/m³ | Actual mass of water vapor per cubic meter | Slightly (air density changes) |
| Relative Humidity (RH) | % | Fraction of the air's maximum water capacity | ✅ Yes — dramatically |
| Specific Humidity | g/kg | Water vapor mass per kg moist air | No |
Absolute humidity is what actually exists in the air — a physical quantity. Relative humidity is a ratio — it compares that quantity to what the air could theoretically hold at its current temperature. This is why the same air mass at 12.5 g/m³ can be at 60% RH in a warm room and 100% RH in a cool basement.
How to Calculate Relative Humidity from Absolute Humidity and Temperature
Step 1 — Saturation absolute humidity at temperature T:
AH_sat(T) = 216.7 × e_s(T) / (T + 273.15) [g/m³]
Where:
e_s(T) = 6.112 × exp(17.625 × T / (243.04 + T)) [hPa]
Step 2 — Convert absolute humidity to relative humidity:
RH = (AH / AH_sat(T)) × 100 [%]
Where:
AH = measured absolute humidity [g/m³]
T = air temperature [°C]
Worked Example: Absolute Humidity → Relative Humidity
Given: AH = 12.5 g/m³, Temperature = 22°C
Step 1: Calculate saturation vapor pressure:
e_s(22) = 6.112 × exp(17.625 × 22 / (243.04 + 22))
= 6.112 × exp(387.75 / 265.04)
= 6.112 × exp(1.463)
≈ 6.112 × 4.318
≈ 26.39 hPa
Step 2: Calculate saturation absolute humidity:
AH_sat(22) = 216.7 × 26.39 / (22 + 273.15)
= 216.7 × 26.39 / 295.15
≈ 5,718.4 / 295.15
≈ 19.37 g/m³
Step 3: Calculate relative humidity:
RH = (12.5 / 19.37) × 100
≈ 64.5%
At 22°C with an absolute humidity of 12.5 g/m³: RH ≈ 64.5%
How to Calculate Absolute Humidity from Relative Humidity and Temperature
The reverse direction:
AH = 216.7 × (e_s(T) × RH / 100) / (T + 273.15) [g/m³]
Or equivalently:
AH = AH_sat(T) × (RH / 100)
Example: T = 25°C, RH = 55%
e_s(25) = 6.112 × exp(17.625 × 25 / 268.04) ≈ 31.67 hPa
AH_sat(25) = 216.7 × 31.67 / 298.15 ≈ 23.01 g/m³
AH = 23.01 × (55 / 100) = 12.66 g/m³
The calculator above outputs Absolute Humidity (g/m³) directly in the results for every calculation.
Absolute Humidity Reference Table
Saturation absolute humidity (AH_sat) and example RH conversions at common temperatures:
| Temperature | AH_sat (100% RH) | AH at 60% RH | AH at 40% RH | AH at 80% RH |
|---|---|---|---|---|
| 5°C | 6.80 g/m³ | 4.08 g/m³ | 2.72 g/m³ | 5.44 g/m³ |
| 10°C | 9.41 g/m³ | 5.65 g/m³ | 3.76 g/m³ | 7.53 g/m³ |
| 15°C | 12.83 g/m³ | 7.70 g/m³ | 5.13 g/m³ | 10.26 g/m³ |
| 20°C | 17.29 g/m³ | 10.37 g/m³ | 6.92 g/m³ | 13.83 g/m³ |
| 22°C | 19.37 g/m³ | 11.62 g/m³ | 7.75 g/m³ | 15.50 g/m³ |
| 25°C | 23.01 g/m³ | 13.81 g/m³ | 9.20 g/m³ | 18.41 g/m³ |
| 30°C | 30.37 g/m³ | 18.22 g/m³ | 12.15 g/m³ | 24.30 g/m³ |
| 35°C | 39.63 g/m³ | 23.78 g/m³ | 15.85 g/m³ | 31.70 g/m³ |
Why the Conversion Requires Temperature
This is the key insight that trips people up: you cannot convert absolute humidity to relative humidity without knowing the temperature.
Here is why:
- Absolute humidity measures what is actually in the air
- Relative humidity measures what is in the air as a fraction of the maximum possible
- The maximum possible (saturation point) is determined entirely by temperature
The same 10 g/m³ of water vapor represents:
- 93% RH at 10°C (close to the saturation limit of 10.73 g/m³)
- 58% RH at 20°C (well below the saturation limit of 17.3 g/m³)
- 43% RH at 25°C (moderate in a warm room)
- 25% RH at 35°C (uncomfortably dry in a hot room)
This is exactly why your basement can have the same absolute humidity as your living room but feel much damper — it is cooler, so the same moisture content sits much closer to saturation.
Practical Use Cases
Building science and moisture forensics: When investigating mold or condensation damage, inspectors often measure absolute humidity at multiple points in a building. Converting to RH requires knowing the temperature at each measurement point — a cold wall surface at the same AH as the warm room air will be at a much higher RH, potentially above the 70% mold threshold.
Greenhouse and grow room management: Plant transpiration increases absolute humidity in a sealed space. Monitoring AH from sensors and converting to RH at the canopy temperature (which may differ from the air temperature) gives a more accurate picture of stomatal conditions than room RH alone.
Industrial process control: Many industrial dryers, printing presses, and food storage environments monitor absolute humidity for process consistency, then convert to RH to assess material moisture absorption risk.
HVAC commissioning: Technicians measuring airflow sometimes encounter absolute humidity readings from pitot tube traversals or flow hoods. Converting to RH using the measured duct air temperature lets them verify the psychrometric state of the supply air.
Frequently Asked Questions
Can absolute humidity be higher than the saturation point? No — that is physically impossible in equilibrium. If you try to add more water vapor to air that is already saturated, the excess condenses into liquid droplets (fog, dew, or cloud). AH_sat is the hard ceiling. RH reaching 100% means AH equals AH_sat.
What is a comfortable absolute humidity level indoors? For typical comfort at room temperature (20–22°C), absolute humidity between 7–12 g/m³ corresponds to 40–60% RH. Below 5 g/m³, the air becomes very dry (static electricity, dry mucous membranes). Above 14 g/m³ at room temperature, conditions start feeling muggy.
Why is absolute humidity sometimes listed in g/kg instead of g/m³? Different communities use different conventions. Meteorology often uses mixing ratio (g water per kg dry air), while building science commonly uses g/m³. At typical atmospheric conditions, 1 g/kg ≈ 1.2 g/m³, but the conversion is temperature- and pressure-dependent. Our calculator outputs absolute humidity in g/m³ (the volumetric measure).
How do I calculate absolute humidity from temperature and dew point?
Calculate the actual vapor pressure from the dew point: e = 6.112 × exp(17.625 × Td / (243.04 + Td)), then: AH = 216.7 × e / (T + 273.15). Enter temperature and dew point into the Relative Humidity Calculator and the absolute humidity stat appears automatically in the results.
Is absolute humidity the same as specific humidity? No. Absolute humidity is expressed per cubic meter of air (g/m³) — a volumetric measure. Specific humidity is expressed per kilogram of moist air (g/kg) — a mass measure. Since air density changes with temperature and pressure, they do not have a fixed conversion factor. At standard sea-level conditions and 20°C, 1 g/m³ ≈ 0.83 g/kg approximately.
Ready to run the numbers?
Get your result instantly — private, in your browser.