UtilityToolsLab

© 2026 UtilityToolsLab. Built and maintained by the UtilityToolsLab Team.

Free eBooks·About·Changelog·Privacy Policy·Terms of Service·Report a bug
HomeGIS & MappingGeodetic Distance

Related Tools

Geodetic Distance Calculator

Measure the distance and bearing between two latitude and longitude points, by Vincenty on the WGS-84 ellipsoid and by great circle.

You Might Also Like

All GIS & Mapping

Land Area

Get a plot's area from its corner coordinates or a bearing-and-distance traverse, in square metres, acres, hectares, katha and bigha.

Word Counter

Count words, characters, sentences, paragraphs, lines and reading time as you type, with live keyword density analysis. Free and private.

Case Converter

Convert text between UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, and kebab-case.

Paragraph Formatter

Clean and reformat text by removing extra spaces, collapsing blank lines, trimming each line, or joining into a single line.

Ask two different tools how far apart two coordinates are and you will often get two different answers, several hundred metres apart. Neither is broken. One is treating the Earth as a sphere, the other as the squashed ellipsoid it actually is, and this Geodetic Distance Calculator shows both so you can see the gap rather than wonder about it.

Type two latitude and longitude pairs and you get the distance in six units, the bearing to set off on, the bearing you arrive at, and the midpoint of the route.

A Real Example: Dhaka to Chittagong

The tool opens on 23.8103, 90.4125 and 22.3569, 91.7832:

  • 213.610 km by Vincenty on WGS-84, which is 132.731 miles or 115.340 nautical miles
  • 213.952 km by great circle on a sphere, so the sphere overstates this route by 342.86 m, about 0.160%
  • Bearing 138.62° SE leaving Dhaka, arriving on 139.16° — the half-degree of drift is the convergence of the meridians
  • Midpoint at 23.085078, 91.101555

Further presses walk through London to Paris, New York to Los Angeles, Sydney to Santiago and a near-equatorial pair where the two models disagree most.

Formula: Why Two Numbers Instead of One

The great-circle figure comes from the haversine on a sphere of radius 6,371,008.8 m. The ellipsoidal figure comes from Vincenty’s inverse solution, which iterates on the WGS-84 flattening of 1/298.257223563 until successive passes agree to within 1e-12 radians, typically in four or five rounds. Vincenty is the one to quote: it is accurate to well under a millimetre on ordinary routes, where a sphere can be out by a fifth of a percent. Its one weakness is the near-antipodal case, where the iteration will not settle. Rather than return a wrong number, the tool stops after 200 passes, says so, and falls back to the great-circle answer.

What It Accepts in the Coordinate Boxes

Decimal degrees are the obvious form, but the parser also reads the degrees-minutes-seconds people copy off charts and GPS screens. -33.8688, 33 52 7 S and 33°52'07"S are all the same latitude, and a trailing S or W flips the sign for you, so you never have to convert by hand first. Every result is echoed back in DMS at the bottom, which is the quickest way to check you typed what you meant. Out-of-range values are caught rather than wrapped: a mistyped 233.8103 earns “First latitude must be between -90 and 90 degrees — 233.8103 is off the globe.” Distances follow the surface and ignore terrain, so a mountain route is longer on foot than the figure here.

Decimal degrees or degrees-minutes-seconds both work: -33.8688, 33 52 7 S and 33°52'07"S all read as the same latitude.

Distance on the WGS-84 ellipsoid

213.61 km

132.731 miles · 115.34 nautical miles

N

Kilometres

213.61

Miles

132.731

Nautical miles

115.34

Metres

213,609.629

Feet

700,818.993

Yards

233,606.331

Two models, two answers

Great circle on a sphere: 213.952 km

Vincenty on the WGS-84 ellipsoid: 213.61 km

The ellipsoid is shorter by 342.86 m, which is 0.16% of the trip. Vincenty is the one to quote.

Initial bearing

138.62° SE

Final bearing

139.16° SE

Midpoint

23.085078, 91.101555

Dhaka: 23° 48' 37.08" N, 90° 24' 45.00" E

Chittagong: 22° 21' 24.84" N, 91° 46' 59.52" E

Bearings are true, not magnetic, and the initial one differs from the final one on every route that is not due north or along the equator. Distances are along the surface, so they ignore terrain and altitude.