<p>You can refer to <a href="https://earthscience.stackexchange.com/q/14899/11908">this question</a> for more detail on the origin of this formula (based on the <a href="https://en.wikipedia.org/wiki/Dew_point" rel="noreferrer">Magnus approximation</a>), but if you do some algebra to the expression there for dew point (<span class="math-container">$TD$</span>) as function of temperature (<span class="math-container">$T$</span>) and relative humidity (<span class="math-container">$RH$</span>), you get</p>
<p><span class="math-container">$RH=100 \, e^{\Large \left(\frac{c\, b (TD-T)}{(c+T) (c+TD)}\right)}$</span></p>
<p>With <span class="math-container">$b=17.625$</span> and <span class="math-container">$c=243.04$</span>.</p>
<p>In this case, where <span class="math-container">$TD$</span> is one of your input variables, there is no need to consider the pressure, pressure have no effect in <span class="math-container">$RH$</span>, or more accurately, the pressure dependence is already considered through <span class="math-container">$TD$</span>.
The pressure would come into play if you are computing <span class="math-container">$TD$</span> from water vapour pressure, because water vapour pressure is what have a <a href="https://en.wikipedia.org/wiki/Relative_humidity#Pressure_dependence" rel="noreferrer">small dependence</a> in atmospheric pressure.</p>
<p>The Magnus approximation above is considered valid for:</p>
<p><span class="math-container">$0^oC &lt; T &lt; 60^oC$</span><br>
<span class="math-container">$1\% &lt; RH &lt; 100\%$</span><br>
<span class="math-container">$0^oC &lt; TD &lt; 50^oC$</span></p>
<p>There are also other equivalent formulas that extends their validity range by changing the constants, like this one</p>
<p><span class="math-container">$RH=100\cdot10^{\Large m\left( \frac{TD}{TD+T_n}-\frac{T}{T+T_n}\right)}$</span></p>
<p>Where values for the constants <span class="math-container">$m$</span> and <span class="math-container">$T_n$</span> depend on temperature and are tabulated:</p>
<p><a href="https://i.sstatic.net/N6CnN.png" rel="noreferrer"><img src="https://i.sstatic.net/N6CnN.png" alt="enter image description here" /></a></p>
<p>See <a href="https://web.archive.org/web/20200212215746im_/https://www.vaisala.com/en/system/files?file=documents/Humidity_Conversion_Formulas_B210973EN.pdf" rel="noreferrer">this document</a> for more details.</p>
<p>There are also very simple approximations to these formulas, like</p>
<p><span class="math-container">$RH \approx 100 - 5 (T-TD)$</span></p>
<p>You can find a discussion on the accuracy of this approximation <a href="https://en.wikipedia.org/wiki/Dew_point#Simple_approximation" rel="noreferrer">here</a>.</p>

CC BY-SA 4.0
2019-03-25T16:44:20.113Z
@Userthatisnotauser Thinking it more toughly, it is TD what depends on pressure, therefore if you are measuring TD, there is no need to consider pressure. The pressure would come into play if you are computing TD from water vapour pressure and saturation vapor pressure. Because is saturation vapor pressure what depends on atmospheric pressure.
Camilo Rada
CC BY-SA 4.0
2022-12-19T13:27:04.223Z
This is the article on the RH = 100 - 5(T-Td) approximation above, which is valid for RH > 50%: https://journals.ametsoc.org/view/journals/bams/86/2/bams-86-2-225.xml
trevi
CC BY-SA 4.0
2023-01-23T19:25:55.820Z
@Ruslan FYI, the answer has been edited since your comment to add one, matching formula (12) in the link the answer provided which contained it
ReinstateMonica3167040
CC BY-SA 4.0
2021-01-25T10:55:03.177Z
I'd like to point out, that there is an error in the second formula - there should be subtraction between the fractions in the exponent.
Honza Dejdar
CC BY-SA 4.0
2021-01-26T02:23:00.460Z
@HonzaDejdar Thanks for pointing that out. I just made the correction. Cheers
Camilo Rada
CC BY-SA 4.0
2021-01-28T20:39:00.617Z
What does $100\,10^{m\dots}$ mean? Is a multiplication sign supposed to be there like $100\times10^{m\dots}$ or $100\cdot10^{m\dots}$?
Ruslan
CC BY-SA 4.0
2019-03-25T02:31:34.010Z
2021-02-16T08:25:42.417Z
2021-02-16T08:25:42.417Z
Camilo Rada
<p>Is there a formula given the temperature, dew point, and pressure to find relative humidity?</p>

<p>I have seen several calculators like <a href="http://www.michell.com/us/calculator/" rel="noreferrer">this one</a>, but I would like to know how to calculate this myself.</p>

<p>I am aware that there are several formulas that can calculate this with just the temperature and dew point, but since I'm writing a program, I would like to be able to use the pressure data that I have for greater accuracy.</p>

CC BY-SA 4.0
2019-03-25T16:44:38.633Z
Having dealt with this in the past, - the long dim past. I'm not aware of **a** formula that incorporates all your variables. The matter is a bit complex for that. There are a number of formulae the require the calculation of saturated vapor pressure @ dry & wet bulb temperatures. moisture content of saturated , etc. If you can get a hold of the **book**, *Environmental Engineering in South African Mines*, The Mine Ventilation Society of South Africa, 1989, pp 451-455, the formulae & process involved is described there.
Fred
CC BY-SA 4.0
2019-03-26T02:17:56.587Z
@Fred I don't know if we should be so light handed tagging duplicates. In this case the formula in the other answer is not what the OP is looking for, and to find the values in the formula the answer points to an online calculator, which is exactly what the OP wants to avoid. Also it doesn't tackle the rol of pressure, which is one of the concerns of the OP.
Camilo Rada
<meteorology><humidity>
How to calculate relative humidity from temperature, dew point, and pressure?
ReinstateMonica3167040
# How to calculate relative humidity from temperature, dew point, and pressure?

(Asked by: username_0 on 2019-03-25)

Is there a formula given the temperature, dew point, and pressure to find relative humidity?

I have seen several calculators like [this one](http://www.michell.com/us/calculator/), but I would like to know how to calculate this myself.

I am aware that there are several formulas that can calculate this with just the temperature and dew point, but since I'm writing a program, I would like to be able to use the pressure data that I have for greater accuracy.

**Tags:** meteorology, humidity

> **Comments:**
> **username_1**: Having dealt with this in the past, - the long dim past. I'm not aware of **a** formula that incorporates all your variables. The matter is a bit complex for that. There are a number of formulae the require the calculation of saturated vapor pressure @ dry & wet bulb temperatures. moisture content of saturated , etc. If you can get a hold of the **book**, *Environmental Engineering in South African Mines*, The Mine Ventilation Society of South Africa, 1989, pp 451-455, the formulae & process involved is described there.  
> **username_2**: @username_1 I don't know if we should be so light handed tagging duplicates. In this case the formula in the other answer is not what the OP is looking for, and to find the values in the formula the answer points to an online calculator, which is exactly what the OP wants to avoid. Also it doesn't tackle the rol of pressure, which is one of the concerns of the OP.  

---

## 1 answers

### Answer by username_2 on 2019-03-25. Score: 10 | Accepted answer

You can refer to [this question](https://earthscience.stackexchange.com/q/14899/11908) for more detail on the origin of this formula (based on the [Magnus approximation](https://en.wikipedia.org/wiki/Dew_point)), but if you do some algebra to the expression there for dew point ($TD$) as function of temperature ($T$) and relative humidity ($RH$), you get

$RH=100 \, e^{\Large \left(\frac{c\, b (TD-T)}{(c+T) (c+TD)}\right)}$

With $b=17.625$ and $c=243.04$.

In this case, where $TD$ is one of your input variables, there is no need to consider the pressure, pressure have no effect in $RH$, or more accurately, the pressure dependence is already considered through $TD$.
The pressure would come into play if you are computing $TD$ from water vapour pressure, because water vapour pressure is what have a [small dependence](https://en.wikipedia.org/wiki/Relative_humidity#Pressure_dependence) in atmospheric pressure.

The Magnus approximation above is considered valid for:

$0^oC < T < 60^oC$  
$1\% < RH < 100\%$  
$0^oC < TD < 50^oC$

There are also other equivalent formulas that extends their validity range by changing the constants, like this one

$RH=100\cdot10^{\Large m\left( \frac{TD}{TD+T\_n}-\frac{T}{T+T\_n}\right)}$

Where values for the constants $m$ and $T\_n$ depend on temperature and are tabulated:

[![enter image description here](https://i.sstatic.net/N6CnN.png)](https://i.sstatic.net/N6CnN.png)

See [this document](https://web.archive.org/web/20200212215746im_/https://www.vaisala.com/en/system/files?file=documents/Humidity_Conversion_Formulas_B210973EN.pdf) for more details.

There are also very simple approximations to these formulas, like

$RH \approx 100 - 5 (T-TD)$

You can find a discussion on the accuracy of this approximation [here](https://en.wikipedia.org/wiki/Dew_point#Simple_approximation).

> **Comments:**
> **username_2**: @Userthatisnotauser Thinking it more toughly, it is TD what depends on pressure, therefore if you are measuring TD, there is no need to consider pressure. The pressure would come into play if you are computing TD from water vapour pressure and saturation vapor pressure. Because is saturation vapor pressure what depends on atmospheric pressure.  
> **username_4**: I'd like to point out, that there is an error in the second formula - there should be subtraction between the fractions in the exponent.  
> **username_2**: @username_4 Thanks for pointing that out. I just made the correction. Cheers  
> **username_5**: What does $100\,10^{m\dots}$ mean? Is a multiplication sign supposed to be there like $100\times10^{m\dots}$ or $100\cdot10^{m\dots}$?  
> **username_3**: This is the article on the RH = 100 - 5(T-Td) approximation above, which is valid for RH > 50%: https://journals.ametsoc.org/view/journals/bams/86/2/bams-86-2-225.xml  
> **username_0**: @username_5 FYI, the answer has been edited since your comment to add one, matching formula (12) in the link the answer provided which contained it  

---

