Great-Circle Distance and UTM Converter
Enter two points in decimal degrees for the ellipsoidal distance, bearings and UTM coordinates, or enter a UTM zone, easting and northing to convert back.
Runs in your browser. Your files never leave your device. See how to check
…
How to do it
- 1Enter point 1
Latitude and longitude in decimal degrees.
- 2Enter point 2
South and west are negative.
- 3Read distance and bearings
Vincenty and haversine.
- 4Read UTM
Zone, easting and northing for both points.
- 5Convert UTM back
Enter zone, hemisphere, easting and northing.
About this tool
The shortest path between two places on Earth follows a great circle on a sphere, or more precisely a geodesic on the ellipsoid. Most online tools use the simple haversine formula on a sphere, which can be wrong by up to about 0.5 %. This calculator uses Vincenty's method on the WGS84 ellipsoid, accurate to millimetres, gives the initial and final bearings, and compares the haversine result. It also converts both points to Universal Transverse Mercator coordinates with Karney's high-accuracy series, and converts UTM back to latitude and longitude.
Who this is for
Surveyors, GIS users, geology and geography students, pilots, sailors and anyone who needs accurate distances or UTM coordinates.
Sphere or ellipsoid?
Earth is flattened: the equatorial radius is 6,378.137 km and the polar radius 6,356.752 km. Haversine on a sphere of 6,371 km is quick and good to about 0.3 % typically. Vincenty's inverse formula iterates on the WGS84 ellipsoid and is accurate to about 0.5 mm, except for nearly antipodal points where it may not converge.
Bearings
The initial bearing (forward azimuth) is the direction to set off from point 1, clockwise from true north. On a great circle the direction changes along the way, so the final bearing at point 2 differs, unless you travel along a meridian or the equator.
UTM
The Universal Transverse Mercator system divides the world into 60 zones, each 6° of longitude wide, numbered eastward from 180° W. Each zone uses a transverse Mercator projection with a scale factor of 0.9996 on the central meridian. Coordinates are eastings and northings in metres: the central meridian has easting 500,000 m; northings start at 0 at the equator in the northern hemisphere and at 10,000,000 m in the southern hemisphere. Latitude bands C to X (8° each) are often added to the zone number.
Accuracy of the UTM conversion
The calculator uses the Krüger series as published by Karney (2011), accurate to well below a millimetre within a zone. Classic textbook formulas (Redfearn, USGS) lose accuracy away from the central meridian.
Special zones
Norway and Svalbard have irregular zones (32V widened, 31X–37X modified). The calculator uses the regular zone from longitude. UTM is not used beyond 84° N and 80° S, where the polar stereographic UPS system applies.
Worked example
Vincenty's own test line from Flinders Peak (37° 57′ 03.72″ S, 144° 25′ 29.52″ E) to Buninyong (37° 39′ 10.16″ S, 143° 55′ 35.38″ E) gives 54,972.271 m with an initial bearing of 306° 52′ 05.37″. Haversine gives 54,925.5 m, 0.085 % short.
Limits
Coordinates are WGS84 (practically equal to GPS and ITRF at metre level). Distances are along the ellipsoid, not over terrain; not for official boundary surveys.
Worked example
Flinders Peak to Buninyong: 54,972.271 m, initial bearing 306° 52′ 05.37″.
Quick facts
- Category: Math & Science
- Works in your browser, no sign-up, no upload.
- Your input stays on your device.
- Available in English.
- Content last reviewed:
- Official source: Vincenty (1975) inverse geodesic on the WGS84 ellipsoid (a = 6,378,137 m, f = 1/298.257223563), haversine on the IUGG mean sphere R = 6,371,008.8 m, UTM by the Krüger n-series (Karney 2011, J. Geodesy 85, 475) with k₀ = 0.9996, false easting 500,000 m and false northing 10,000,000 m in the south
Frequently asked questions
What is a great circle?
The intersection of a sphere with a plane through its centre: the shortest path on the sphere.
Why is Vincenty more accurate than haversine?
It uses the flattened WGS84 ellipsoid instead of a sphere.
How are UTM zones numbered?
1 to 60, each 6° wide, starting at 180° W.
Why is the southern false northing 10,000,000 m?
So that northings stay positive south of the equator.
Does it handle Norway's special zones?
No, it uses the regular zone; enter the zone yourself for the inverse.
Is my data stored?
No. Everything is calculated in your browser.
