Logic, but in a different way

Daft Logic

Distance Calculator

Last Updated 18th November 2015

[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
5.10 18/11/2015 Implemented a mouseover event so when you hover over the elevation chart, a marker on the map highlights the location

Previous Comments For This Page

Hi,I was wondering why the distance calculator cannot create new route and have several measured distance displayed at the same time, like the area calculator does?
By Edison on 24/11/2015
Daftlogic, thank you so much for implementing the mouse pointer mouseover feature for the elevation, and so quickly! The elevation feature with the mouseover is just so useful to me and I imagine many others for different reasons. I completely understand regarding the additional suggestion and, as you suggest, I'll keep an eye on your Facebook/Twitter accounts for further updates. Again, thanks so much for a great app and for being so in touch with your users. =)
By Andy on 24/11/2015
It is very good idea to measure areas fast.
By Mahrous on 20/11/2015
Andy, regarding point 1, I believe this is a good idea, but would require a new page on its own to segregate this functionality. Adding it to this page would bloat it and make it too confusing for users. This new page is going to take a while to develop so keep an eye on Daft Logic Twitter and Daft Logic Facebook page for updates.
By Daft Logic on 18/11/2015
Andy, we have implemented a mouseover event so when you hover over the elevation chart, a marker on the map highlights the location.
By Daft Logic on 18/11/2015
Hi Andy, thanks for the suggestions. We will review this and give some feedback soon.
By Daft Logic on 18/11/2015
Hi, compliments on a great application. I really love it and use it often. Could I suggest a couple of features for the wish list: (1) ability to set multiple distances from a single point so each has an independent distance, not cumulative (2) links on elevation to show the geographic location a a point on the map as your mouse hovers over each line? This would virtually complete the app for me. Thanks!
On 17/11/2015
Hi, compliments on a great application. I really love it an use it often. Could I add a couple of features to a wish list: (1) ability to have multiple distances set from single point (2) links on elevation to the geographic location on the map. Possible?
By Andy on 17/11/2015
Emel, thanks for the feedback. Point taken. The Clear Map button has been moved to the far right. We are also planning a revamp of the interface soon.
By Daft Logic on 26/10/2015
This is cool man! Thanks. If you put some polish on this and a bit of SEO it could be a top site! A great utility.
On 26/10/2015
Can you please add "lock markers" function, please? It's been two times today I was marking my track and accidentally hit "Clear map", instead of "Clear last point". Whole half hour of work was gone:( Frustrating.. I'd rather protect executed part from accidental clearing. I really like your site anyway. Thanks in advance
By Emel on 22/10/2015
I've used your site on a number of occasions, but I just realized Google Maps doesn't like accurate locations since Google likes to think for you. A lat / long in Google Earth will put you on the exact spot, but Google Maps will not (it will drop you on a nearby road or someplace IT likes. If this used GE as a base map it would be much more powerful.
By Ron on 20/10/2015
Why can't you offer a layout to calculate both the short and the long distance?
On 17/10/2015
Great website! Well done :)
By josh on 07/10/2015
vary help full
By sumon on 07/10/2015
Another great use for this site is so hobby drone pilots can plan a flight path. For example, they can fly to a large field (instead of traveling "in the blind" over woods) and can see the distance to the field and across the field, and back to home again. The elevation tool is excellent for flying in hilly areas.
On 05/10/2015
Nice job. Please add bearing to the display.
On 25/09/2015
1. Futˇiskola 2,4 km
By futás on 18/09/2015
super fanstastic site
By Davide from Italy on 16/09/2015
Great Tool those who want to use buy aggricultural land they can easily findout total area of boundary for fencing
By VHPN on 09/09/2015
Very useful for finding out if you may or may not get the NBN.
By Scooter on 08/09/2015
Love the elevation bar-chart... any ideas for representing curvature of the earth on it? (use case: can I really see that mountain top from this one)
By _Mark_ on 06/09/2015
I am so glad that I found this site. I have used the Google Map, but it sometimes does not give me the miles, and I need the distance in Miles for my work from global city to another city. It is amazing that this one finds even a small remote city in a third country. Thank you for coming up with tool for us, DraftLogic!!!
On 04/09/2015
The map is not coming up like it did before.
On 03/09/2015
Internet Explore version 9
On 03/09/2015
Hi, do you see any JavaScript errors? Which web browser are you using?
By Daft Logic on 03/09/2015
The disance calulator no longer works for me.
On 02/09/2015
I,m glad I found this sight. It's a great that i used for my first novel 'Beyond the Bitter Sea' (Amazon books) and I'm currently using it for a new untitled novel . Daft logic along with Google Earth helps to establish distance, time and difficulties with both land and sea travel.
By J. G. Knott -Author -jerry @ j on 26/08/2015
Great site -I've been using it to report to our directors on GHG emissons from corporate air travel
By Piero on 25/08/2015
On 23/08/2015

30 out of 1924 comments shown. See all comments.

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

Comments :

Your Name (optional) :