The Atmospheric Refraction Distance Calculator estimates apparent line-of-sight distance over Earth’s curvature, accounting for refractive index gradients, temperature, and pressure.
Report an issue
Spotted a wrong result, broken field, or typo? Tell us below and we’ll fix it fast.
Atmospheric Refraction Distance Calculator Explained
Atmospheric refraction is the bending of a ray as it moves through air with a changing refractive index. Near Earth’s surface, the refractive index generally decreases with altitude. This gradient curves rays downward and extends how far you can see. The effect lifts distant objects optically and increases the radio horizon.
The calculator uses an “effective Earth radius” model. It replaces the true radius with an adjusted value that captures bending. With this, the familiar geometric horizon formulas still apply, but the distances grow. You can choose a standard refraction setting or enter custom conditions.
Two use cases guide the design. For optics and surveying, a typical refraction coefficient is smaller. For radio and microwave links, a larger coefficient is common. The tool exposes both so you can match your scenario.

Formulas for Atmospheric Refraction Distance
The core approach treats refraction with a coefficient k and an effective Earth radius. Distances then follow from modified horizon geometry. Below are the main formulas the calculator uses and shows:
- Effective Earth radius: R_eff = R / (1 − k), where R is Earth’s mean radius (constant ~ 6,371,000 m) and k is the refraction coefficient (dimensionless variable).
- Single-height horizon (target at sea level): d ≈ √(2 R_eff h + h²), where h is observer height above sea level (units: meters or feet), d is distance (same units as R_eff and h are consistent).
- Two elevated points: d_total ≈ √(2 R_eff h₁ + h₁²) + √(2 R_eff h₂ + h₂²), where h₁ and h₂ are observer and target heights.
- No-refraction baseline: set k = 0 so R_eff = R for geometric comparison.
- Link clearance check (bulge): Earth bulge at mid-path B ≈ d₁ d₂ / (2 R_eff), where d₁ and d₂ are partial path lengths; ensure line-of-sight height exceeds B plus Fresnel clearance for radio.
- Optional k from refractivity gradient: k ≈ −(R / 10⁶) · (dN/dh), where N = (n − 1) × 10⁶ is refractivity (N-units), and dN/dh is its vertical gradient (N-units per meter).
For low heights relative to R_eff, the h² terms are small and often dropped. The calculator retains them for completeness. If you supply dN/dh, the tool can compute k; otherwise, pick a standard k suited to your band (optical or radio).
The Mechanics Behind Atmospheric Refraction Distance
Refraction follows Snell’s law in a medium whose refractive index changes with height. Because the air is usually denser near the surface, rays curve downward. This counters Earth’s curvature and extends line-of-sight. The effect varies with temperature, pressure, humidity, and wavelength.
- Refractive index gradient: n(z) typically decreases with altitude z, so rays bend toward higher n, i.e., downward.
- Refractivity N: defined as N = (n − 1) × 10⁶; it simplifies how we express gradients and conditions.
- Refraction coefficient k: a compact way to fold ray curvature into an “effective Earth radius.” Larger k means stronger bending and longer reach.
- Wavelength dependence: visible and microwave bands see different typical gradients, so practical k differs by application.
- Ducting and super-refraction: strong inversions can trap or bend rays more than usual, producing unusually long ranges.
The effective Earth radius model is accurate for many practical distances. It keeps calculations transparent and fast. For extreme gradients or very long paths, full ray-tracing is better.
Inputs and Assumptions for Atmospheric Refraction Distance
The calculator focuses on clear, controllable inputs. It supports standard presets and a custom mode. You can keep it simple with heights and a default k, or capture conditions with gradients.
- Observer height h₁: elevation of your eye, instrument, or antenna above sea level or local ground (units: meters or feet).
- Target height h₂: elevation of the object or remote antenna above sea level or local ground (same units as h₁).
- Refraction coefficient k: typical values range 0.10–0.20 for optical/surveying and around 0.25 for standard radio (K = 4/3).
- Optional refractivity gradient dN/dh: N-units per meter (or per kilometer), used to compute k if provided.
- Wavelength band: optical vs radio preset to suggest a default k and highlight relevant constraints.
- Earth radius R: constant ≈ 6,371 km by default; you may switch to an ellipsoidal mean if needed.
Reasonable ranges keep results stable. Very low heights (centimeters) are sensitive to local terrain and waves. Strong temperature inversions can cause super-refraction or ducting; expect larger k and unusual visibility. Over mountains, line-of-sight is limited by terrain regardless of refraction.
Step-by-Step: Use the Atmospheric Refraction Distance Calculator
Here’s a concise overview before we dive into the key points:
- Select your unit system (metric or imperial) so heights and distances use consistent units.
- Enter observer height h₁ and target height h₂ relative to sea level or a common reference.
- Choose a refraction mode: Standard (suggested k) or Custom.
- If Custom, enter k directly or supply dN/dh to let the tool compute k.
- Pick your wavelength band (optical or radio) to apply suitable defaults and notes.
- Click Calculate to compute R_eff, horizon distances with and without refraction, and total line-of-sight.
These points provide quick orientation—use them alongside the full explanations in this page.
Real-World Examples
Coastal visibility: An observer stands 2 m above sea level looking for a 30 m lighthouse. Use optical/surveying k = 0.13. R_eff = R/(1 − k) ≈ 6,371,000/0.87 ≈ 7,325,287 m. Distances: d₁ ≈ √(2·7,325,287·2) ≈ 5.41 km, d₂ ≈ √(2·7,325,287·30) ≈ 20.98 km. Total ≈ 26.4 km. Without refraction (k = 0): d_total ≈ 24.6 km. What this means: Refraction adds about 1.8 km of visibility, enough to spot the lighthouse sooner.
Microwave link planning: Two towers, 50 m and 40 m tall, need a line-of-sight path. Use radio standard k = 0.25 (K = 4/3). R_eff ≈ 6,371,000/0.75 ≈ 8,494,667 m. Distances: d₁ ≈ √(2·8,494,667·50) ≈ 29.15 km, d₂ ≈ √(2·8,494,667·40) ≈ 26.08 km. Total ≈ 55.2 km, compared to ≈ 47.8 km without refraction. What this means: The link spans about 7.4 km farther due to refraction, but you still must verify clearance and fade margins.
Limits of the Atmospheric Refraction Distance Approach
The effective Earth radius model is a practical approximation. It cannot capture every atmospheric detail. Be mindful of its limits before relying on borderline results.
- Vertical structure: Real refractivity profiles vary with height; a single k may not fit long paths.
- Terrain and obstacles: Hills, buildings, and trees block line-of-sight regardless of refraction.
- Super-refraction and ducting: Inversions can produce large, transient ranges not predicted by standard k.
- Very long ranges: Over hundreds of kilometers, Earth’s ellipsoid, curvature variation, and map projection matter.
- Surface layer noise: Waves, ground heating, and local gradients dominate at very low heights.
Use the calculator for planning and cross-checking. For safety-critical or high-capacity links, validate with site surveys, profiles, and, if needed, ray-tracing.
Units Reference
Correct units keep physics calculations consistent. Mixing unit systems is a common source of error. The table below lists frequent quantities, symbols, and unit notes used by the calculator and formulas.
| Quantity | Symbol | Typical unit | Notes |
|---|---|---|---|
| Distance / Height | h, d | m, km, ft, mi | Use one system consistently; 1 km = 0.621 mi; 1 m ≈ 3.281 ft. |
| Earth radius | R | m or km | Default constant: 6,371 km. |
| Refraction coefficient | k | dimensionless | Typical optical 0.10–0.20; radio standard ≈ 0.25. |
| Refractivity | N | N-units | N = (n − 1) × 10⁶; gradients in N/km or N/m. |
| Temperature / Pressure | T, P | K, °C; hPa | Used when estimating refractivity from weather data. |
Read the table left to right: match the symbol in formulas to the unit you entered. Keep R, h, and d in consistent units. If you convert heights, convert distances and R the same way.
Tips If Results Look Off
Most issues come from unit mismatches or an unsuitable k. If the reported distance seems too short or too long, try the following quick checks.
- Verify units for heights and Earth radius; do not mix meters with feet.
- Try the no-refraction case (k = 0) to build a baseline, then reapply refraction.
- Use k = 0.13 for optical coasts/surveying and k ≈ 0.25 for standard radio; adjust if conditions are unusual.
- For radio links, confirm terrain and Earth bulge clearances; refraction does not remove obstacles.
Still unsure? Run a sensitivity test by varying k within a reasonable range and see how much the distance changes.
FAQ about Atmospheric Refraction Distance Calculator
What is the difference between k and K (4/3 Earth)?
Here k is the refraction coefficient used with R_eff = R / (1 − k). The “4/3 Earth” factor often called K corresponds to K = 1/(1 − k); K = 4/3 implies k = 0.25.
How reliable are results over water?
Over water, near-surface inversions are common, often increasing bending. Standard k may underestimate distance. Expect more variability with time of day and weather.
Does humidity affect optical and radio refraction?
Yes, through refractivity N. Humidity raises N, especially at microwave frequencies. Optical refraction depends more on temperature and pressure but still responds to humidity.
Can this calculator tell me if I will actually see the target?
It estimates geometric line-of-sight distance. Visibility also depends on terrain, waves, obstacles, haze, curvature of the Earth, and contrast. Use maps and profiles for confirmation.
Glossary for Atmospheric Refraction Distance
Atmospheric refraction
The bending of rays passing through air with varying refractive index, usually causing downward curvature near Earth’s surface.
Refractive index (n)
A measure of how much a medium slows rays compared to vacuum; in air n is slightly above 1 and decreases with height.
Refractivity (N)
Defined as N = (n − 1) × 10⁶, used for convenient expression of small index changes and their vertical gradients.
Refraction coefficient (k)
A dimensionless parameter that modifies Earth radius via R_eff = R / (1 − k) to account for ray bending.
Effective Earth radius (R_eff)
The adjusted radius used in horizon formulas to include refraction; larger than R when k > 0.
Line-of-sight distance
The maximum path length between two elevated points where the straight or bent ray remains above Earth’s surface.
Looming
An optical effect where refraction makes distant objects appear higher and closer than they are.
Ducting
A strong refractive condition that traps radio waves in a layer, enabling unusually long propagation ranges.
References
Here’s a concise overview before we dive into the key points:
- ITU-R P.453: The radio refractive index, its formula and refractivity data
- ITU-R P.834: Effects of tropospheric refraction on radiowave propagation
- Ciddor, P. E. (1996). Refractive index of air: new equations for the visible and near infrared
- NASA Earth Fact Sheet: Physical parameters including mean radius
- Atmospheric Refraction overview and phenomena
- Radio Horizon and effective Earth radius concept
These points provide quick orientation—use them alongside the full explanations in this page.