Haversine Flight Distance Calculator

Enter the latitude and longitude of two locations to calculate the straight-line (great-circle) distance between them using the haversine formula, along with an estimated travel time based on your chosen speed.

Great-Circle Distance
Distance (miles)
Estimated Travel Time (hours)

About this calculator

Calculate the great-circle distance between two GPS coordinates using the haversine formula, plus estimated flight time at a given cruising speed.

Frequently Asked Questions

What is the haversine formula?

The haversine formula calculates the shortest distance between two points on a sphere given their latitude and longitude, accounting for the Earth's curvature.

How accurate is this calculation?

It assumes a perfectly spherical Earth using a radius of 3,958.8 miles, so results are very close to actual great-circle distances but may differ slightly from ellipsoidal models.

Does this account for flight paths or wind?

No, this gives the theoretical shortest path distance and a simple time estimate at constant speed; actual routes and travel times may vary due to airspace, wind, and layovers.