UTILS.
100% in-browser
💧

Relative Humidity Calculator

Calculate relative humidity from air temperature and dew point using the Magnus formula — the inverse of a dew-point calculator.

Relative humidity from temperature and dew point via the Magnus relation.

About this tool

The Relative Humidity Calculator derives relative humidity (RH) from the air temperature and the dew point. Relative humidity is the ratio of the actual water-vapor pressure in the air to the saturation vapor pressure at the same temperature, expressed as a percentage. It is the number weather reports quote, and it drives comfort, condensation, mold growth, and how quickly things dry.

The tool applies the August–Roche–Magnus relation with constants a = 17.625 and b = 243.04°C: RH = 100 · exp( a·Td/(b+Td) − a·T/(b+T) ), where T is the air temperature and Td is the dew point, both in °C. This is mathematically equivalent to RH = 100 · es(Td)/es(T), the ratio of saturation vapor pressures at the dew point and the air temperature. The result is clamped to the physical 0–100% range.

Everything is computed locally in your browser. Enter the air temperature and dew point in °C or °F; the calculator returns the relative humidity along with the actual and saturation vapor pressures (hPa). Because the dew point can never exceed the air temperature, a dew point above the temperature is rejected as invalid input.

Frequently asked questions

How is relative humidity found from the dew point?
Using the Magnus formula RH = 100·exp(a·Td/(b+Td) − a·T/(b+T)) with a=17.625 and b=243.04°C. Equivalently, RH equals the saturation vapor pressure at the dew point divided by the saturation vapor pressure at the air temperature.
Why can't the dew point exceed the air temperature?
The dew point is the temperature at which air becomes saturated. Air cannot hold more vapor than saturation, so the dew point is always at or below the air temperature; when they are equal, relative humidity is 100%.
What accuracy should I expect?
The August–Roche–Magnus coefficients used here are accurate to better than 0.1% over the −40°C to 50°C range typical of surface meteorology, which is more than enough for weather, HVAC, and comfort work.
Can I enter Fahrenheit?
Yes. Choose °F in the unit selector and both the temperature and dew point are converted to Celsius internally before the calculation; the relative-humidity percentage is unit-independent.

More tools