Logic, but in a different way

Daft Logic

Distance Calculator

Last Updated 16th October 2014

[Map Height : Small - Medium - Large]

Search For Location :

Use search result as a distance marker? Yes No

Total Distance Miles km Nautical Miles Metres Feet Autopan ?

Upload Coordinates

Please paste in the list of coordinates to add to your route in the text box below:


You can use this distance calculator to find out the distance between two or more points anywhere on the earth. In other words, the distance between A and B. Click once on the map to place the first marker and then click again to position the second marker. The mileage between the points will then be displayed. You can also build up a series of locations to find a total distance.

An important feature of this distance calculator tool is that is "as the crow flies", so traveling in real life will normally involve larger distances, but this may also help those who need to measure off-road distances.

Want to save your route? Try the Advanced Google Maps Distance Calculator

How To Use

  1. Zoom and drag the map to find the location of marker 1
  2. Click to place marker 1.
  3. Zoom and drag the map to find the location of marker 2.
  4. Click to place marker 2.
  5. The distance will be calculated then displayed below the map in miles or kilometers. You can change between miles or km at any time
  6. Add as many points as required and the distance will build up.
  7. You can also drag and drop markers after they have been put on the map
  8. To share your route and distance calculation use the option [Generate Link For This Route]. You can then copy the link generated and send this via Twitter or Facebook.


All distances are estimations so Daft Logic does not accept any responsibility that may arise when the value reported is incorrect.

You can move the markers after they have been positioned so you can modify you route on the fly and see how the distance will be effected.


How it Works

Clearly you, the user inputs two 'points' that are used to calculate the distance. Calculating the "As the Crow Flies" distance is a matter of using Great Circle formula. Then the main problem is converting the Google Map unit to miles and kilometers.

The map will also automatically save your route in your temporary internet cookies so that you can return and see the route as you last left it. If you ever need to start from scratch then use the [Clear Map] button.

Benchmark Tests

Mary Peters Track in Belfast
Map showing the Mary Peters Track in South Belfast. The reading shows 0.394km which is clearly a reasonable measurement for an athletics track.
Map between New York and Paris
Map showing the estimated distance between New York and Paris. All references that can be found suggest that this is an accurate measurement.
Seven Mile Straight in Antrim
Map showing the Seven Mile Straight in County Antrim, Northern Ireland. This shows a reading of 6.910 miles.
Map between Belfast and Dublin
Map showing the distance between Belfast and Dublin. As far as I can see this is an accurate estimate (if there is such a thing). This trip would be approximately 100 miles by road so the proverbial crow would have less distance to travel.

Relevant Links

Google Maps API

Further Uses and Ideas

Version History

Version Date Description of Updates
1.0 29/12/2005 The Beginning
2.0 19/01/2006 Stop post back between clicks
Calculate Mid Point
Zoom to fit feature
More than one marker as running total
3.0 15/06/2007 Move to API v2
Great Circle display and distance calculation
Option to resize map height
3.1 25/09/2007 Added print map option
3.2 01/10/2007 Added Quick Find
4.0 20/01/2008 Added Scroll Wheel Zoom in and out
Complete conversion to API v2
Better Zoom to Fit Functionality
Added crosshairs curser
4.1 21/02/2008 Removed Scroll Wheel Zoom in and out
Added marker drag and drop functionality
Removed Print Option (Ctrl+Print Screen works better)
4.2 10/06/2008 Added Nautical Miles option
4.3 20/10/2008 Added drop down map type option
4.4 17/12/2008 Map saves last position for when you next visit
4.5 04/01/2009 Fixed autopan issue when map is resized
4.6 28/09/2009 Removed Quick Find
Added Google Search bar
4.7 06/10/2009 Brought Back Quick Find!
Removed Google Search bar!
Added Route Autosave via cookies
Added Marker tooltip showing marker id and lat/lng
Added Feet measurement
Added Metres measurement
4.8 08/10/2009 Google Search can now be enabled by a check box
More settings are now saved such as toggle markers, Google Search and Map Type
5.0 31/07/2010 Implemented Google Maps Javascript API V3
Google Search bar at bottom left is not yet available. sorry!
Removed show mid point button
Uses new cookie so any previous systems/settings on your machine will be erased! sorry!
Please report any issues or bugs!
5.1 02/08/2010 Fixed autopan issue when map is resized
5.2 09/08/2010 Updated Quick Find. Now places marker at location
5.3 31/07/2010 Updated Quick Find. Now adds a distance marker upon finding a result unless the user opt's out of this
Updated Quick Find. Now allows enter/return to be hit to cause the search. No need to click the Search button
Updated Quick Find. Now pre-selects text after a search is complete to allow rapid input of multiple locations
Updated Quick Find. If you perform an unattached search (not a distance marker), the search result marker can be easily removed from the map by clicking on that marker
5.4 05/02/2012 Updated Quick Find. Now zooms in to find the location
5.5 14/02/2012 Fixed issue where a marker that had been repositioned retained its original lat/lng in the text that appears during hover over
5.6 15/02/2012 Added new upload coordinates function
5.7 10/11/2013 Removed Google Local Search API (Deprecated)
5.8 22/01/2014 New option added to allow you to share your distance calculator route on Twitter, Facebook or email
5.9 25/01/2014 New option added to show the elevation of your route on a bar chart

Previous Comments For This Page

By garix on 25/05/2015
Perfect, simple to use tool just to see how far I ran or cycled! Thank you Daft Logic!
By Matt B on 10/05/2015
how it use for more than two line in same graph
By gajanan on 08/05/2015
It would be nice to have a bearing reading referenced to true north between two points. I use this to point ham radio directional antennas to a location I want to find it would be very nice if it would give a bearing from point A to point B referencing to true north
By Mike Ray Wa4yur@gmail.com on 07/05/2015
Doesn't work on my PC
On 04/05/2015
I use this all the time for flight planning. I would like to see the following improvements: 1. Move the "Small, Medium, Large Map" and "Search for Location" down to where the distance is displayed. I am constantly having to scroll up then down and this would eliminate that issue. 2. Allow zooming in to a custom size. That way I can fill the map with the area I'm interested in instead of having to choose between too small vs not being able to see the entire route.
By Glenn Ball on 02/05/2015
Its 9122 miles
By Free Map Tools on 30/04/2015
Hi guys, i was wondering if you could like, tell me how far jacsonville is from the phillippines. This machine won't tell me. Thank you, Taylor Swift
By Taylor S. on 30/04/2015
It would be nice if there was just two location bars to fill in, instead of having to mark a point and then mark a second point, then having to clear the map to start over, If you could just keep updating location B it would be a big time saver.
By Peter on 30/04/2015
Thank you for having this. It is exactly what I needed and I had no problem using it!
By JT on 29/04/2015
Hi, How can I find all logitude, lattitude values around 50 Km from one Point
On 15/04/2015
I love to use this to see how many km I ran. It's perfect and easy to use.
On 03/04/2015
Hi, this page works by calculating the cumulative distance covered by all markers. If you need to do separate measurements, click Clear Map each time to start over.
By Daft Logic on 18/03/2015
I have put my markers down and now need to know the distance between two points (there are 15 markers as I am measuring a site) however when I click on one marker and then the next it just keeps adding up the total of the markers in metres - when I only want the distance between two points. Please help!
On 17/03/2015
It is also great that I can copy and paste the link with the directions from point to point that I chose. Then I don't have to copy the screen and save an image of the directions. I could use that option at Find Altitude if it were an option. Because those 2 links have critical uses that make this my number 1 way of getting answers of specific types that no other website provides.
By Richard Diaz on 12/03/2015
Hello Daft Logic, any chance of the code being shown for this? Good and handy tool
By Gary M on 11/03/2015
Nut sure if typo, but it's "Meters" not "Metres"
By Jim Rustler on 11/03/2015
why is this hopeless??
By matt on 03/03/2015
I use this great site after every run. The routes I take are often very random, so it's fantastic to be able to get home and work out my distances. Thank you!
By Londoner. UK. on 03/03/2015
Hi Any chance I could use the code and enter the Daft Logic name?
By Tommy on 02/03/2015
eres el mejor calculista de carreras!
By El Intersect on 27/02/2015
Is it possible to measure route distance and not just as 'crow flies' distance?
On 27/02/2015
It says it has found my location but I cant see the map? - Is this still an issue for you? Thanks
By Daft Logic on 24/02/2015
It says it has found my location but I cant see the map?
On 19/02/2015
eccezionale, programma di calcolo intuitivo, semplice ed esaustivo
By saverio on 14/02/2015
On 09/02/2015
Thanks for this tool, very useful!
By Anna on 08/02/2015
Hi Tom, the Toggle Markers button will switch the markers on and off.
By Daft Logic on 07/02/2015
How do you get rid of the markers
By Tom bradey on 04/02/2015
Why does it take so long to load
On 03/02/2015

30 out of 1864 comments shown. See all comments.

Add your own comment below and let others know what you think:

Comments :

Your Name (optional) :