Great Circle Distance Calculator
Calculate the shortest distance between two points on a sphere using the Haversine formula. Enter latitude and longitude of two locations to find the great-circle distance, essential for navigation, aviation, shipping, and geography applications.
This free online great circle distance calculator provides instant results with no signup required. All calculations run directly in your browser — your data is never sent to a server. Enter your values below and see results update in real time as you type. Perfect for everyday calculations, homework, or professional use.
Latitude of first point in decimal degrees (N positive, S negative)
Longitude of first point in decimal degrees (E positive, W negative)
Latitude of second point
Longitude of second point
Results
Distance (km)
5570.22 km
How to Use This Calculator
Enter your input values
Fill in all required input fields for the Great Circle Distance Calculator. Most fields include unit selectors so you can work in your preferred unit system — metric or imperial, whichever matches your problem.
Review your inputs
Double-check that all values are correct and that you have selected the right units for each field. Incorrect units are the most common source of calculation errors and can produce results that are off by factors of 2, 10, or more.
Read the results
The Great Circle Distance Calculator instantly computes the output and displays results with units clearly labeled. All calculations happen in your browser — no loading time and no data sent to a server.
Explore parameter sensitivity
Try adjusting individual input values to see how the output changes. This is a quick and effective way to develop intuition about how different parameters influence the result and to identify which inputs have the largest effect.
Formula Reference
Great Circle Distance Calculator Formula
See calculator inputs for the governing equation
Variables: All variables and their units are labeled in the calculator interface above. Input fields accept values in multiple unit systems — select your preferred unit from the dropdown next to each field.
When to Use This Calculator
- •Use the Great Circle Distance Calculator when you need a quick mathematical result without writing out all the steps manually, saving time on repetitive calculations.
- •Use it to verify hand calculations on tests or assignments and catch arithmetic mistakes.
- •Use it when teaching or explaining mathematical concepts to others, demonstrating how changing inputs affects the result.
- •Use it to explore the behavior of mathematical functions across a range of inputs.
About This Calculator
The Great Circle Distance Calculator is a free mathematical calculation tool for students, educators, and professionals who need quick, reliable results. Calculate the shortest distance between two points on a sphere using the Haversine formula. Enter latitude and longitude of two locations to find the great-circle distance, essential for navigation, aviation, shipping, and geography applications. The underlying algorithms implement well-established mathematical formulas and numerical methods. Results are computed instantly in the browser. This tool is useful for learning, verification of hand calculations, and rapid exploration of mathematical relationships. All computation happens locally — no data is sent to a server.
About Great Circle Distance Calculator
The Great Circle Distance Calculator computes the shortest path between two points on Earth's surface using the Haversine formula. A great circle is the largest circle that can be drawn on a sphere, and the shortest distance between any two points on a sphere lies along a great circle arc. This is why airplane flight paths often appear curved on flat maps: they follow great circle routes to minimize distance. The Haversine formula is numerically stable for all distances and is the standard method for geographic distance calculations in navigation, aviation, shipping logistics, and geographic information systems (GIS). Enter coordinates in decimal degrees with standard sign conventions (north/east positive).
The Math Behind It
Formula Reference
Haversine Formula
d = 2R * arcsin(sqrt(sin^2((lat2-lat1)/2) + cos(lat1)*cos(lat2)*sin^2((lon2-lon1)/2)))
Variables: R = Earth radius (6371 km), lat/lon in radians
Worked Examples
Example 1: New York to London
Find the great circle distance from New York (40.7128N, 74.006W) to London (51.5074N, 0.1278W).
The great circle distance is approximately 5570 km.
Example 2: Same Longitude
Find the distance from the equator (0, 0) to the North Pole (90, 0).
The distance is approximately 10,008 km (one quarter of Earth's circumference).
Common Mistakes & Tips
- !Forgetting to convert degrees to radians. The trigonometric functions in the formula require radian inputs. Multiply degrees by pi/180.
- !Mixing up latitude and longitude order. Latitude measures north-south (max 90), longitude measures east-west (max 180).
- !Assuming the result is a straight-line distance. The great circle distance follows the curved surface of the Earth, not a tunnel through it.
- !Using the formula on a flat surface. The Haversine formula is for spherical geometry. For short distances (under 10 km), Euclidean approximation may suffice.
Related Concepts
Frequently Asked Questions
Why do airplanes follow great circle routes?
Great circle routes are the shortest paths on a sphere. On a Mercator projection map, these paths appear curved, but on the actual globe they are straight. Airlines use great circle routes (modified for winds and restricted airspace) to minimize fuel consumption and flight time.
How accurate is the Haversine formula?
The Haversine formula assumes a perfect sphere and is accurate to about 0.3% (up to about 20 km error on intercontinental distances). For higher precision, Vincenty's formulae account for Earth's ellipsoidal shape and are accurate to about 0.5 mm.
What is the longest possible great circle distance on Earth?
The maximum great circle distance is half the circumference, about 20,037 km, which is the distance between any point and its antipodal point (the point diametrically opposite on the globe).