Imagine you were standing at an elevation of meters above the ocean and looking out across the water. What is the distance to the horizon? It can be calculated, if you know the radius of the Earth.

Illustration of the horizon calculation.

Your line of sight to the horizon is a **tangent** to the Earth --- a line which touches the sphere of the Earth at just one point, marked in the drawing here. If is the center of the sphere of the Earth, by a well-known theorem of geometry such a tangent is perpendicular to the radius , that is, it makes a angle with it.It follows from applying the Pythagorean theorem to that

Since the diameter of the Earth is much bigger than , we can replace

by without siginficantly affecting the results. Carrying out

this replacement gives This equation lets one calculate D --- in kilometers, if and are

given in kilometers. We can also rewrite is as Using km, we find

If you are standing atop a mountain 1 km high, km and your horizon should be 112.88 km away (we neglect the refraction of light in the atmosphere, which may modify this value). From the top of Mauna Kea on Hawaii, an extinct volcano about 4 km high (also the site of important astronomical observatories), the horizon should be about twice as distant, 226 km. On the other hand, standing on the beach with your eyes 2 meters = 0.002 km above the water, since , the horizon is only 5 km away.

The calculation should also hold the other way around. From a boat on the ocean you should begin seeing the top of Mauna Kea after you pass a distance of 226 km (again, not accounting for refraction). On November 15, 1806, Lieutenant Zebulon Pike of the US Army, leading an exploration party across the plains of the midwestern US, saw through his spyglass the top of a distant peak, just above the horizon. It took his party a week to cover the 100 miles to the mountain, which is now known as Pike's Peak, one of the tallest in Colorado. Pike actually tried to climb to its top, but the snow and the unexpected height of the mountain forced him back.

Pike's Peak in Colorado.