Distance Calculator
[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:
Generate Link For This Route (Share your route on Facebook, Twitter or by email)
Please copy the link from text box below:
Description
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
- Zoom and drag the map to find the location of marker 1
- Click to place marker 1.
- Zoom and drag the map to find the location of marker 2.
- Click to place marker 2.
- The distance will be calculated then displayed below the map in miles or kilometers. You can change between miles or km at any time
- Add as many points as required and the distance will build up.
- You can also drag and drop markers after they have been put on the map
- 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.
Note
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.
Options
- Click [Clear Last] to undo the last marker placed
- Click [Zoom To Fit] to zoom the map around all markers
- Click [Clear Map] to erase all markers and start again
- Use the Quick Find text box to quickly relocate the map
- You can choose between miles and kilometers (km) for the Total Distance readout
- Click [Show Elevation] to get a chart showing the elevation of your route
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
![]() |
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 showing the estimated distance between New York and Paris. All references that can be found suggest that this is an accurate measurement. |
![]() |
Map showing the Seven Mile Straight in County Antrim, Northern Ireland. This shows a reading of 6.910 miles. |
![]() |
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
Further Uses and Ideas
- Show difference in altitude between markers
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
A lot of comments
By Chloe on 19/08/2015Amazing site guys who thought of it and invented it %uD83D%uDC2B%uD83D%uDC2B%uD83D%uDC2B%uD83D%uDC2B
By Chloe on 19/08/2015Nice app for calculation distances in pigeon racing. Thank You!
By Ron Staz on 17/08/2015Hi Andrew, the limiting factor is normally the browser resources. There is no hard limit in the code.
By Daft Logic on 17/08/2015This is a great app. Just one question, does the elevation calculation stop working after a certain number of points? I got to around 590 and it stopped working. Is there a limit to the number of points you can have?
By Andrew on 16/08/2015Cianorte PR campo mourão PR
On 11/08/2015It's an excellent application. Thank you. I only can add a thing. When I do a line, the app shows the length, but would be useful to me that show me the azimuth angle.
By MatÃas on 11/08/2015i love this tool. i use it a lot for running and cycle routes. thanks for developing it and keeping it going. great work
By Stefan Cent on 05/08/2015Good site.
By balilla43@libero.it on 05/08/20155k mapping
By LETU 5k course on 01/08/2015Thanks, used this to measure the distance paddled in the ocean.
By Dave on 31/07/2015Pc?
On 29/07/2015Am option of feet in elevation along with meters. Thanks
On 27/07/2015Hi Dag, can you try a different web browser and see if this helps?
By Daft Loigc on 26/07/2015I am getting real sick of the blue square that appears over the toggle points. I can't figure out why it appears, but it is a big distraction, and I want to know how to stop it.
By Dag on 24/07/2015Where is the rotate option?
By X on 09/07/2015Sir, Could You Pl Reply Following Doubte?
1. How to save the selected portion of the Image?
2. May I know about contours of the place for calculating land for levelling purpose?
Your software is great. It will be very useful if all data related to distance/Area/Contours are available at one place.
Hope you a great success. This is really useful to mankind.
Regards,
A G Patel
9/July/2015
By A G Patel on 09/07/2015ideal for walking tracks and off road routes particularly. I love this tool and use it a lot to find out how far I have walked/cycled. I have used it for school projects and my kids use it now too. I love it for it's simplicity!
By Janet on 04/07/2015Thank you for this wonderful tool!
On 01/07/2015me gusta,es q soy maratonista y me ayuda a calcular las distancias ,kilómetros ,para programar mi entrenamiento.
By carlos miguel serrano salazar on 26/06/2015I now see I have 65 markers and 265 rectangles on the elevation chart.
I assume you interpolate between the markers and put in bars based on the distance.
It makes sense :-)
By Michel Hegeraat on 19/06/2015Very glad I found this site. I can now explain to my friends in the netherlands that I'm not a slow runner, but that the elevation is slowing me down a bit. :-) Things are not as flat here as the are in the netherlands.
May I request a feature?
Could a hover event on the Nth marker on the map, change the fill color of the Nth hight sample ,
And a hover event on the hight sample to change the color or image of the associated marker.
I thought of doing it myself using greasemonkey but I confused with the order of the gmnoprint markers in the div that overlays the map. I guess I can run through the titles and find the marker number in there.
By Michel Hegeraat on 19/06/2015"As the crow flies", I had to put multiple points in. I bet there is a way to do it, though, I mean with curves, vis-à-vis the "NY to Paris" image above. But it remains a mystery. YOu should see all my points within a 6-mile trip!
By Swimmer on 17/06/2015Great site. I think you've missed on some of the elevation stuff. I don't know how you proceed, but you have interpreted a peak as a drop when looking at my house. But keep the good work, it is useful more than you think...
By Nelson on 16/06/2015I love this site, use it all the time. Thanks a lot!
By Ewan on 14/06/2015Great
By kevin clark on 06/06/2015Wow you are the best! This is great!
By Martin on 31/05/2015Is there any way the program can draw a distance radius (circle) on a central point, say 100 miles?
By DRD on 27/05/2015Problems is also
By Saifullah Queshi on 27/05/2015goood
By garix on 25/05/201530 out of 1893 comments shown. See all comments.
Add your own comment below and let others know what you think:




