Haversine Flight Layover Distance Calculator

Enter the latitude and longitude of your origin, layover, and destination points. This calculator uses the haversine formula to compute great-circle distances between each leg and totals your trip mileage — useful for estimating flight distance, fuel burn comparisons, or mileage rewards.

Total Trip Distance
Leg 1 Distance
Leg 2 Distance
Direct Distance (No Layover)
Extra Distance from Layover

About this calculator

Calculate the great-circle (haversine) distance between two airports or coordinates and estimate total trip distance including a layover stop.

Frequently Asked Questions

What is the haversine formula?

The haversine formula calculates the great-circle distance between two points on a sphere given their latitude and longitude, accounting for the Earth's curvature — more accurate than a straight-line calculation for long distances.

Where do I find airport coordinates?

You can find latitude and longitude for any airport through flight tracking sites or by searching '[airport code] coordinates'.

Why is my layover route longer than the direct route?

Any route with an intermediate stop that isn't exactly on the great-circle path between origin and destination will add extra distance, shown as 'Extra Distance from Layover'.