Image: Refraction Measurements see Strong Refraction at Tangent Targets (
Rainy Lake Experiment: Refraction Measurements)
Humidity influences refraction through two mechanisms:
The influence of humidity on refractivity is generally very small. Near the ground the effect of evaporative cooling is much stronger than the effect of changing refractivity. The effect of humidity on refraction is therefore often ignored in refraction calculations. Its effect on the temperature gradient is taken into account implicitely by taking temperature measurements or only making measurements above the ground layer.
The evaporative effect is strongest at sunset, night and morning, creating large temperature gradients over the ground and thus the highest refraction coefficients. At such conditions the refraction coefficient k can be much greater than 1 (values up to 16 have been measured), meaning light gets bent along the surface of the earth over hundreds of miles. The earth appears flat (k = 1) or mostly even concave (k > 1).
All the equations derived on this page are used in the Calculator for Terrestrial Atmospheric Refraction, where you can play with all the atmospheric parameters and immediately see how this affects the refraction coefficient and other values.
The value of the refractive index n is irrelevant for the bending of light, only the vertical gradient dn/dh, the amount of change of n with height, is relevant for how much light gets bent vertically (up or down), see How Atmospheric Refraction works.
| (1) |
| |||||||||||||||
| where' |
|
If the vertical refractive index gradient dn/dh is zero, i.e. no change in refractive index n with increasing altitude, then the curvature of light c in the vertical direction (up or down) is zero, no matter what the absolute value of the refractive index n is.
Humidity has a very small effect on physical air density. The situation is very different when we look at optical refractivity, see Contribution of Humidity on Refractivity below.
From basic thermodynamics, moist air is only slightly less dense than dry air. The density of moist air can be calculated as follows: [1]
| (2) |
| ||||||||||||||||||
| where' |
|
The maximal humidity ratio for air at 15°C is x = 0.01062 [2]. The corresponding correction factor Kw due to maximum saturation humidity at 15°C is then:
| (3) |
|
So saturated moist air density is 0.9936 times the density of dry air. Moist air is maximal 0.64% less dense than dry air at 15°C.
This is pure thermodynamics - independent of optics, radio waves, or refraction. It shows clearly that humidity has only a very small effect on the physical density of the atmosphere.
We can not draw conclusions from the physical density of moist air to its contribution on refraction, because it is the vertical density gradient that causes light to bend in the vertical direction (up or down).
For optical effects humidity reduces the refractivity of air significantly more than it reduces its density, see Influence of Humidity on Air Density. These are different physical mechanisms, so they can not be compared with each other. For atmospheric refraction the effect of humidity on refractivity is the relevant part.
In Deriving Equations for Atmospheric Refraction we make the simplifying assumption that humditiy can be neglegted for a wide range of atmospheric conditions. In this article I justify this simplification by taking the humidity part of the Refractivity into account and comparing it with the dry part.
To calculate the humidity influence on refraction we have to calcualte the refractivity gradient. For that we first have to derive an equation for refractivity, which we then can differentiate to get the refractivity gradient. From the refractivity gradient we finally can calculate the curvature of light and the refraction coefficient.
The modified Edlén approximation for refractivity of visible light, taking humidity into account is:
| (4) |
| |||||||||||||||||||||||||||||||||||||||
| with | ||||||||||||||||||||||||||||||||||||||||
| where' |
|
NIST notes that the original Birch–Downs humidity correction is effectively fitted near 19.6°C, and recommends multiplying it by T0/T = 292.75K / T to account approximately for the temperature dependence of vapor density. [3]
We can compute the dry air parts and the humidity parts separately and add them together to get the combined result.
The dry air part of total refractivity according to the Modified Edlén Approximation (4) is:
| (5) |
| ||||||||||||
| where' |
|
The humidity part of total refractivity according to the Modified Edlén Approximation (4) is:
| (6) |
| ||||||||||||||||||
| where' |
|
To calculate the influence of dry air parameters on refraction we have to calculate the refractivity gradient dNd/dh by differentiating the Dry Air Part of Refractivity (5), because the vertical gradient is what causes light to bend vertically (up or down), see How Atmospheric Refraction works:
| (7) |
Using the Quotient Rule we get:
| (8) |
As shown in Deriving Refractivity Gradient from Atmospheric Parameters we can use the International Standard Atmosphere to get expressions for pressure P(h) and temperature T(h), dependent on altitude and temperature gradient dT/dh. Then we can do the derivations to get:
| (9) | ||||||||||||||||||||||
| where' |
|
If we insert the usually published constants we get:
| (10) |
|
which gives the equation for the refraction coefficient used in geodesy, neglegting humidity:
| (11) |
| |
| with |
Note: c is the curvature of light in the vertical direction caused by the vertical refractivity gradient. This curvature does not depende on the curvature of the earth R. The refraction coefficient k is defined as the ratio of the curvature of light and the curvature of the earth. That's why there is an R value in this equation. It does not mean that "refraction assumes an R-value", like some flat earthers believe.
To calculate the influence of humidity on refraction we have to calculate the refractivity gradient dNw/dh by differentiating the Humidity Part of Refractivity (6), because the vertical gradient is what causes light to bend vertically (up or down), see How Atmospheric Refraction works:
| (12) |
Note: e depends on temperature, so we have to use the quotient rule:
| (13) |
we get
| (14) |
| |||||||||||||||||||||||||||
| where' |
|
As we can see, there are two contributions to the humidity part of refraction. One depends on the temperature gradient dT/dh and the other on the partial vapor pressure gradient de/dh.
Commonly we don't measure partial vapor preassure (gradients) e and de/dh. We prefer to use humidity H and humidity gradients dH/dh instead.
Since
| (15) |
| |||||||||||||||
| where' |
|
the derivative is:
| (16) |
Inserting (16) and (15) into (14) we get:
| (17) |
Collecting temperature gradient terms:
| (18) |
| ||||||||||||||||||||||||||||||
| where' |
|
The contribution caused specifically by the relative humidity gradient is therefore
| (19) |
|
The contribution that depends on humidity and the temperature gradient is therefore
| (20) |
|
From the Refactivity Gradients we get the corresponding Refraction Coefficients:
| (21) |
|
So for the individual humidity parts of total refraction we get the wet refraction coefficients we have to add to the dry refraction coefficient:
| (22) |
|
with
| (23) |
|
and
| (24) |
|
and
| (25) |
|
For kd see Refractivity from Atmospheric Parameters and Refraction Coefficient from Curvature of Light.
To calculate the dry air and water vapor densities, we can use the ideal gas law:
| (26) |
|
from ideal gas law | ||||||||||||
| where' |
| |||||||||||||
Applying (26) on the dry air term from the Modified Edlén Approximation (4) we get:
| (27) |
| ||||||||||||||||||||||||
| where' |
|
Note: for pressure we have to use Pd = P − e, because due to humidity the partial pressure of dry air gets smaller than the total pressure. In the Modified Edlén Approximation (4) I grouped the humidity part of the dry air expression to the humidity expression.
Similarly applying (26) on the water vapor term from the Modified Edlén Approximation (4) we get:
| (28) |
| ||||||||||||||||||||||||
| where' |
|
Note: because desity is always positive, we omit the minus sign of (4).
We can now simply add the dry air and water vapor densities:
| (29) |
|
The Calculator for Terrestrial Atmospheric Refraction shows that by increading humidity (increasing H or e), the dry air density decreases faster than the water vapor density increases. So the total air density decreases with increasing humidity. For standard conditions the decrease in total air density for saturated moist air is only −0.64% as is confirmed at Influence of Humidity on Air Density.
We can not draw conclusions from the total density of moist air to its contribution on refraction, because it is the density gradient that causes light to bend.
Note: The Calculator for Terrestrial Atmospheric Refraction can be used to calculate the densities for other than standard conditions and taking humidity gradients into account.
Lets investigate how water vapor can change the density gradient of air and what effect that has on observations. Some Flat Earthers claim, because the air above water contains more moisture than higher up, which means it has less density over water than higher up, and light bends from less dense to denser regions, the light will bend upwards over water and that's the reason why the flat earth appears like a Globe. Is that a physically possible scenario?
The following graphic shows how water vapor can change the density gradient or refractive index gradient respectively from the red curve (dry air) to the blue curve (moist to dry air). Remember, the slope of the curve is responsible for the bending of light (refraction). To get upwards bending, the curve must raise from the left to the right.

The air cannot have less humidity than 0. This limits the influence of water vapor on the refractive index as follows:
Generally the density gradient depends mostly on the temperature gradient, then on pressure and on absolute temperature and only very little on the humidity gradient. A constant humidity has no influence on refraction at all, a decreasing humidity with altitude makes refraction a tiny bit less, an increasing humidity a tiny bit stronger, very marginal, negligible in practice. Only a very strong vapor gradient over water can invert the density gradient enough to cause inferior mirages.
The surface layer is the only place where refraction can vary considerably due to steep temperature gradients due to heat exchange between ground and air and evaporative cooling. Above the surface layer density always decreases slowly according to the equations of the International Standard Atmosphere. See also Measured Refraction Coefficients as a Function of Altitude.
So a small water vapor layer directly over water can explain some inferior mirages in cases where they are not present without water vapor. But water vapor can not bend light upwards in such a way that it could explain why the earth appears globe shaped if the earth would be flat. Strong enough water vapor layers dry out very quickly and are therefore restricted to small layers over water. Above this layer light will always bend down.
| (30) |
| ||||||||||||||||||
| (31) |
| ||||||||||||||||||
| (32) |
| ||||||||||||||||||
| const |
| ||||||||||||||||||
| where' |
|
Constants A,B,C from Magnus-type saturation-vapour-pressure adopted by ITU-R P.453.
The derivative of e with respect to T or t (dT = dt) is:
| (33) |
|
The derivative of es(t) with respect to t is:
| (34) |
|
The derivative of e with respect to altitude h is:
| (35) |
| ||||||||||||||||||
| const |
| ||||||||||||||||||
| with | |||||||||||||||||||
| where' |
|
Constants A,B,C from Magnus-type saturation-vapour-pressure adopted by ITU-R P.453.