jarvisbox

Distance Calculator

Calculate the straight-line distance between two GPS coordinates using the Haversine formula.

100% client-side · no upload

How to use

  1. Enter the latitude and longitude for Point A (e.g. 51.5074, -0.1278 for London).
  2. Enter the latitude and longitude for Point B (e.g. 48.8566, 2.3522 for Paris).
  3. The great-circle distance in kilometres and miles updates automatically.

Related tools

More ways to use this tool

Frequently Asked Questions

Is this distance calculator free?
Yes, completely free with no signup and no usage limits.
Does my data leave my device?
No. All calculations run in JavaScript inside your browser. No data is sent to any server.
Does it work on mobile?
Yes. The calculator is mobile-first and works on iPhone Safari and Android Chrome.
What formula does it use?
The Haversine formula, which computes the great-circle distance between two points on a sphere. It is accurate to within 0.3% for most distances on Earth.
What is the difference between great-circle distance and driving distance?
Great-circle distance is the shortest path across the Earth's surface (as the crow flies). Driving distance follows roads and will always be longer.

Last updated:

Report a problem with this tool