What Is the Horizon?
The horizon is the apparent boundary where sky meets ground from your vantage point. Mathematically, it's the farthest point you can see before the curvature of a spherical surface blocks your view. This definition assumes unobstructed sightlines—no mountains, buildings, or forests intervening.
On Earth, the clearest horizons occur over open water, where vast expanses give you the best theoretical viewing conditions. On smaller bodies like the Moon, the horizon appears much closer because the sphere curves more sharply. The geometry remains constant whether you're observing from a hilltop, an aircraft, or the surface of Mars.
The Distance Formula
Calculating horizon distance requires only two measurements: your height above the surface and the radius of the celestial body. The formula derives from a right triangle formed by three points: the body's center, your position, and the horizon point where your line of sight grazes the surface.
d = √((r + h)² − r²)
d— Distance to the horizon (in meters or kilometers)r— Radius of the celestial body (in the same units as height)h— Height of the observer above the surface
Real-World Examples
Standing on Earth at average eye level: At 1.75 meters tall with an unobstructed view, you can see approximately 4.7 kilometers away. Earth's radius of 6,371 km means the curvature is gentle enough that modest heights don't dramatically extend your horizon.
On the Moon: The same 1.75 m height yields only 2.5 kilometers of visibility. The Moon's smaller radius (1,737 km) creates sharper curvature, so observers see less far despite standing at the same height.
Reaching 10 km visibility: You'd need to be roughly 7.85 meters above Earth's surface—achievable from a tall building or small hill. Greater heights expand your horizon distance, but with diminishing returns due to the square root relationship.
Finding Required Height for a Target Distance
Sometimes you want to know the inverse: how high must you be to see a specific distance? Rearranging the formula creates a quadratic equation in height.
h = −r + √(d² + r²)
or equivalently: h = ½ · (−2r + √(4r² + 4d²))
h— Required height above the surfacer— Radius of the celestial bodyd— Desired viewing distance
Common Pitfalls and Caveats
Understanding horizon calculations requires attention to several practical limitations.
- Atmospheric refraction bends light — Light rays bend slightly as they pass through layers of different air density. This effect extends your visible horizon by roughly 8% beyond the geometric calculation, especially over water where temperature gradients are large. The formula gives the true geometric horizon, not what you actually see.
- Obstacles block the view — The formula assumes a perfectly clear line of sight to an unobstructed sphere. Trees, buildings, hills, and weather all reduce real visibility well below calculated values. Coastal observations give results closest to theory because the ocean provides an obstacle-free reference.
- Height must be measured accurately — Small errors in height measurement create small errors in distance—the relationship is roughly proportional to the square root of height. However, precision matters more when calculating very small heights; a 10 cm error at 1 meter introduces roughly 2% uncertainty.
- Planet radius varies with location — Earth is an oblate spheroid (bulging at the equator), not a perfect sphere. Using 6,371 km works well globally, but local variations can shift your horizon by tens of meters. The calculator accounts for this; always verify the radius value for your specific application.