Note: This calculation is very complex and requires a knowledge of algebra.

From the user, an air temperature , a relative humidity , and a station pressure are given. The air temperature must be converted to units of degrees Celsius , and the station pressure must be converted to units of millibars or hectoPascals .

To see how to convert temperatures and pressures, see the links below:

Then, the saturated vapor pressure can be calculated using the formula from the link below:

Next, the equation for calculating relative humidity:

can be solved for the dewpoint temperature:

The dewpoint temperature will be in units of degrees Celsius . To see how to convert temperatures, see the link above.

Next, a wet-bulb temperature must be calculated. The best way to do this is by using a Skew-T diagram which is used by the National Weather Service and other meteorologists for determining the current state of the atmosphere. A blank Skew-T diagram can be found here at this link:

http://meteora.ucsd.edu/wx_pages/stuff/Blank_Skew-T.pdf

For information on how to read and understand a Skew-T diagram, see the link below:

http://meteora.ucsd.edu/weather/cdf/text/how_to_read_skewt.html

For finding the wet-bulb temperature, first find the elevation of your location. Next, at the elevation of your location, plot the air temperature (in degrees Celsius) and the dewpoint temperature on the chart. Take the air temperature up the dry adiabat line and the dewpoint temperature up the theta line until they meet. At the point where they meet, come back down the moist (or wet) adiabat to the elevation of your station. This will be the wet-bulb temperature. For the Weather Calculator, a process of error checking is used to give an approximate wet-bulb temperature. Information on how the Weather Calculator approximates the wet-bulb temperature can found at this link here: