Tool to compute the exact geographic distance/duration between 2 places/locations on a map in a straight line or with land routes network to reach 2 cities is as important.
Geographic Distance - dCode
Tag(s) : Geography
dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!
dCode uses real map coordinates to compute the distance by road (for car travels in order to calculate distance between cities by car) or by the most advantageous paths (for travels by foot).
Be sure to use the most accurate addresses to obtain reliable journey times.
Example: Paris can refer to the city in France, or the Texas town.
If the geolocation is not correct, try to learn more information as the location name, country name, etc.
If no result is displayed is that the geolocation daily limit is reached.
A distance matrix is a table with the cities in line and column header and the distance between them in intersection.
dCode retains ownership of the "Geographic Distance" source code. Any algorithm for the "Geographic Distance" algorithm, applet or snippet or script (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or any "Geographic Distance" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) or any database download or API access for "Geographic Distance" or any other element are not public (except explicit open source licence like Creative Commons). Same with the download for offline use on PC, mobile, tablet, iPhone or Android app.
Reminder: dCode is an educational and teaching resource, accessible online for free and for everyone.
The content of the page "Geographic Distance" and its results may be freely copied and reused, including for commercial purposes, provided that dCode.fr is cited as the source.
Exporting the results is free and can be done simply by clicking on the export icons ⤓ (.csv or .txt format) or ⧉ (copy and paste).
To cite dCode.fr on another website, use the link:
In a scientific article or book, the recommended bibliographic citation is: Geographic Distance on dCode.fr [online website], retrieved on 2025-04-16,