GPS Distance Calculator

Calculate distance between two GPS coordinates using Haversine formula. Kilometers, miles, nautical miles.

Distance (Haversine)

-
Was this tool helpful? Rate it:

What does the GPS distance calculator measure?

The GPS Distance Calculator gives the straight-line (great-circle) distance between two latitude/longitude points on the Earth's surface, in kilometres, miles and nautical miles. It uses the Haversine formula with a mean Earth radius of 6,371 km. With the default coordinates for Mumbai (19.0760, 72.8777) and Delhi (28.7041, 77.1025) it returns 1,153.24 km (716.59 miles, 622.70 nautical miles). This is the “as the crow flies” distance — the shortest path over the globe — not the road or rail distance.

It is useful for checking delivery or service radius, comparing how far apart two offices or properties are, estimating flight distances, planning drone or survey work, validating distance logic in an app, and geography homework.

How to use it

  1. Get the coordinates. In Google Maps, long-press (or right-click) a spot and the latitude, longitude pair appears — for example 22.3039, 70.8022 for Rajkot.
  2. Enter Point A latitude and longitude in decimal degrees.
  3. Enter Point B the same way. The result updates as you type.
  4. Read the distance in km (main figure) plus miles and nautical miles, each to 2 decimals.

Sign convention: north latitudes and east longitudes are positive; south latitudes and west longitudes are negative. New York is 40.7128, -74.0060; Sydney is -33.8688, 151.2093. All of India has positive values for both.

The Haversine formula

a = sin²(Δφ/2) + cos φ1 × cos φ2 × sin²(Δλ/2)
c = 2 × atan2(√a, √(1 − a))
d = R × c, with R = 6,371 km

Here φ is latitude and λ is longitude, both converted to radians. The tool then converts kilometres with 1 km = 0.621371 miles and 1 km = 0.539957 nautical miles. Treating the Earth as a sphere keeps the maths simple; because the real Earth is slightly flattened, results can differ from precise ellipsoid (Vincenty or geodesic) calculations by up to about 0.5%, which is negligible for most uses.

Distance between Indian cities (straight line)

Computed with the tool using common city-centre coordinates. Road distances are longer because highways do not run straight.

FromToKilometresMiles
MumbaiPune120.1574.66
AhmedabadRajkot198.34123.24
DelhiJaipur237.53147.60
BengaluruChennai290.17180.30
MumbaiAhmedabad439.98273.39
HyderabadBengaluru499.99310.68
MumbaiBengaluru845.32525.26
MumbaiDelhi1,153.24716.59
DelhiKolkata1,317.75818.81
MumbaiKolkata1,654.841,028.27
DelhiChennai1,767.651,098.37

Coordinates used: Mumbai 19.0760, 72.8777; Delhi 28.7041, 77.1025; Pune 18.5204, 73.8567; Ahmedabad 23.0225, 72.5714; Rajkot 22.3039, 70.8022; Jaipur 26.9124, 75.7873; Bengaluru 12.9716, 77.5946; Chennai 13.0827, 80.2707; Hyderabad 17.3850, 78.4867; Kolkata 22.5726, 88.3639.

International examples

RouteKilometresMilesNautical miles
Mumbai – Dubai1,935.091,202.411,044.87
Mumbai – Singapore3,903.782,425.692,107.87
Los Angeles – New York3,935.752,445.562,125.13
New York – London5,570.223,461.173,007.68
Sydney – Singapore6,306.253,918.523,405.10
Delhi – London6,696.814,161.203,615.99
San Francisco – Tokyo8,274.615,141.614,467.94
Delhi – New York11,741.507,295.836,339.91

The longest possible great-circle distance, between two opposite points on the globe, comes out at 20,015.09 km in this model.

How far is one degree?

One degree of latitude is always about the same length, but a degree of longitude shrinks as you move away from the equator. Values from the tool:

Latitude1° of longitudeExample location
0°111.19 kmEquator
15°107.41 kmGoa
23°102.36 kmAhmedabad, Bhopal, Kolkata region
30°96.30 kmChandigarh, Dehradun region
45°78.63 kmNorthern Italy, Minneapolis
60°55.60 kmOslo, Helsinki

One degree of latitude = 111.19 km in this model. That also tells you how precise your coordinates are: 1 decimal place ≈ 11.1 km, 2 places ≈ 1.1 km, 3 places ≈ 111 m, 4 places ≈ 11 m and 5 places ≈ 1.1 m of north–south position.

Tips

  • Latitude first. Swapping latitude and longitude is the most common mistake: entering Mumbai and Delhi with the numbers reversed gives 543.98 km instead of 1,153.24 km.
  • Convert DMS to decimal: degrees + minutes/60 + seconds/3600. 19°04′33.6″N = 19 + 4/60 + 33.6/3600 = 19.0760.
  • Four or more decimals are enough for building-level accuracy.
  • Multi-stop routes: add the distance of each leg (A–B, B–C, …).
  • Rough flight time: divide the distance by a typical jet cruise speed and add time for take-off, climb and landing.

Limitations

  • It is not a driving, walking or rail distance and does not consider roads, terrain or elevation.
  • The spherical-Earth model can differ from survey-grade geodesic results by up to about 0.5%.
  • Values outside ±90 for latitude or ±180 for longitude are not rejected, so double-check your input.
  • Results are rounded to 2 decimals, so very short distances (a few metres) show as 0.00–0.01 km.

Frequently Asked Questions

What is the distance between Mumbai and Delhi?

The straight-line distance is about 1,153 km (716.59 miles) using city-centre coordinates. By road it is considerably longer because highways follow a winding route.

Is this the driving distance?

No. It is the great-circle distance over the Earth's surface. Use a maps app for road distance; the value here is the minimum possible distance between the two points.

How accurate is the Haversine formula?

It assumes a spherical Earth with radius 6,371 km, which is typically within about 0.5% of precise ellipsoid-based distances. That is fine for logistics, travel and app logic.

How do I enter coordinates in the western or southern hemisphere?

Use negative numbers: west longitudes and south latitudes are negative. New York is 40.7128, -74.0060 and Sydney is -33.8688, 151.2093.

What is a nautical mile?

A nautical mile is 1.852 km, originally one minute of latitude. It is used at sea and in aviation; the tool shows it alongside km and statute miles.

How many kilometres is one degree of latitude?

About 111.19 km in this calculator. A degree of longitude is the same at the equator but shrinks towards the poles: about 102 km at 23°N and 55.6 km at 60°N.

How do I find the GPS coordinates of a place?

In Google Maps, long-press on mobile or right-click on desktop and the coordinates appear; copy the first number as latitude and the second as longitude.

Related tools

Time Zone Converter · GEO IP Locator · Length Converter · Speed Converter

Copied