Relative Humidity Calculator
Calculate relative humidity, dewpoint temperature, actual vapor pressure, and saturated vapor pressure using the Magnus formula. Free online humidity calculator.
What is Relative Humidity?
Relative humidity (RH) is the ratio of the actual amount of water vapor present in the air to the maximum amount the air can hold at a given temperature, expressed as a percentage. When RH reaches 100%, the air is fully saturated and condensation begins. Relative humidity is one of the most important meteorological variables, affecting human comfort, weather patterns, agriculture, and numerous industrial processes.
Unlike absolute humidity (which measures actual moisture content), relative humidity is temperature-dependent. The same amount of water vapor produces a higher RH at lower temperatures because cold air has a lower saturation capacity. This is why mornings often feel damp and afternoons feel dry even when the actual moisture content remains unchanged.
The Relative Humidity Formula
Vapor Pressure Method:
$$RH = \frac{e}{e_s} \times 100\%$$
Where:
- $RH$ = Relative humidity (percent)
- $e$ = Actual vapor pressure (mbar)
- $e_s$ = Saturated vapor pressure at the air temperature (mbar)
Magnus Formula (Dewpoint Method):
The Magnus formula provides an accurate approximation for relating temperature, dewpoint, and relative humidity:
$$RH = 100 \times \frac{\exp\left(\frac{17.271 \cdot T_d}{237.7 + T_d}\right)}{\exp\left(\frac{17.271 \cdot T}{237.7 + T}\right)}$$
Where:
- $T$ = Air temperature in degrees Celsius
- $T_d$ = Dewpoint temperature in degrees Celsius
How to Use the Calculator
Our calculator supports two methods:
- Vapor Pressure Method: Enter actual and saturated vapor pressure values to calculate RH, or solve for either pressure value.
- Dewpoint Method (Magnus): Enter temperature and dewpoint to calculate RH, or solve for dewpoint or air temperature from known RH and the other variable.
Understanding the Results
- Below 30%: Very dry air. Can cause dry skin, irritated eyes, static electricity, and respiratory discomfort.
- 30-50%: Comfortable range for most people. ASHRAE recommends 30-60% for occupied spaces.
- 50-60%: Slightly humid but acceptable. May feel stuffy in poorly ventilated areas.
- Above 60%: Humid conditions. Encourages mold growth, dust mites, and condensation on cold surfaces.
- 100%: Saturation point. Fog, dew, and precipitation occur.
Why Relative Humidity Matters
- Human comfort: High RH slows evaporative cooling, making warm air feel hotter (heat index). Low RH accelerates evaporation, making cool air feel colder.
- Health: Low RH increases transmission of airborne viruses; high RH promotes mold and dust mites.
- Building moisture control: High RH leads to condensation in walls and attics, causing structural damage.
- Agriculture: Greenhouse humidity affects plant transpiration, disease susceptibility, and fruit quality.
- Museum conservation: Artwork, documents, and artifacts require stable RH (typically 45-55%) to prevent deterioration.
- Electronics manufacturing: Low RH increases static discharge risk; high RH causes corrosion.
Common Misconceptions
A common mistake is comparing RH values at different temperatures. 50% RH at 30°C contains far more moisture than 50% RH at 10°C because warm air holds more water vapor. For absolute comparisons, use dewpoint temperature or mixing ratio. Another common error is confusing relative humidity with absolute humidity — RH is a percentage of capacity, not a measure of actual moisture content.
Also check: STP Calculator, Pressure Calculator, Specific Gravity Calculator, Density Calculator, Thermal Conductivity Calculator, and Unit Converter.
Frequently Asked Questions
What is a comfortable indoor humidity level?
Most people find 30-50% RH comfortable. Below 30% can dry out skin and mucous membranes; above 60% encourages mold growth and dust mites. ASHRAE Standard 55 recommends 30-60% RH for general occupied spaces.
What is the difference between dewpoint and relative humidity?
Dewpoint is the temperature at which air becomes fully saturated (100% RH) and condensation begins. It is an absolute measure of moisture content independent of temperature. RH expresses how close the air currently is to that saturation point as a percentage. A dewpoint of 20°C with air at 25°C gives about 73% RH; warm the same air to 35°C and RH falls to about 43% without losing any moisture.
Why does relative humidity change throughout the day?
RH rises as temperature drops (the air's saturation capacity falls) and falls as temperature climbs. This is why mornings often feel damp and afternoons feel dry even though the actual moisture content may not change much. Use dewpoint for moisture comparisons across different temperatures.
How do you calculate relative humidity from temperature and dewpoint?
Using the Magnus formula: gamma = (17.271 x T) / (237.7 + T) + ln(RH/100), then Td = 237.7 x gamma / (17.271 - gamma). For T = 25°C and RH = 60%, gamma is approximately 1.133, giving Td = 16.7°C. Any surface cooler than the dewpoint will collect condensation.
What is saturation vapor pressure?
Saturation vapor pressure is the partial pressure of water vapor in equilibrium with liquid water at a given temperature. It roughly doubles every 10°C: approximately 0.61 kPa at 0°C, 1.23 kPa at 10°C, 2.34 kPa at 20°C, and 4.24 kPa at 30°C. This exponential growth explains why warm air can hold much more moisture than cold air.
How does humidity affect human comfort?
High humidity slows evaporative cooling from the skin, making warm air feel hotter (the heat index quantifies this). Low humidity in cold weather accelerates evaporation and feels colder. Indoor comfort ranges typically fall between 30-60% RH at 20-24°C; outside that band, occupants report discomfort, dry-eye symptoms, or condensation problems.
What is the Magnus formula used for?
The Magnus formula is an empirical equation that relates saturation vapor pressure to temperature. It is widely used in meteorology and HVAC engineering because it provides an accurate approximation over the typical range of atmospheric temperatures (0-60°C). The constants 17.271 and 237.7 are the most common fit for this temperature range.