# Map Distance Calculator

URL: https://hifreetools.com/geography/map-distance-calculator

> Click two or more points on the map to measure the straight-line (great-circle) distance between them. Results are shown in kilometres, miles, and nautical miles using the Haversine formula.

## Quick answer

To measure distance on a map, click your start point and then your end point — the tool draws a line and calculates the great-circle distance using the Haversine formula, which accounts for Earth's curvature. The result is the shortest over-the-surface distance, sometimes called as-the-crow-flies distance. Real road or flight distances will be longer. Add intermediate waypoints to measure multi-leg journeys.

## Formula

- d = 2R · arcsin(√(sin²(Δφ/2) + cos φ₁ · cos φ₂ · sin²(Δλ/2)))

## Examples

- New York to London: New York (40.7128° N, 74.0060° W) → London (51.5074° N, 0.1278° W) → 5,570 km (3,461 miles)
- Tokyo to Sydney: Tokyo (35.6762° N, 139.6503° E) → Sydney (33.8688° S, 151.2093° E) → 7,826 km (4,863 miles)
- Paris to Berlin: Paris (48.8566° N, 2.3522° E) → Berlin (52.5200° N, 13.4050° E) → 877 km (545 miles)
- Three-waypoint hike: Trailhead (47.60° N, 122.33° W) → Summit (47.74° N, 121.87° W) → Lake (47.81° N, 121.91° W) → Leg 1 ≈ 37.8 km, Leg 2 ≈ 8.3 km, Total ≈ 46.1 km

## FAQ

**What is the difference between great-circle distance and driving distance?**
Great-circle (as-the-crow-flies) distance is the shortest path over Earth's curved surface between two points. Road distance follows actual roads and can be 20–50% longer. For flights, actual routes deviate from great-circle paths due to wind, air-traffic corridors, and politics.

**How accurate is the Haversine formula?**
The Haversine formula assumes Earth is a perfect sphere of radius 6,371 km. Real Earth is an oblate spheroid, so errors can reach about 0.5%. The Vincenty formula is more accurate but Haversine is sufficient for most practical purposes.

**Can I measure in feet or meters?**
Not directly — results show km, miles and nautical miles. 1 km = 1,000 m and 1 mile = 5,280 feet. Use the km result and multiply by 1,000 for metres, or multiply miles by 5,280 for feet.

**What is a nautical mile?**
One nautical mile is exactly 1.852 km (1,852 m), originally defined as one arc-minute of latitude. It is the standard unit of distance in aviation and maritime navigation.

**Can I add more than two points?**
Yes — click additional points on the map to add waypoints. The tool calculates each leg's distance and sums them for a total route distance.

**How do I reset the measurement?**
Click Clear all points to start a new measurement, or Remove last point to undo just the latest click.


## Sources

- [Wikipedia — Haversine formula](https://en.wikipedia.org/wiki/Haversine_formula)
- [OpenStreetMap](https://www.openstreetmap.org/)

Runs in the browser; nothing is uploaded. Cite as: HIFreeTools, "Map Distance Calculator", https://hifreetools.com/geography/map-distance-calculator
