Blog
Unit converters

Horizon distance calculator

Enter the height of an observation point above sea level (e.g., a person's eye height on shore, a lighthouse, or a ship's deck), and the calculator computes how far away the visible horizon is, with or without accounting for atmospheric refraction.

Your data never leaves this device

Result

Distance to horizon, km
Distance to horizon, miles

This page has no server side at all. The table you paste is parsed by JavaScript inside your own browser, the chart is drawn on a canvas element on your machine, and the export file is assembled locally. Nothing is uploaded, stored or written to any log. You can disconnect from the network after the page has loaded and everything will still work — which is the simplest way to verify the claim yourself.

Facts and limits of this method

Formula without refraction d (km) = 3.57 × √(height, m)
Formula with refraction d (km) = 3.86 × √(height, m)
For a height of 1.7 m ≈4.65 km without refraction, ≈5.03 km with refraction
Earth's radius Taken as 6371 km (mean radius)

When it misleads you

How it is calculated

The entered height is converted to meters (multiplied by 0.3048 if feet is selected).

The distance to the horizon is computed using the approximate formula d = k × √h, where k is a coefficient (3.57 without refraction or 3.86 with it) and h is the observer's height in meters.

This formula is a simplification of the exact geometric relationship d = √(2Rh + h²), where R is Earth's radius; for observer heights small compared to Earth's radius, the h² term can be neglected, giving the square-root-of-height formula.

The result in kilometers is additionally converted to miles by dividing by 1.609344.

Questions and answers

Why does the horizon appear farther with refraction?

The atmosphere bends light rays, so light from points beyond the geometric horizon still reaches the observer's eye — the visible horizon ends up about 8% farther than pure sphere geometry predicts.

How much farther can you see from a greater height?

The distance grows as the square root of height, not linearly — to see twice as far, you need to climb four times as high.

Does the calculator account for terrain?

No, the calculation assumes a perfectly smooth sphere with no mountains or other obstructions — in reality, terrain can either open up a farther view or block the horizon sooner than the calculated distance.

Is my data sent anywhere?

No, the whole calculation runs in your browser.

Related tools

All tools