I have a digital weather station with a wireless outdoor sensor. In the photo, the top right quadrant of the display shows temperature and relative humidity for outdoors (6.2°C/94%) and indoors (21.6°C/55%).

I find this indoor-outdoor thing fascinating for some reason and revel in looking at the numbers. But when I do, I always end up asking myself if the air outside has more or less water vapor in it than the air inside. Simple question, which is more than can be said for the answer. Using the ideal gas law, the calculation of absolute humidity from temperature and relative humidity requires an added algorithm that generates saturation vapor pressure as a function of temperature, which complicates things a bit.

*Formula for calculating absolute humidity*

In the formula below, temperature (T) is expressed in degrees Celsius, relative humidity (rh) is expressed in %, and e is the base of natural logarithms 2.71828 [raised to the power of the contents of the square brackets]:

Absolute Humidity (grams/m^{3}) = 6.112 × e^[(17.67 × T)/(T+243.5)] × rh × 18.02

(273.15+T) × 100 × 0.08314

which simplifies to

Absolute Humidity (grams/m^{3}) = 6.112 × e^[(17.67 × T)/(T+243.5)] × rh × 2.1674

(273.15+T)

This formula is accurate to within 0.1% over the temperature range –30°C to +35°C

**– – – –**

gif format (decimal separator = .)

gif format (decimal separator = ,)

jpg format (decimal separator = .)

jpg format (decimal separator = ,)

**– – – –**

*Additional notes for students*

Strategy for computing absolute humidity, defined as density in g/m^3 of water vapor, from temperature (T) and relative humidity (rh):

1. Water vapor is a gas whose behavior approximates that of an ideal gas at normally encountered atmospheric temperatures.

2. We can apply the ideal gas equation PV = nRT. The gas constant R and the variables T and V are known in this case (T is measured, V = 1 m^{3}), but we need to calculate P before we can solve for n.

3. To obtain a value for P, we can use the following variant^{[REF, eq.10]} of the Magnus-Tetens formula which generates saturation vapor pressure P_{sat} (hectopascals) as a function of temperature T (Celsius):

P_{sat} = 6.112 × e^[(17.67 × T)/(T+243.5)]

4. P_{sat} is the pressure when the relative humidity is 100%. To compute the pressure P for any value of relative humidity expressed in %, we multiply the expression for P_{sat} by the factor (rh/100):

P = 6.112 × e^[(17.67 × T)/(T+243.5)] × (rh/100)

5. We now know P, V, R, T and can solve for n, which is the amount of water vapor in moles. This value is then multiplied by 18.02 – the molecular weight of water – to give the answer in grams.

6. Summary:

The formula for absolute humidity is derived from the ideal gas equation. It gives a statement of n solely in terms of the variables temperature (T) and relative humidity (rh). Pressure is computed as a function of both these variables; the volume is specified (1 m^{3}) and the gas constant R is known.

**– – – –**

UPDATES

**– – – –**

**Formula assists in study of shorebird habitats**

May 2021: Researchers in Australia have used the AH computation formula to assess beach wrack habitats in relation to shorebird foraging and roosting behavior. Beach wrack is the mass of seaweed stuff washed up by the tide, which forms important microhabitats for these birds. Clearance of beach wrack by tidy-minded coastal authorities is uncool because it drives population declines in many shorebirds and harms biodiversity.

Link to research article abstract:

https://besjournals.onlinelibrary.wiley.com/doi/10.1111/1365-2664.13865

**– – – –**

**Formula finds use in Antarctic climate research**

December 2020: The AH computation formula is utilized for mapping Polar air mass movements in *“Summer aerosol measurements over the East Antarctic seasonal ice zone”* published as preprint in Atmospheric Chemistry and Physics.

https://acp.copernicus.org/preprints/acp-2020-1213/acp-2020-1213.pdf

**– – – –**

**Formula finds use in forest fire prediction**

November 2020:

*“During feature engineering, our team hypothesized that absolute humidity can provide additional information that would help with forest fire prediction.”* [Google translation]

https://manualestutor.com/3-consejos-para-proyectos-de-aprendizaje-automatico-por-primera-vez/

Use browser translation app if needed – original in Spanish. It’s interesting stuff.

**– – – –**

October 2020: Kudos to Kibis for this heads-up on Hardware.fr

**– – – –**

**Absolute Humidity a significant factor in coronavirus transmission**

September 2020: Using weather datasets from USA, statistical tests on absolute humidity values generated by my formula reveal that this parameter correlates significantly with coronavirus transmission and associated fatalities.

Download pdf from

http://www.sciencepublishinggroup.com/journal/paperinfo?journalid=275&doi=10.11648/j.bsi.20200503.12

**– – – –**

**Calculate Absolute Humidity at altitude from radiosonde data**

July 2020: Thank you to former research engineer Richard Seymour for pointing the way to this application of the absolute humidity computation formula. Answering a question on Quora, Richard gave a link to the University of Wyoming’s radiosonde site operated by the Department of Atmospheric Science. Amazing resource of worldwide atmospheric soundings with data going right back to 1973!

I used an Excel spreadsheet to compute AH from the simultaneously measured RH(%) and T(°C) radiosonde data for intervals of approx. 1 km up to 9 km, and used the line chart tool to graph the data shown above. Fascinating to see the altitude distribution of water vapor in the atmosphere above Long Island on a July day.

Link to Quora

https://www.quora.com/Where-can-I-find-data-on-absolute-humidity-at-altitude

Link to University of Wyoming’s Atmospheric Soundings site

http://weather.uwyo.edu/upperair/sounding.html

**– – – –**

**Meteorologist app discovers the formula**

June 2020: Meteorologist is a free weather program for OS X. Here’s the link to the discussion about adding absolute humidity as a display option:

https://sourceforge.net/p/heat-meteo/discussion/386598/thread/f7fbd3542d/

**– – – –**

**Carbon dioxide and radon gas emissions from boreholes and wells**

March 2020: Following on from the borehole research presented in September 2019 (see below), the same authors have penned another paper which utilizes the absolute humidity computation formula in studying the effect of atmospheric conditions on carbon dioxide and radon gas emissions from an abandoned water well in northern Israel.

Link: https://www.sciencedirect.com/science/article/pii/S004896972031370X (pay to view)

**– – – –**

**Assessing the feasibility of preserving an historic building in a
sub-tropical climate**

March 2020: The Conservation Office in Hong Kong has used the AH computation formula as part of the methodology of a one-year environmental monitoring program to study the feasibility of preserving the fabric and fittings of an historic building without the installation of an air-conditioning system. The climate in Hong Kong is sub-tropical for nearly half the year.

https://www.tandfonline.com/doi/full/10.1080/00393630.2018.1486092

**– – – –**

**Absolute Humidity a strong factor in the seasonality of influenza-like illness in Australia**

January 2020: This is one of the conclusions of a thesis submitted in March 2019 for an MPhil in Applied Mathematics at The University of Adelaide, South Australia. The thesis, which uses my formula to compute AH from RH and T data (measured simultaneously at the same location) is entitled “Using approximate Bayesian computation and machine learning model selection techniques to understand the impact of climate on seasonal influenza-like illness in Australia”

If you’re into applications of stochastic models in climate science, this is well worth a read.

See Jessica Penfold’s thesis online at

https://digital.library.adelaide.edu.au/dspace/bitstream/2440/121360/1/Penfold2019_MPhil.pdf

**– – – –**

**Formula finds use in predictive climate change model**

December 2019: The above paper was published on 3 December 2019. It presents a simple climate change model to track previous global warming and predict changes on a global scale. Data analysis using this model confirms that atmospheric, oceanic and terrestrial temperature changes closely correlate to the amount of heat discharged into the climate system from human activities.

Note to Editors: This paper could benefit from copy editing to correct shortcomings in English quality and inconsistent notation of scientific units.

http://www.journalijecc.com/index.php/IJECC/article/view/30160/56595

**– – – –**

**Formula used to study the effect of water vapor on combustion of liquid fuel sprays**

October 2019: Researchers from the University of Bremen and the Leibniz Institute for Materials Engineering, Bremen, Germany have published a paper in *Experimental Thermal and Fluid Science*.

The authors comment in the abstract of the paper:

*“During spray combustion, the complex oxidizing atmosphere makes the direct experimental investigation of droplet evaporation and combustion challenging. Within this study, the effects of water vapor as well as the concentrations of oxygen and nitrogen in the atmosphere on the single isolated droplet combustion were experimentally investigated using a high-speed digital camera.”*

https://www.sciencedirect.com/science/article/pii/S0894177719303693 [Abstract]

**– – – –**

**Formula enables water vapor to be used as a tracer gas**

September 2019: My absolute humidity computation formula is in effect a transform that re-expresses relative humidity (RH) and temperature (T) inputs as mass per unit volume. Simultaneous monitoring of RH and T thus functions as a gas analyzer quantifying water vapor concentration at the point of measurement.

An array of RH & T sensors operating continuously can be used to track movements of water vapor as a tracer gas in a monitored space such as a borehole, and it is this ability which has been utilized in a study entitled *“Mechanisms Controlling Air Stratification Within a Large Diameter Borehole and Atmospheric Exchange”* published in the Journal of Geophysical Research.

Using water vapor and CO_{2} as independent tracer gases enabled identification of two remarkably different air transport mechanisms occurring during winter and summer in a 3.4 m diameter, 59 m deep borehole in an arid climate region. The study’s findings in relation to large diameter boreholes or shafts have a “clear implication for potential emissions of GHGs and toxic vapor from water tables to the atmosphere in contaminated sites”, the authors concluded.

link: https://agupubs.onlinelibrary.wiley.com/doi/pdf/10.1029/2018JF004729 [Abstract]

**– – – –**

**Formula used in study of seasonal dynamics of influenza in Brazil**

August 2019: My absolute humidity computation formula has found use in the paper *Dinâmica sazonal da influenza no Brasil: a importância da latitude e do clima* (Seasonal dynamics of influenza in Brazil: the importance of latitude and climate) by Alexandra Almeida of the National School of Public Health, FIOCRUZ.

This paper features some seriously cool math. Seasonality was tested for using wavelet decomposition (a modern form of Fourier analysis) and once found, circular statistics was used to generate data to describe the detected periodic behavior.

*“The climate variables initially considered in the study are: maximum, average and minimum temperature (°C), relative humidity (%), precipitation (mm) and insolation (hours). From the climate variables provided by INMET, we compute two other variables reported as important in the literature: the maximum weekly temperature variation (difference between maximum and minimum daily temperature, in °C) and absolute humidity (grams/m ^{3}) (MANDER, 2012).* [Google translate]

link: https://www.arca.fiocruz.br/bitstream/icict/34080/2/ve_Alexandra_Ribeiro_ENSP_2018 [Abstract in English plus two pre-prints submitted respectively to Elsevier and BMC Infectious diseases: 1) Seasonal dynamics of inﬂuenza in Brazil: the latitude eﬀect. 2) Inﬂuenza in the tropics: the facets of humidity]

**– – – –**

**Formula recommended on France’s knowledge-sharing forum Futura**

**– – – –**

**Formula used in Basement/Crawlspace Humidity Control System**

May 2019: My absolute humidity computation formula has been used in an Arduino project whose aim is to “intelligently reduce the moisture in your basement/crawlspace to help control mildew growth and lower your heating/cooling bill”.

https://create.arduino.cc/projecthub/chuygen/basement-crawlspace-ventilation-system-dcf98f

The author writes

*“After running the ventilation system in my crawlspace for the last couple of months with zero hangs and with a peak relative humidity of greater than 95% after the leak from my hot water heater it has successfully dropped the relative humidity to less than 50%. The ventilation system is an on-going control system that works!”*

**– – – –**

**Formula used to demonstrate the effect of absolute humidity on flu virus counts**

March 2019:

“Based on the agreement between the results of the linear and nonlinear models, AH had a stronger effect on all inﬂuenza virus counts than RH. Unlike RH, which measures the air saturation point of water [vapor] and varies by indoor versus outdoor location during the winter (the season of inﬂuenza activity in temperate climates), AH measures the actual amount of water [vapor] in the air, regardless of temperature, and is consistently low indoors and outdoors during the winter (reference 30). That might explain the consistent effect of AH on both inﬂuenza virus types and the strength of the association found in this study.”

“AH was deﬁned as the weight of water vapor per unit volume of air and was expressed as the number of grams per cubic meter. Since AH data were not available from Environment Canada, the following formula was used to calculate AH, based on the available temperature (T) and RH (reference 32: CarnotCycle): AH = [6.112 × e^[(17.67 × T)/(T+243.5)] × RH × 2.1674}/(273.15 × T)”

https://aem.asm.org/content/aem/85/6/e02426-18.full.pdf

**– – – –**

**Formula used with Bosch BME280 to determine sensor altitude or sea level pressure**

January 2019: My absolute humidity computation formula has found use in an application on esphomelib, a coding library for WiFi-enabled ESP microprocessors.

https://esphomelib.com/esphomeyaml/cookbook/bme280_environment.html

**– – – –**

**Dehumidifier supplier uses formula to power online capacity calculator**

November 2018: Dehumidifier supplier Airépolis is using my absolute humidity computation formula in an online calculator designed to help customers choose the appropriate machine capacity based on the volume, temperature and relative humidity of the space to be dehumidified. Airépolis graciously acknowledges me and provides a link to this blogpost.

https://www.airepolis.com/calculadora-capacidad-deshumidificador/

**– – – –**

**Formula used in prediction of influenza cases**

November 2018:

Link: https://healthfully.home.blog/2018/11/05/summary/

**– – – –**

**Smart Temperature & Humidity Gauge**

June 2018 : This prototype smart gauge features an Arduino Uno microprocessor equipped with a DHT22 sensor to measure temperature (T, Celsius*) and relative humidity (RH, %), both of which are inputs for computing dew point temperature (D, Celsius*) and absolute humidity (AH, defined as water vapor density in g/m^3) using the formulas presented in this blogpost. All four variables are output to a 16×2 LCD, and the unit is powered by a 9V battery to make it transportable after programming.

**The program has a built-in option to display T and D in Fahrenheit.*

**– – – –**

**Formula applied in dehumidification technology research**

June 2018 : My absolute humidity (AH) computation formula has been used to calculate specific humidity *W*_{air} = AH/ρ_{air} for a given temperature, where ρ_{air} is air density. In this research paper, a psychrometric chart for a range of calcium chloride liquid dessicant solutions across a range of temperatures was compiled from measured relative humidity and temperature data

Link: http://eprints.nottingham.ac.uk/41291/1/clear%20version%20for%20deposit.pdf

**– – – –**

**Formula used in study of environmental factors affecting sleep**

April 2018: Researchers in Thailand have made use of my absolute humidity (AH) computation formula in a paper published in the Journal of Clinical Sleep Medicine, April 2018.

Link: http://jcsm.aasm.org/ViewAbstract.aspx?pid=31237

**– – – –**

**Formula gets praise on GitHub**

April 2018: My formula has found a new application in HappyBee, a companion set of features to complement ecobee WiFi thermostats. The HappyBee suite includes humidity normalization using a heat recovery ventilator.

Link: https://github.com/ilyabelkin/HappyBee#happybee

**– – – –**

**Formula cited in doctoral dissertation concerning GNSS positioning accuracy**

October 2017: A doctoral dissertation from the University of Connecticut has used my absolute humidity (AH) computation formula to quantify real-time kinematic (RTK) positioning with the effect of ground-level AH, which theory and previous research suggests can degrade global navigation satellite system (GNSS) positioning accuracy.

Link: http://opencommons.uconn.edu/cgi/viewcontent.cgi?article=7849&context=dissertations

**– – – –**

**A neat display of RH, T and AH data**

September 2017: This automated data display from a website in Austria is among the best I have seen. Outdoor measurements of RH (%) and T (Celsius) are taken every 10 minutes and fitted to a common 0 -100 scale, which also serves to plot computed AH (g/m^3).

The displayed segment captures the mirror-image movements of RH (blue line) as T (yellow line) rises and falls while AH (red line) remains relatively constant. This neatly visualizes how water vapor density and temperature together determine relative humidity.

**– – – –**

**Formula for computing dew point temperature T _{D} from RH and T**

August 2017: There has been a lot of interest in my formula (P Mander 2012) which computes AH from measured RH and T, since it adds value to the output of RH&T sensors. To further extend this value, I have developed another formula (P Mander 2017) which computes dew point temperature T_{D} from measured RH and T. In this formula the measured temperature T and the computed dew point temperature T_{D} are expressed in degrees Celsius, and the measured relative humidity RH is expressed in %

jpg format (decimal separator = .)

jpg format (decimal separator = ,)

If an object whose temperature is at or below T_{D} is present in the local space, the thermodynamic conditions are satisfied for water vapor to condense (or freeze if T_{D} is below 0°C) on the surface of the object.

Further details, including the derivation of the formula and copy-and-paste spreadsheet formulas for computing T_{D} are available on this link:

https://carnotcycle.wordpress.com/2017/08/01/compute-dewpoint-temperature-from-rh-t/

**– – – –**

*Formula cited in two recent academic research papers*

July 2017

Czech Republic: Brno University of Technology, Faculty of Mechanical Engineering

Thesis: The effect of climate conditions on wheel-rail contact adhesion

http://dl.uk.fme.vutbr.cz/zobraz_soubor.php?id=3392

Sweden: Linköping University, Institute for Economic and Industrial Development

Case study: Effect of seasonal ventilation on energy efficiency and indoor air quality

Authors: Frida Anderling and Oscar Svahn

http://www.navic.se/images/Exjobb/rstidsanpassad_ventilation.pdf

**– – – –**

*Formula computes real time AH with DHT22 sensor on single board computer*

June 2017: Single board computers provide low-cost solutions to automation and testing. On element14.com a BeagleBone Black Wireless equipped with a DHT22 RH&T sensor has been used to monitor outdoor and indoor temperature and humidity using my formula to enable AH computations to be processed in real time.

https://www.element14.com/community/roadTestReviews/2398/l/BeagleBoard.org-BBB-Wireless-BBBWL-SC-562

http://element381.rssing.com/chan-13345555/all_p589.html

**– – – –**

*Formula features in Russian Arduino project on YouTube*

April 2017: My formula makes its first live appearance on YouTube. The presentation concerns a humidity/temperature monitoring and management system installed in a cellar affected by mould problems. If you don’t speak Russian don’t worry, the images of the installation give you the gist of what this project is about.

See the YouTube video here:

https://www.youtube.com/watch?v=SO1yugxahpk

**– – – –**

*Formula recommended for use in monitoring comfort levels for exotic pets *

March 2017: A post has appeared on Reddit concerning an Arduino Uno with T&RH sensor and LCD screen, which the poster is using to improve temperature and humidity monitoring of a pet’s habitat – in this particular case a Bearded Dragon (not the one illustrated).

The post has attracted much interested discussion and comment, including a recommendation from one participant to use AH rather than RH, citing my conversion formula. The rationale for the change is so neatly expressed that I would like to quote it:

*“May I recommend absolute humidity instead of relative? Relative humidity only tells you how “full” the air is of moisture, and it’s entirely dependent on temperature; the same amount of moisture will read lower relative humidity at higher temperatures, and vice versa. Whereas absolute humidity is measured in grams of water per cubic meter of air. You can implement this simple conversion formula in your code: (URL for this blogpost)
0-2 is extremely dry, 6-12 is your average indoors, and 30 is like an Amazon rainforest.”*

See the Reddit post here:

https://www.reddit.com/r/arduino/comments/5ysmo5/i_noticed_my_bearded_dragons_habitat_could_use_a/

See the Arduino project here:

https://create.arduino.cc/projecthub/ThothLoki/portable-arduino-temp-humidity-sensor-with-lcd-a750f4

**– – – –**

*Interesting discussion of value of AH vs RH on Reddit*

February 2017:

Link: https://www.reddit.com/r/dataisbeautiful/comments/5u50z4/comparison_between_relative_humidity_which_is/

**– – – –**

*Igor uses my formula to keep his cellar dry*

October 2016: I am impressed by this basement humidity control system developed by Igor and reported on Amperka.ru forum.

Inside the short pipe is a fan equipped with a 3D-printed circumferential seal. The fan replaces basement air with outdoor air, and is activated when absolute humidity in the cellar is 0.5 g/m^3 higher than in the street, subject to the condition that the temperature of the outdoor air is lower. This ensures that water in the cellar walls is drawn into the vapor phase and pumped out; the reverse process cannot occur. на русском здесь.

**– – – –**

*Formula cited in doctoral dissertation concerning local weather and infectious disease*

Summer 2016: My AH formula has been cited in a doctoral dissertation entitled *“Seasonality, local weather and infectious disease: effects of heat and humidity on local risk for urinary tract infections and Legionella pneumonia”*

This can be downloaded from http://ir.uiowa.edu/etd/5852

**– – – –**

*Formula powers AH measurements from high-precision RH&T sensor*

April 2016: ** Prof. Antonietta Frani** has made a miniature device for measuring absolute humidity, using my formula to power an Arduino Uno microcontroller board equipped with an SHT75 RH&T sensor which connects to a computer via a USB cable. Systems Integrator

**has developed an interface to transfer the data to Excel spreadsheets with their associated graphical display functions.**

*Roberto Valgolio***– – – –**

*Formula powers online RH←→AH calculator*

March 2016: German website *rechneronline.de* is using my formula to power an online RH/AH conversion calculator.

**– – – –**

*Formula cited in academic research paper*

January 2016: A research article in *Landscape Ecology* (October 2015) exploring microclimatic patterns in urban environments across the United States has used my formula to compute absolute humidity from temperature and relative humidity data.

**– – – –**

*Formula finds use in humidity control unit*

August 2015: Open source software/hardware project Arduino is using my absolute humidity formula in a microcontroller designed to control humidity in basements:

*“The whole idea is to measure the temperature and relative humidity in the basement and on the street, on the basis of temperature and relative humidity to calculate the absolute humidity and make a decision on the inclusion of the exhaust fan in the basement. The theory for the calculation is set forth here – carnotcycle.wordpress.com/2012/08/04/how-to-convert-relative-humidity-to-absolute-humidity.”* на русском здесь.

More photos on this link (text in Russian):http://arduino.ru/forum/proekty/kontrol-vlazhnosti-podvala-arduino-pro-mini

**– – – –**

*AH computation procedure applied in calibration of NASA weather satellite*

June 2015: My general procedure for computing AH from RH and T has been applied in the absolute calibration of NASA’s Cyclone Global Navigation Satellite System (CYGNSS), specifically in relation to the RH data provided by Climate Forecast System Reanalysis (CFSR). The only change to my formula is that P_{sat} is calculated using the August-Roche-Magnus expression rather than the Bolton expression.

The CYGNSS system, comprising a network of eight satellites, is designed to improve hurricane intensity forecasts and was launched on 15 December 2016.

Reference: ddchen.net/publications (Technical report “An Antenna Temperature Model for CYGNSS” June 2015)

**– – – –**

*Formula cited in draft paper on air quality monitoring*

May 2015: Metal oxide (MO) sensors are used for the measurement of air pollutants including nitrogen dioxide, carbon monoxide and ozone. A draft paper concerning the Air Quality Egg (AQE) which cites my formula in relation to MO sensors can be seen on this link:

MONITORING AIR QUALITY IN THE GRAND VALLEY: ASSESSING THE USEFULNESS OF THE AIR QUALITY EGG

**– – – –**

*Formula used by US Department of Energy in Radiological Risk Assessment*

June 2014: In its report on disused uranium mines, Legacy Management at DoE used my formula for computing absolute humidity as one of the meteorological parameters involved in modeling radiological risk assessment.

**– – – –**

[…] Taken from Carnotcycle […]

LikeLike

Hello David, happy to hear you liked the article and thank you for the question. My AH formula is based on the assumption that the behavior of water vapor approximates that of an ideal gas. The presence of other gases at low partial pressures is unlikely to make its behavior less ideal. So under these circumstances the formula should provide reasonable results within its temperature range (–30°C to +35°C).

LikeLike

Peter Mander, thank you for the great article, it was easy to apply using temperature and RH. My problem is that I’m operating at pressures varying between sea level and a deep vacuum, all the way down to ~200 mTorr (~0.00787 inHg, or ~0.2666 mbar). How can I incorporate a variable pressure into your equation? Apologies if I’m missing something obvious.

LikeLike

[…] Durante la ingeniería de características, nuestro equipo planteó la hipótesis de que la humedad absoluta puede proporcionar información adicional que ayudaría con la predicción de incendios forestales. La humedad absoluta se puede derivar de la temperatura y la humedad relativa utilizando una fórmula especial derivada aquí. […]

[Google translation]

During feature engineering, our team advanced the hypothesis that absolute humidity can provide additional information that would help with forest fire predictions. Absolute humidity can be computed from temperature and relative humidity using a special formula derived here … [CarnotCycle blog ref]

https://manualestutor.com/3-consejos-para-proyectos-de-aprendizaje-automatico-por-primera-vez/

Use browser translation app if needed – original in Spanish. It’s interesting stuff

LikeLike

Hej Christoph, thank you for the kind words. I am impressed with your project.

LikeLike

Thanks a lot for your amazing formula. I’m using when monitoring the ventilation of my house, which has a rotating heat exchange unit to warm up the incoming air. Allthough the primary prupose of the rotating heat exchanger is to transfer heat, it also inevitably transfers some humidity. Your formula allows me to monitor whether the house is loosing or gaining humidity and how much. For more information, see my project page at https://github.com/tophee/FTXcontrol-Shield

LikeLike

Hello Ben

Happy to hear the equation is proving useful, and thank you for the question. The 100 in the denominator is there because relative humidity (rh) is specified in percent. Sounds like your rh data is expressed on a 0-1 scale which would explain the anomalous result.

LikeLike

First, thanks for a killer equation–you’re absolutely (no pun intended) making my life easier.

A quick question: My absolute humidity values are off by a hundred—removing the hundred on the denominator solves that issue, naturally. Can you tell me the origin of that value, and what I might be mis-using?

LikeLike

Hi Noumon and thank you for the question. RH-AH conversion formulas such as mine apply to a single thermodynamic environment. Your problem features independent thermodynamic environments at different temperatures. I would think that direct measurement of RH in the oven is the simplest option here.

LikeLike

what to use if we want to convert ambient humidity outside into relative humidity inside an oven from 60-90C range?

LikeLike

[…] Carnotcycle – The Classical Blog on Thermodynamics. https://carnotcycle.wordpress.com/2012/08/04/how-to-convert-relative-humidity-to-absolute-humidity/ […]

LikeLike

Hello Ana-Maria and thank you for your question. The problem is that pressure P in the formula shown at point 4 is water vapor pressure, not atmospheric pressure which is a much larger number. This is why the answer you got was way too big.

To calculate relative humidity (RH) in % you need to use another formula:

RH/100 = e^[(17.67 x TD)/(243.5 + TD)] / e^[(17.67 x T)/(243.5 + T)]

This formula requires two temperatures measured in degrees Celsius, the actual air temperature T and the dew point temperature TD which you can measure in a simple way using a tin can, water, ice cubes and a thermometer. It’s a fun thing to do and this link shows you how

http://biomet.ucdavis.edu/frostprotection/Measure%20Dewpoint/fp003.html

Good luck with your project.

LikeLike

Hello!I have a problem for a school project I try to calculate the humidity in % from your formula at 4 point and —->>> rh= (100 *P) / (6.112* e^[(17.67 x T)/(T+243.5)]) and for instance for 28 celsius and 1000 hPa for the temperature I have 2624.6 for the humidity where is the problem? thank you very much http://www.wolframalpha.com/input/?i=100000%2F(6.112+*+2.73%5E((17.67*28)%2F(28%2B243.5)+)++)

LikeLike

Hi Peter, thank you for your elaborate answer.

LikeLike

Hello Stefan and thank you for the comment. Of course you can multiply those numbers together if you wish. I decided to keep the Bolton approximation visible in the equation to make substitution easy for those who might prefer other saturation vapor pressure approximations, such as

August-Roche-Magnus 6.1094 exp(17.625 x T)/(T + 243.04)

Buck (1981) 6.1121 exp(17.502 x T)/(T + 240.97)

US space agency NASA substituted the August-Roche-Magnus approximation for calibration purposes in its CYGNSS satellite system which monitors hurricane intensity (see Updates – June 2015)

See link below for a comparative review of SVP approximation formulae

https://www.eas.ualberta.ca/jdwilson/EAS372_13/Vomel_CIRES_satvpformulae.html

LikeLike

First, thank you for the information.

In the formula, the numerator is 6.112 x e^[(17.67 x T)/(T+243.5)] x rh x 2.1674. I don’t understand why we cannot simplify the factors 6.112 and 2.1674 further to 13.2471. Where’s my error?

LikeLike

Thanks to Markus for providing coding for the AH formula in Ruby and C.

LikeLike

Thanks Peter.

LikeLike

Hi Milan,

If I understand your question correctly, I think you are asking if there is a maximum pressure that water vapor can exert at a given temperature. The answer is yes: it is called the saturation vapor pressure, and the corresponding temperature is called the dewpoint temperature.

Saturation vapor pressure is the state of maximum relative humidity (100% rh). So using my absolute humidity formula, if you assign a value of 100 to rh, the temperature you choose will automatically be the dewpoint temperature and the formula will return the absolute humidity in g/m^3. This is the mathematical relation you are seeking, but note that it is not a linear function.

To convert g/m^3 into kg/m^3 just divide by 1000.

LikeLike

Hi Peter,

is it correct to state that Absolute Humidity is direct proportional to Dew point ?

Hum[kg/m3] = C * Tdew[Celsius]

if yes what would be exact relation ?

regards,

Milan

LikeLike

Hi Andrew and thank you for the question. This link should be helpful:

https://www.researchgate.net/post/How_does_one_convert_absolute_humidity_expressed_in_g_kg_to_g_m3

LikeLike

Hi Peter,

I’m trying to use this formula to convert large quantities of dry-bulb temperature and RH readings to absolute humidity (g/kg). I have used the formula above to convert the data to absolute humidity in g/m^3, however, have been unsuccessful in converting this information into the required form.

Any help would be greatly appreciated.

Thank you in advance

LikeLike

Thanks thanks a lot Peter. Great job and awesome site!! I’ve been searching for a formula like this to calculate directly the water evaporation in sheets of water, taking the data from weather stations which show only RH and T. And finally I found it, so you saved my a** :)

LikeLike

excellent and easy to follow work. Thanks for sharing the information

LikeLike

Hi Pavel and thank you for the question.

Thermodynamics teaches us that vapor pressure is an inherent property of substances contingent only on temperature. It is independent of atmospheric pressure, whether measured at sea level or any other altitude.

Using my formula, all you need to compute the density of water vapor at the point of measurement is the temperature and relative humidity.

LikeLike

So in a meteostation, where both actual pressure and sea level pressure is measured (altitude is known), we should use what equation construction?

LikeLike

I have fulfiled my promice at http://bit.ly/2dCM1zq

Thank You a lot!

LikeLike

Thank You! I’ll take Yours formula to my home project and report You!

LikeLike

Thank you for the question. The Psat variant I use was developed by Bolton* for meteorological purposes as a best-fit in the -30°C to +35°C temperature range. At +40°C, the accuracy is 0.18%. For accuracy better than 0.005% in the +35°C to +60°C range, you could use the Psat formula developed by Wexler; this equation is numbered (9) in Bolton’s paper.

*a mouse-over link to Bolton’s paper has been included under point 3 of “Additional notes for students”

LikeLike

What would be the accuracy of the results of this equation for temperatures above 35°C, say 35-60?

LikeLike

Thank you so much for this wonderful resource!

LikeLike

Hey Peter, thank you so much for the equations. That you bothered to put equations in so many forms is really appreciable. Great work.

Thanks! :)

LikeLike

Hello lou and thank you for your question. The mathematical constant e is not equal to 10; the approximate value is 2.718

You can read more about e here:

http://en.wikipedia.org/wiki/E_(mathematical_constant)

LikeLike

Hello,

I have tried your formula several time but the result I get is not the right one. I have one question, “in the equation where to I get the value for ‘e'”? I thought e would equal 10 but it does not come out with the correct answer.

(following lou’s question, I added text to clarify the value of ‘e’ – PM)

LikeLike

Thanks for asking Martin. Remember you’re dividing by R and multiplying by the molecular weight of water; the factor is 18.02/8.314 = 2.1674

LikeLike

I still dont get the 2.1674 factor. When you devide P/T by R, there is just R_specific left, which should be 8.3/18.02 = 0.4615 . Can you please provide details on your calculation?

LikeLike

Very interesting derivation of AH formula base on RH and T. Thank you very much!

LikeLike

You’re welcome Robert. Regarding the formula: to simplify computation the factor 10^-2 is amalgamated, along with the molecular weight of water in grams and R in m^3.hPa.K^-1.mol^-1, in the 2.1674 figure.

LikeLike

Thank you for the formula. I’ve got one question though, what happens with the factor 1/100?

At 4. it says rh/100 but at the top of the page where you’ve written the formula, 1/100 is gone.

(following Robert’s comment, I added the uncondensed formula at the top of the page to clarify the math – PM)

LikeLike

Thanks a lot for this, which I can use in my reserch work.

LikeLike

Thanks a lot for this.

LikeLike