Humidity Calculator

Relative Humidity (%)

Absolute Humidity (g/m³)

Vapor Pressure (hPa)

How Humidity Works

Humidity is the concentration of water vapor present in the air, and it is one of the most important variables in meteorology, HVAC engineering, agriculture, and human comfort. According to the National Weather Service, humidity affects everything from how hot the air feels to how quickly materials dry, how well crops grow, and whether mold develops in buildings. This calculator takes an air temperature and dew point as inputs and computes three key moisture metrics: relative humidity (the percentage of moisture capacity being used), absolute humidity (the actual mass of water vapor per cubic meter), and vapor pressure (the partial pressure exerted by water vapor in the atmosphere).

Relative humidity (RH) is the most commonly cited measure in weather forecasts. It compares the current amount of water vapor to the maximum the air could hold at that temperature. An RH of 50% means the air is holding half its capacity. However, RH is inherently temperature-dependent -- the same parcel of air can have an RH of 90% at dawn and 40% by afternoon without any moisture being added or removed, simply because warming increases the air's holding capacity. According to the EPA, the ideal indoor RH range is 30-50% for health and comfort. Globally, average surface relative humidity ranges from below 20% in desert interiors to above 80% in tropical maritime regions.

The Humidity Formula

This calculator uses the Tetens approximation to compute saturation vapor pressure from temperature:

es = 6.112 x exp(17.67 x T / (T + 243.5))

Where es is the saturation vapor pressure in hectopascals (hPa), T is the temperature in degrees Celsius, and exp is the exponential function. The actual vapor pressure (e) uses the same formula with the dew point substituted for T. The key derived quantities are:

Worked example: At 80°F (26.7°C) with a dew point of 65°F (18.3°C): es = 6.112 x exp(17.67 x 26.7 / (26.7 + 243.5)) = 34.8 hPa. The actual vapor pressure e = 6.112 x exp(17.67 x 18.3 / (18.3 + 243.5)) = 21.1 hPa. Therefore RH = (21.1 / 34.8) x 100 = 60.6%, and absolute humidity = 216.7 x (21.1 / 299.85) = 15.2 g/m³.

Key Terms You Should Know

Humidity Comfort Ranges and Health Effects

The relationship between humidity and human comfort has been extensively studied. According to ASHRAE (American Society of Heating, Refrigerating, and Air-Conditioning Engineers), maintaining indoor humidity between 30% and 60% RH is essential for occupant health and building integrity. The following table summarizes the health and comfort effects at various humidity levels, based on EPA and CDC guidelines:

Relative HumidityComfort LevelHealth and Building Effects
Below 20%Too DryStatic electricity, dry skin, cracked lips, nosebleeds, increased respiratory infections, wood cracking
20-30%DryMildly uncomfortable, some static discharge, contact lens discomfort
30-50%Ideal (EPA/ASHRAE)Comfortable, minimizes mold and dust mites, optimal for health
50-60%Slightly HumidAcceptable but dust mite populations begin increasing significantly
60-70%HumidMold growth risk on surfaces, musty odors, condensation on cold surfaces
Above 70%Too HumidActive mold growth, structural damage, respiratory issues, dust mite proliferation

Practical Examples

Example 1 -- Summer afternoon: Temperature is 95°F (35°C) with a dew point of 75°F (23.9°C). The saturation vapor pressure at 35°C is 56.2 hPa, and the actual vapor pressure at 23.9°C dew point is 29.7 hPa. Relative humidity = (29.7 / 56.2) x 100 = 52.8%. Absolute humidity = 216.7 x (29.7 / 308.15) = 20.9 g/m³. Despite "only" 53% RH, the dew point of 75°F makes this feel extremely oppressive, and the heat index would register around 110°F.

Example 2 -- Winter indoor heating: Outside air at 20°F (-6.7°C) and 80% RH enters your home and is heated to 72°F (22.2°C). The absolute humidity of the outside air is approximately 2.6 g/m³. After heating, the saturation capacity at 22.2°C is about 19.7 g/m³, so the indoor RH drops to (2.6 / 19.7) x 100 = 13.2% -- far below the 30% comfort threshold. This explains why a humidifier is essential in winter-heated homes.

Example 3 -- Greenhouse management: A greenhouse at 80°F (26.7°C) with plants transpiring heavily reaches a dew point of 72°F (22.2°C). RH calculates to approximately 73%, which exceeds the 70% threshold for fungal diseases like powdery mildew. The grower should increase ventilation or run a dehumidifier to bring RH below 65%.

Tips and Strategies for Humidity Management

Humidity in Industry, Agriculture, and Weather

Beyond personal comfort, humidity control is critical across many industries. Pharmaceutical manufacturing requires 30-45% RH to prevent moisture absorption by hygroscopic drugs. Electronics assembly facilities maintain 40-60% RH to control static discharge (which damages microchips) while preventing corrosion. Paper mills and textile factories adjust humidity to control material properties -- paper becomes brittle below 35% RH and jams machinery above 65%. According to the National Institutes of Health, influenza virus survival in aerosol form drops significantly above 40% RH, which is one reason flu season peaks during dry winter months when indoor humidity often falls to 10-20%.

In agriculture, humidity directly affects crop yield and disease pressure. Greenhouse growers target 40-70% RH for most crops. Grain storage facilities aim for 60-65% RH to prevent spoilage while avoiding over-drying. Globally, average atmospheric water vapor content has increased by approximately 7% per degree Celsius of warming over the past 40 years, consistent with the Clausius-Clapeyron relationship. This increase intensifies rainfall events and shifts regional humidity patterns, making humidity calculation tools increasingly important for climate adaptation planning.

Frequently Asked Questions

What is the difference between relative humidity and absolute humidity?

Relative humidity (RH) expresses the current water vapor as a percentage of the maximum the air can hold at that temperature, while absolute humidity measures the actual mass of water vapor per cubic meter of air in grams. The key practical difference is that RH changes with temperature even when moisture stays constant -- warming air lowers RH because capacity increases -- whereas absolute humidity only changes when water vapor is physically added or removed. For example, air at 20°C and 50% RH contains about 8.6 g/m³ of water vapor; heating that same air to 30°C drops the RH to roughly 28% even though the absolute humidity stays at 8.6 g/m³. Climate scientists often prefer absolute or specific humidity for tracking long-term moisture trends because these measures are independent of temperature fluctuations.

What is the ideal indoor humidity level for health and comfort?

The ideal indoor relative humidity is between 30% and 50%, according to the EPA and ASHRAE Standard 62.1. Below 30%, dry air causes static electricity, dry skin, cracked lips, and increased susceptibility to respiratory infections because viruses survive longer in dry conditions. Above 50%, excess moisture promotes mold growth (which can colonize surfaces within 48 hours above 60% RH), dust mite proliferation, and condensation on windows and cold surfaces. During winter in heated buildings, indoor RH frequently drops to 10-20%, making a humidifier beneficial. In summer, air conditioning or a dehumidifier may be needed to keep RH below 50% in humid climates.

How does temperature affect relative humidity?

Warmer air can hold exponentially more water vapor than cooler air. For every 10°C increase in temperature, the air's moisture-holding capacity approximately doubles, as described by the Clausius-Clapeyron relation. If the actual moisture content stays constant but temperature rises, relative humidity drops because the denominator (saturation capacity) has increased. This is why RH is typically highest in the early morning when temperatures are lowest -- often reaching 90-100% near dawn -- and lowest in the afternoon when temperatures peak, sometimes falling to 30-40%. The dew point temperature, which remains constant as long as moisture content does not change, is a more stable indicator of actual atmospheric moisture.

What is the dew point and why is it important?

The dew point is the temperature at which air becomes fully saturated and water vapor begins to condense into liquid droplets. It is a direct measure of the actual moisture content in the air -- a higher dew point means more water vapor is present regardless of the current temperature. Dew points below 10°C (50°F) feel dry and comfortable, 10-15°C (50-60°F) feels pleasant, 16-20°C (60-68°F) begins to feel sticky, and above 21°C (70°F) feels oppressive. Meteorologists often prefer dew point over relative humidity for communicating how muggy the air feels because RH can be misleading -- 50% RH at 35°C is far more uncomfortable than 50% RH at 15°C.

How is the humidity calculation performed using the Tetens equation?

This calculator uses the Tetens approximation to compute saturation vapor pressure: es = 6.112 × exp(17.67 × T / (T + 243.5)), where T is temperature in Celsius and es is in hectopascals (hPa). Actual vapor pressure (e) is calculated by substituting the dew point temperature for T in the same formula. Relative humidity equals (e / es) × 100. Absolute humidity is derived using the ideal gas law: AH = 216.7 × (e / (T + 273.15)), producing results in grams per cubic meter. The Tetens equation is accurate to within 0.3% for temperatures between -45°C and 60°C, making it suitable for nearly all weather and HVAC applications.

What humidity level prevents mold growth in buildings?

To prevent mold growth, indoor relative humidity should be kept below 60% at all times, with the EPA recommending 30-50% as the target range. Mold spores can begin germinating on surfaces within 24-48 hours when RH consistently exceeds 60%, according to the CDC. At 70% RH and above, active mold colonies can establish on drywall, ceiling tiles, carpet, and wood within days. Bathrooms, basements, and kitchens are especially vulnerable. Use exhaust fans during showers and cooking, repair leaks promptly, and consider a dehumidifier in chronically humid spaces. A simple hygrometer costing $10-$20 can monitor indoor humidity and alert you before conditions become mold-friendly.

Related Calculators