Distance Calculator (Haversine)
Measure the great-circle distance between two coordinates in your browser: kilometres, miles and the initial bearing. Nothing is uploaded.
What this distance calculator (haversine) does
The page measures the great-circle distance with the haversine over a 6371 km earth: one equatorial degree is 111.19 km, printed beside the miles, with the initial bearing — the compass direction of travel from the first point — beneath. Latitudes past plus or minus ninety and longitudes past plus or minus one eighty are refused naming the range, because no place on earth sits outside it.
How to use it
Distance Calculator (Haversine): paste the note into the box above, set First latitude (default "0"), First longitude (default "0"), Second latitude (default "0") and Second longitude (default "1"), and press Run to get the distance below.
Worked example
Input:
Output:
Distance = 111.19 km (69.09 mi)
Initial bearing = 90.0°
Why it runs in your browser
The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads note and returns distance; reloading the page discards both.
The page measures the great-circle distance with the haversine over a 6371 km earth: one equatorial degree is 111.19 km, printed beside the miles, with the initial bearing — the compass direction of travel from the first point — beneath. Latitudes past plus or minus ninety and longitudes past plus or minus one eighty are refused naming the range, because no place on earth sits outside it.
Measure the great-circle distance between two coordinates in your browser: kilometres, miles and the initial bearing. Nothing is uploaded.
How to use it
Distance Calculator (Haversine): paste the note into the box above, set First latitude (default "0"), First longitude (default "0"), Second latitude (default "0") and Second longitude (default "1"), and press Run to get the distance below.
Why it runs in your browser
The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads note and returns distance; reloading the page discards both.
What to Expect
Best for
- Converting note to distance when the data is already on screen.
What this tool keeps
- Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere.
Sample output
Distance = 111.19 km (69.09 mi) Initial bearing = 90.0°
Frequently asked questions
How do I use the distance calculator (haversine)?
Distance Calculator (Haversine): paste the note into the box above, set First latitude (default "0"), First longitude (default "0"), Second latitude (default "0") and Second longitude (default "1"), and press Run to get the distance below.
Is my input uploaded?
No. The text is parsed on this page with JavaScript and is never posted to a server.
Is there a size limit?
Yes: 5 MB per run. Larger input is refused with a message rather than freezing the tab.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.