- Help
- Distance matrix guide
How to get the driving distance between every pair of places
The road distance and drive time from each of your origins to each of your destinations, in six steps. You add two lists, or one, as addresses or coordinates, choose how to measure, see the first pairs on a map, and download every pair in one file.
Add your lists
Drop a spreadsheet of origins and one of destinations on the upload boxes, or paste the rows: Excel, CSV or TSV, up to 1 GB each. To measure every place on one list to every other, choose “Within one list” and add that list alone.
- Origins are where trips start, such as depots or offices; destinations are where they end, such as stores, customers or job sites.
- Both lists in one Excel file? Drop it in both boxes and pick the sheet in each.
- Up to 25 places? The free distance matrix calculator measures them in a straight line, with no account.
Choose your columns
For each list, tell Geloky whether it holds addresses or coordinates, and check the columns it matched. Most files need no change.
- Addresses can be in one column, or split into street, city, state and zip.
- A name column is optional: names come back on every pair. Without one, a place goes by its address.
Choose how to measure and preview
Measure by car, on foot or in a straight line, in miles or kilometers. The first 5 origins and the first 5 destinations, 25 pairs, are measured for free and drawn on a map; they are measured again when you change a setting.
- By car and on foot, each pair gets the fastest route’s distance and its usual travel time, without live traffic.
- A straight line ignores roads and has no travel time, and costs less: only the places count.
- A place that can’t be found is named on the preview: fix its address, or give its coordinates.
| From ↓ To → | Georgetown | Navy Yard |
|---|---|---|
| Springfield | 12.6 mi27 min | 13.2 mi29 min |
| Landover | 15.6 mi40 min | 10.7 mi24 min |
Choose the file layout
Pick how the distances come back. The price is the same for both.
- A row for each pair: origin, destination, road distance, travel time and straight line, ready to sort, filter and pivot.
- A grid: origins down, destinations across, like a mileage chart. In Excel the distances and the times are two sheets; a CSV holds the distance grid, then the time grid under it.
Pay, or use your plan
Create an account or log in, then pay for the file or use your plan’s rows. Each place counts as 1 row, and each pair measured by road 1 row more: $1 per 1,000 rows, with a $5 minimum.
- With the free plan, the first 100 rows every day are free: 9 origins and 9 destinations by road.
- In a straight line only the places count: 20 depots and 500 stores are 520 rows, $5.
- On a monthly plan, a file uses your plan’s rows instead of a payment.
Download the results
Every pair is measured in the background, so you can close the tab; we email you when the file is ready. Download it from your dashboard as Excel or CSV.
- Excel also gets a Places sheet: every place with its latitude, longitude and the address found.
- A dash means that pair could not be measured by road, or one of its places was not found.
| Origin | Destination | Road (mi) | Drive (min) |
|---|---|---|---|
| Springfield | Georgetown | 12.61 | 26.7 |
| Springfield | Navy Yard | 13.17 | 28.8 |
| Springfield | Columbia Heights | 15.30 | 34.1 |
From the fastest route by road between the two places, at the usual speed of each road, without live traffic. On foot, the walking time of the shortest walking route.
One-way streets, highway exits and turns make some drives longer one way than the other, so each direction is measured on its own. A list of 100 places measured within itself gets both directions: 9,900 pairs.
That pair could not be measured by road: there is no road between its places, such as to an island without a car ferry, or one of its places was not found.
Up to 1,000,000, which is what one Excel sheet holds with a row for each pair, and up to 10,000 destinations.
Yes. The distance matrix API takes up to 500 places and 2,500 pairs by road a call, as addresses or coordinates, and answers with grids of distances and times: $0.001 per pair by road, plus $0.001 per address. AI assistants such as Claude and ChatGPT get the same matrix from the Geloky MCP server.
Yes. The free distance matrix calculator measures up to 25 places in a straight line, with no account, and downloads a CSV.
Your first 100 rows are free. Every day.
Free plan, no credit card · See your results on a map before you pay