Relative Humidity Calculator

Relative Humidity Calculator

Popular AI Skill PRO

Enter Calculation

Formula

RH=ees×100%where{e=6.112e17.67Dew PointDew Point+243.5es=6.112e17.67Air TempAir Temp+243.5\begin{gathered} \text{RH} = \frac{e}{e_s} \times 100\% \\[1.5em] \text{where}\quad \left\{ \begin{aligned} e &= 6.112\, e^{\frac{17.67\,\text{Dew Point}}{\text{Dew Point} + 243.5}} \\ e_s &= 6.112\, e^{\frac{17.67\,\text{Air Temp}}{\text{Air Temp} + 243.5}} \end{aligned} \right. \end{gathered}
Usage stats

Advertisement

Results

Relative Humidity
53.8
% RH
Actual vapor pressure (e) 17.04 hPa
Saturation vapor pressure (es) 31.674 hPa

Report an error on this page

What This Calculator Does

Relative humidity (RH) tells you how much water vapor is in the air compared with the maximum the air can hold at a given temperature. This tool computes RH from two readily measured values — the air temperature and the dew point — using the well-established Magnus approximation for saturation vapor pressure. It works in any country and any climate, since it relies only on physics.

Diagram showing air temperature thermometer, dew point, and resulting humidity gauge
The calculator turns air temperature and dew point into a relative humidity percentage.

How to Use It

Enter the current air temperature in degrees Celsius, then enter the dew point temperature (the temperature to which air must cool for water vapor to start condensing). Press calculate. The result shows the relative humidity as a percentage, along with the underlying actual vapor pressure (e) and saturation vapor pressure (es) in hectopascals (hPa).

The Formula Explained

Saturation vapor pressure is found with the Magnus formula $$e_s = 6.112 \cdot \exp\!\left(\frac{17.67 \cdot T}{T + 243.5}\right)$$, where T is temperature in °C. The actual vapor pressure \(e\) uses the same formula but with the dew point substituted for T, because at the dew point the air is exactly saturated. Relative humidity is then the simple ratio $$\text{RH} = \frac{e}{e_s} \times 100$$. Because the dew point can never exceed the air temperature, RH is naturally capped at 100%.

Advertisement
Saturation vapor pressure curve rising with temperature, with actual vapor pressure and dew point marked
Relative humidity is the ratio of actual vapor pressure to saturation vapor pressure at the current temperature.

Worked Example

Air temperature 25 °C, dew point 15 °C. Saturation pressure $$e_s = 6.112 \cdot \exp\!\left(\frac{17.67 \cdot 25}{268.5}\right) \approx 31.671 \text{ hPa}.$$ Actual pressure $$e = 6.112 \cdot \exp\!\left(\frac{17.67 \cdot 15}{258.5}\right) \approx 17.040 \text{ hPa}.$$ $$\text{RH} = \frac{17.040}{31.671} \times 100 \approx 53.8\%.$$

Interpreting Your Relative Humidity Result

Relative humidity (RH) is the amount of water vapor in the air compared with the most the air could hold at that same temperature, expressed as a percentage. Because warm air can hold more vapor than cold air, the same amount of moisture gives a lower RH when the air is warmer and a higher RH when it is cooler.

RH band General meaning
Below 30% Dry air
About 30–60% Typical comfortable indoor range
Above 60% Humid air
Near 100% Saturated; fog, dew or condensation is likely

When RH reaches 100%, the air temperature equals the dew point. Any further cooling makes vapor condense onto surfaces or into fog droplets.

Why dew point matters

RH depends on temperature, but the dew point is an absolute measure of the moisture in the air. It is the temperature to which air must be cooled, at constant pressure, to become saturated. Two days can have the same RH and feel very different, while the same dew point means the same moisture content regardless of the air temperature. Approximate dew point comfort levels are:

  • Below 10 °C: dry
  • 10–16 °C: comfortable
  • 16–21 °C: humid
  • Above 21 °C: oppressive

These bands are rough, commonly used guidelines, and perceived comfort varies between people and climates. The result is a calculated estimate from the Magnus approximation, not a measurement from a hygrometer.

Advertisement

Constants Used in the Magnus Formula

Symbol Value Meaning
6.112 6.112 hPa Saturation vapor pressure of water at 0 °C
a 17.67 (dimensionless) Magnus exponent coefficient
b 243.5 °C Magnus temperature offset
T, Td °C Air temperature and dew point
e, es hPa Actual and saturation vapor pressure (1 hPa = 1 mbar = 100 Pa)

The general form is \(e_s(T) = 6.112\,\exp\!\left(\frac{a\,T}{T+b}\right)\). Because RH is a ratio of two pressures, the units cancel and the 6.112 factor drops out of the final percentage; only a and b affect the result.

Validity range

The Magnus approximation is generally stated as valid for roughly −40 °C to +50 °C. Outside this range, or when very high accuracy is needed, more detailed formulations should be used. Below 0 °C the coefficients here describe saturation over liquid water; saturation over ice differs slightly.

Other coefficient sets

Several Magnus coefficient sets are in use, for example a = 17.62 with b = 243.12 °C, and a = 17.27 with b = 237.7 °C. They are fitted over different temperature ranges, and for typical weather conditions the resulting RH values differ only slightly, usually by a fraction of a percentage point to about one point.

FAQ

Why use dew point instead of measuring humidity directly? Dew point and temperature are easy to measure with common instruments and uniquely determine RH.

Why is the result limited to 100%? When dew point equals air temperature the air is fully saturated (100%); values above that are physically impossible, so the result is clamped.

How accurate is the Magnus formula? It is accurate to within about 0.1% for temperatures between roughly −40 °C and +50 °C, which covers virtually all weather conditions.

Last updated:

Most popular in Weather and Climate

View all Weather and Climate calculators