Distance to Horizon Calculator

Enter your (or an object's) height above the surface to find how far away the true horizon is, using d = √(2Rh + h²), with an optional correction for atmospheric refraction.

Quick Facts

Horizon formula
d = √(2Rh + h²)
R = Earth's radius, h = height of the eye above the surface.
Metric rule of thumb
d(km) ≈ 3.57√h(m)
Geometric line-of-sight distance, no refraction.
With standard refraction
d(km) ≈ 3.86√h(m)
Standard atmosphere bends light so you see about 7-8% farther.
Earth's mean radius
R ≈ 6,371 km (3,959 mi)
The reference sphere used for this calculation.

Your Results

Calculated
Your Horizon Distance
-
How far you can see to the horizon
Target's Horizon Distance
-
Horizon reach from the target object's height
Maximum Line-of-Sight Range
-
Sum of both horizon distances
Dip of the Horizon
-
Angle below true horizontal

Ready

Enter a height and unit, then press Calculate.

How the Distance to Horizon Is Calculated

The horizon is the farthest point you can see across a curved Earth before the surface drops below your line of sight. Because the Earth is (approximately) a sphere, the sightline from your eye just grazes the surface tangentially — a geometry that reduces to a simple right triangle. This calculator uses that geometry, plus a standard correction for how the atmosphere bends light, to compute how far you (and an optional distant object) can see.

Deriving the formula from Earth's curvature

Picture a right triangle formed by Earth's center, your eye at height h above the surface, and the point on the horizon where your line of sight touches the surface tangentially. The hypotenuse is R + h (Earth's radius plus your height), one leg is R (Earth's radius, from the center to the tangent point), and the other leg is the horizon distance d — because a tangent line always meets a radius at a right angle. By the Pythagorean theorem, d² + R² = (R + h)², which expands to d² = 2Rh + h², so d = √(2Rh + h²). Since h is almost always tiny compared to R (a few meters versus Earth's 6,371 km radius), the h² term is negligible and d ≈ √(2Rh) is accurate to a fraction of a percent for any height a person could stand at.

Why atmospheric refraction matters

Light does not travel in a perfectly straight line through Earth's atmosphere — it bends very slightly toward the surface because air density (and its refractive index) decreases with altitude. Under standard atmospheric conditions, this bending curves the light ray enough that it behaves as if Earth's radius were about 7/6 (roughly 1.14) times larger than it actually is. Plugging that effective radius into the same formula pushes the visible horizon about 7-8% farther out, which is why this calculator lets you toggle refraction on or off. Refraction is a statistical average, though — temperature inversions, fog, and unusual weather can shrink or exaggerate it in the real world.

Real-world uses and limits

  • Mariners and pilots use it to estimate how far away a ship, coastline, or another aircraft first becomes visible.
  • Lighthouse and tower designers add the target's own height to get a light's nominal geographic range, exactly what the "Maximum Line-of-Sight Range" result above computes.
  • Radio and microwave line-of-sight links use a different constant (the "4/3 rule") because radio waves refract differently through the atmosphere than visible light.
  • The formula assumes a smooth, spherical Earth and a perfectly clear line of sight — it ignores terrain, buildings, haze, and local weather, so real-world visibility is often shorter than the calculated geometric limit.

Frequently Asked Questions

What is the formula for distance to the horizon?
The geometric distance to the horizon is d = √(2Rh + h²), where R is Earth's radius (about 6,371 km or 3,959 mi) and h is your height above the surface. Since h is tiny compared to R, this simplifies to the common approximation d ≈ √(2Rh), or d(km) ≈ 3.57√h(m).
Does atmospheric refraction really let you see farther?
Yes. Light bends slightly as it passes through air of varying density, following Earth's curvature enough to extend the visible horizon by roughly 7-8%. This calculator applies the standard 7/6 rule (effective Earth radius = 7R/6) when refraction is enabled, which is the convention used in surveying and marine navigation.
How do I find the maximum distance at which two elevated objects can see each other?
Add the horizon distance from your own height to the horizon distance from the other object's height (for example, a ship's mast or a lighthouse). The sum is the maximum theoretical line-of-sight range, since each side can see out to its own horizon and the two horizons meet in between.
What is the dip of the horizon?
Dip is the angle between true horizontal (perpendicular to gravity) and the line of sight to the visible horizon. It grows with height — roughly 1.76√h(m) arcminutes with standard refraction — and navigators subtract it from sextant altitude readings to correct celestial observations.