Distance Calculator: Accurate Distance Between Points -Free 2026

Distance Calculator

Measure the straight-line distance between any two places on Earth, between coordinate points in 2D or 3D space, and solve speed–time–distance problems — with bearing, midpoint, flight & drive estimates and unit conversion.

🌍 Places on Earth🧭 Bearing📍 Midpoint✈️ Flight time📐 2D / 3D

Two locations on Earth

Note: Great-circle distances use the haversine formula and are accurate to within about 0.5% (Earth is an ellipsoid, not a perfect sphere). Use this as a reliable straight-line guide; for exact driving routes use the Google Maps link.

Choose the distance you need

This calculator has four modes: places on Earth, 2D or 3D coordinate points, speed–time–distance, and unit conversion. Its Earth mode uses coordinates and a spherical model. It does not look up street addresses, postal codes, traffic or road networks.

  1. For places on Earth, choose a listed city or enter both latitude and longitude. North and east are positive; south and west are negative in decimal mode. Latitude must be between −90 and 90 and longitude between −180 and 180.
  2. For geometry, enter coordinates in one consistent unit. Use the 3D option only when both points include a z coordinate.
  3. For speed–time–distance, choose the quantity to find and enter the other two. Use positive travel times and a nonzero speed when solving for time.
  4. For a conversion, enter the distance and select its starting and destination units.

Worked examples you can check

In the 2D mode, the distance from (0, 0) to (3, 4) is √(3² + 4²) = 5 units. In 3D, adding a z difference of 12 gives √(3² + 4² + 12²) = 13 units.

At a constant 80 km/h for 2.5 hours, distance = 80 × 2.5 = 200 km. This excludes stops and changing speed. One statute mile is exactly 1.609344 km; one nautical mile is exactly 1.852 km.

What the Earth results mean

The haversine calculation uses a sphere with radius 6,371 km. The result follows that sphere’s surface; it is not a straight chord through Earth. The bearing is the initial direction, and the midpoint is halfway along the great-circle path. A geographic midpoint can fall in water or an inaccessible area, so it is not automatically a practical meeting place.

The displayed flight time assumes 800 km/h. The driving estimate multiplies the great-circle distance by 1.3 and assumes 70 km/h. These are rough arithmetic assumptions, not checked transport routes or schedules. Roads, borders, terrain, air routes and traffic can make actual journeys substantially different. Use a mapping service for route-specific estimates and official travel information for decisions.

Frequently asked questions

Can I enter degrees, minutes and seconds?

Yes. Select the DMS mode and enter degrees, minutes, seconds and hemisphere. Use minutes and seconds from 0 up to, but not including, 60. Check the coordinates before using the result.

Does the map link calculate an exact road distance here?

No. The link opens the entered endpoints in Google Maps. The mapping service provides its own route estimates; those results are separate from this calculator.

How accurate is the spherical model?

It approximates an ellipsoidal Earth. Input precision and the chosen model affect the result; do not use it for surveying, aviation navigation or legal boundary measurements.

What happens when I use my location?

Your browser asks for location permission. You can instead enter coordinates manually. Opening the external map link sends its endpoint coordinates to Google Maps; check the site privacy policy for other data processing.

Related tools: trip cost and unit conversion.

Scroll to Top