Advanced Google Maps Distance Calculator

This Advanced Google Maps Distance Calculator is the successor to the Google Maps Distance Calculator. This version will allow users to save and reload their routes when they revisit Daft Logic.


[Map Height : Small - Medium - Large - Full Screen]

Use search result as a distance marker?


Usage is the same as the standard Distance Calculator.

Snap To Roads

Enable Snap To Roads to make the route between two points on a road follow the road path and therefore calculate a more accurate distance.

How To Use

Sign Up

  • Click the Create Free Account option at the top right.
  • Type in your username, password and email. Note : Use a loose password as this site is not secure.
  • Click [Submit] an wait for an email to arrive with further instructions.

Login Procedure

  • Click the Login option at the top right.
  • Type in your username and password.

Use the Map

Use the map and place your markers to create a route (as per Google Maps Distance Calculator)

Save New Route

  • Make sure you are logged in.
  • Click [Save New Route] under user options.
  • Type in the name for the route.
  • Decide to make the route public (other people can search for it and see it) or private.
  • Click [Save].

Load a Route

  • Make sure you are logged in
  • Click the route name you wish to load under Your Routes
  • Wait for the route to load

Note: You can now edit this route as per normal

Re-Save Existing Route

  • Make sure you are logged in.
  • Load an existing route.
  • Click [Re-Save Existing Route] under user options.
  • Your route will then be re-saved

Add Notes To Route

  • Make sure you are logged in.
  • Click the notes icon (Add Notes) for the route you wish to add a note to.

Rename a Route

  • Make sure you are logged in.
  • Click the rename icon (Rename Route) for the route you wish to rename.

Delete a Route

  • Make sure you are logged in.
  • Click the delete route icon (Delete Route) for the route you wish to delete.
  • Your route will be permanently deleted.


Click Logout or simply navigate away from this page

Keyboard Shortcuts

The following keybaord shortcus can be used:

  • l - Delete Last Marker - Windows : (Alt+l) - Mac (Ctrl+Alt+l)
  • z - Zoom to fit - Windows : (Alt+z) - Mac (Ctrl+Alt+z)
  • d - Delete a Marker - Windows : (Alt+d) - Mac (Ctrl+Alt+d)
  • t - Toggle Markers - Windows : (Alt+t) - Mac (Ctrl+Alt+t)


  1. All distances are estimations so Daft Logic does not accept any responsibility that may arise when the value reported is incorrect.
  2. 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.

Relevant Links

Google Maps API

Future Functionality and Suggested Improvements

Functions that will be added in the future. Please feel free to make suggestions by adding a comment at the bottom of the page.

  • See the distance from the starting point at each marker
  • Save the map state along with each route (position, zoom and map type)
  • Show more than one saved route at once
  • Option to stay logged in
  • Export the route to CSV / Excel
  • Export the distance between each adjacent point

Version History

Version Date Description
1.0 14/07/2008 First version
1.1 18/07/2008 Added signup and login
1.2 19/07/2008 Added save and load route (page goes live)
1.3 04/08/2008 Added option to delete a route
1.4 16/08/2008 Option to make a route public or private (default is private) & added send route via email option
1.5 01/09/2008 Increased store limit of routes from 135 points to something much larger
2.0 18/01/2009 Email validation on account signup
2.1 18/01/2009 Route validation on save. There must be at least one point of the map and the route must have a name
2.2 29/01/2009 Update to back-end saving mechanism
3.0 22/11/2010 Now uses Google Maps API V3 (inc. new features found in the recent update to Google Maps Distance Calculator such as saving your last route, map position and map settings in a local cookie)
Improved signup procedure - detects if username is already in use
Improved signup procedure - option to request new password
Option to change your password when logged in
Ability to rename a route
Ability to save (re-save) an existing route rather than having to save new routes all the time
Option to save notes for each route
Post your route to Twitter
Post your route to Facebook
Export route to KML option
3.1 29/11/2010 Option to allow a user to delete their account and all data permanently
3.2 20/12/2010 Full Screen Option added. This should allow easy printing. Please Report Bugs!
3.3 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
3.4 10/01/2013 New button to delete any marker
3.5 03/06/2014 New function to show an elevation chart for your route
3.6 18/11/2015 Implemented a mouseover event so when you hover over the elevation chart, a marker on the map highlights the location
3.7 30/12/2015 New method to add new markers to the middle of an existing route
New option - right click on a vertex to delete a point
Various keyboard shortcuts added
3.8 28/01/2016 Improved Full Screen function
3.9 02/08/2016 Bug fixes with unit pre selection on page load. In particular for Nautical Miles
3.10 15/02/2017 KML Export now includes elevation data
3.11 08/07/2017 Added Snap To Roads feature
3.12 07/08/2017 Fixed issue with text formatting of notes
3.13 19/10/2017 Snap to road improved

Comments For This Page

How can you search for routes that others may have made public?
By Keith Lazzari on 15th January 2018
I saw another user saying he looked into the code. Can this be downloaded as freeware?
By Greg on 11th January 2018
Thank you
On 4th January 2018
Hi Alex, thanks for taking the time to feed these comments back. This has now been changed to DRIVING.
By Daft Logic on 4th January 2018
Hi. I dug into your code and saw that you were using google.maps.DirectionsService for this. Why did you set `travelMode: google.maps.DirectionsTravelMode.WALKING`? It may be the cause of your "bizarre route choices" since it makes the route avoid highways. Maybe make that an option in the UI.
By Alex on 3rd January 2018
Hi Robert, thanks for the feedback. We will look in to the option for removing the entire snap to road batch. In the meantime we have made an update to help avoid the bizarre route choices.
By Daft Logic on 19th October 2017
This is a wonderful tool, thank you for making it available. The 'snap to roads' feature is really neat but I find it does make some rather bizarre route choices if the two points are too far apart and there are intersections between them! Undoing the last step with 'delete last point' gets cumbersome when a lot of intermediate points have been added, so would it be possible to have 'delete last point' delete all the intermediate points added at the last step WHEN 'SNAP TO ROADS' IS ENABLED?
By Robert on 15th October 2017
Hi David, if you create a free account and login, you can save your route then export it as a KML file.
By Daft Logic on 8th October 2017
A function that allows the user to export the selected coordinates would be very useful. Thanks
By David - Edinburgh University on 8th October 2017
Hi... why "Show Elevation" is not working anymore??
By Miguel on 5th September 2017
Hi Chris, that's good to hear.
By Daft Logic on 29th August 2017
Hi Guys,
yes , just checked it out and spot on ! Text is now clear .Many thanks , will use it as a test survey tool for our woodlands and report back , cheers , C
By Chris on 22nd August 2017
Chris, the formatting of notes should now work better.
By Daft Logic on 17th August 2017
Hi Bob, this feature has been added. Find the switch below to map to enable it.
By Daft Logic on 8th August 2017
Hi, is it possible to have the route auto snap to follow roads without having to add a node for every curve? Thanks
By Bob on 31st July 2017
Hi Chris. We will investigate and get back to you.
By Daft Logic on 26th July 2017
Hi there , started using the app for a survey and found when I input notes - it saves the txt with lots of characters - eg

Works Program%3A Clear vegetation from cable run and foot path access ways
Is this my browser or something else ?

Cheers , Chris
By Chris on 24th July 2017
Hi Jo, sorry this is not possible.
By Daft Logic on 5th July 2017
Can I use GPS points to mark an area or distance? If so, how.
By Jo on 4th July 2017
KB, please try the Google Maps Area Calculator Tool.
By Daft Logic on 23rd June 2017
How do I get acreage? Doesn't seem to be an option.
By KB on 23rd June 2017
Hi Mike, it will only report the accumulated distance along the line so it's not possible to find out distances between the start point and a number of other points ... sorry.
By Daft Logic on 30th May 2017
Thank you for your reply to my question re giving a distance from a starting point. Sorry for not explaining it very well...if I plot a line on a map is there a way that to be able to find the distance between 2 points on this line?
Also, I have managed to export a map via KML but am not able to export another one; have tried redoing a map and it still says that the file not been found even though when I pull it up it is there; sorry if this is a dumb question!
Many thanks Best wishes Mike
On 30th May 2017
Hi Mike, can you explain in a bit more detail please? Just so I'm 100% sure what you mean
By Daft Logic on 21st April 2017
is it possible to measure distances from the start please?
By Mike on 20th April 2017
Hi, There was an issue that has now been fixed. KML export should now work for FireFox
By Daft Logic on 7th March 2017
Hello, I am having trouble using the "export KML" featurte. Nothing hapens when I click on the red "KML" under "export "KML". I tired right clicking and opening in a new tab or window, but no luck. I am using Firefox internet browser
On 6th March 2017
easy to understand ,, works great ,, thank you ,, found the distance between my farm and two other cell towers ,, one tower is 9.281 miles , the other 9.571 miles ,, both towers have line of sight and only one gives issues ,, i just wanted to check the distance before i called the issues in ,, thank you ,, carmichael moritz
On 24th December 2016
hello, does this calculator uses the exact formula Google use on GMaps ? If it is, may i know what formula are you using ? thank you so much
By Aryo on 16th December 2016
Phil, perhaps you are looking for this page : Google Maps Find Altitude.
By Daft Logic on 16th October 2016

30 out of 370 comments shown. See all comments.

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

Share This Page

Share this page with others using one of the methods below. Telling others about Daft Logic is good and we appreciate your support!