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

Very useful tool
On 18/12/2014
On 19/11/2014, you need to create and account, draw the map then use the send via email option to send to someone else.
By Daft Logic on 17/12/2014
Hi Deborah, does it work now?
By Daft Logic on 17/12/2014
i want the formular of calculating the distance?the scale is 1.5000 and we want america
By magdeline on 13/12/2014
I have find this page very useful over the years.from how many miles I have walk in the forest,to how many miles I have drive in the car. Thank you very much.
By Lisa pip on 12/12/2014
Have used this a lot over the years and find it very useful. Walk in the forest on driving in the car for how many miies I have done. Thank you very much.
By Lisa pip on 12/12/2014
whisky travels 2014
By Stewart Buchanan on 09/12/2014
Hi, I use this tool to measure distance for my P1 intake, I cannot get the map to come up this year, could it be my school server blocking it.
By Deborah Field on 08/12/2014
Can anyone tell me the distance between Little Manly and Watsons Bay please ??
On 07/12/2014
Would it be possible to add a compass bearing to the point-to-point segment?
By a_alex_bryant on 06/12/2014
Great for calculating my hike this is awesome!
On 03/12/2014
Very useful 4 homewok thnx muchly
On 29/11/2014
By samlot on 27/11/2014
Love this tool. Very useful.
By Haruna on 20/11/2014
I cannot get the link for my map. I have spend quite a long time building it. Any suggestions? I really just wanna send it to someone.
On 19/11/2014
the heightis 1032.9178 xm the true height is 986 feet eror is of by a 100 true angle 986
By Gian Carlo A. Calpo on 14/11/2014
the height of eiffel tower is 1032.9 17
By Gian Carlo A. Calpo on 14/11/2014
ce site web intelligent et utile
By optional on 14/11/2014
as a novice i found this really useful and spot on.will definitely use again.
By neil on 14/11/2014
Thanks for the app. I used it to see how far away an active volcano was from where I'm going in Dec. I knew it was pretty far but couldn't judge it very well. I think 800mi is a good safe distance lol.
By Nic on 01/11/2014
I love this thing
On 31/10/2014
Here is a another request to have this tool give the heading in degrees from A to B (both true and magnetic would be nice). This is very useful for flight planning in flight sim programs like AeroFly FS. I would pay for an app that did that!
By Adak47 on 27/10/2014
Hi Mark, Yes I understand. But... no it doesn't take elevation in to account. It assumes the map is flattened. Therefore this is a limitation of the distance reported.
By Daft Logic on 26/10/2014
Does it take elevation distance into account? For example, it is 49 miles from PDX to Mt Hood in Oregon USA. But the summit is 2 miles higher, so the "correct" distance would take that into account if we are talking about line of sight. I guess you know what I mean, even though my explanation could be better.
By Mark on 26/10/2014
Very nice. Thanks!
By Joe on 25/10/2014
i need a circle aroun a point.??
By jb on 22/10/2014
is it possible to add direction as well ?
By GrumpyGrandpaGrae on 20/10/2014
Thank you so much for creating this resource! I use it before every UAV flight to ensure that I'm compliant with the regulations, and I agree with the last poster requesting an iOS app. I would gladly pay for an app like this that would calculate distance from where I am to another point on the map!
By Chris www.shotby.ca on 18/10/2014
Thank you for this! It is amazing. Keep up the good work. Are you planning on making an app for either IOS or Android? I was using this to find the distance between my house and the cell towers. I do not know if you can add cell towers into your program, but if you can that would be amazing. Keep up the good work!
By Steve on 15/10/2014
This is very useful tool for measuring distances and I'm very happy that someone has put the time and effort into this program, keep up the good work!
On 12/10/2014

30 out of 1810 comments shown. See all comments.

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

Comments :

Your Name (optional) :