Distance Matrix Calculator
by Bosau Digital L.L.C.
A full distance & travel-time matrix between many addresses, inside Excel.
Distance Matrix Calculator builds a complete distance and travel time matrix between many addresses, powered by Google Maps. Point it at your From addresses (across the top) and your To addresses (down the side), click Calculate, and every cell of the grid is filled with the route between its column and row - with an optional green-to-red heatmap.
What you need to use it
- A Distance Matrix Calculator license key, a one-time purchase from pythonandvba.com. The add-in is free to install from the store; the license is sold and managed on our website.
- Your own Google Maps Platform API key, with the Maps JavaScript API and Routes API enabled. You bring your own key, so you stay in control of your Google usage and billing.
Features
- Full matrix in one click: every From address against every To address.
- Works on any sheet layout: pick the From row and the To rows with two range pickers; a live preview shows exactly where results will go.
- To addresses can span several columns (street | city | zip) - they are joined into one address per row.
- Each cell can show distance, travel time, or both. Miles or kilometers, minutes or hours.
- Travel modes: driving, walking, bicycling, public transit, and two-wheeler, with optional traffic-aware driving.
- Green-to-red heatmap (per column or whole matrix), classic matrix styling, one-click toggle.
- Built-in cost savers: same-address cells are free, duplicate routes are fetched once, and "skip existing" resumes a matrix without re-billing finished cells. Large runs ask for confirmation first.
- Failed cells show N/A with a comment explaining why, plus one-click jump to the first error.
- Light and dark themes.
Privacy. Your addresses are sent only to Google Maps to perform the calculation. The add-in stores nothing on its own servers; your license key and Google API key are saved only in your own Office user storage.
Works in Excel on Windows, Mac, and the web (Microsoft 365 or Office 2021 and later). Made by Sven Bosau (pythonandvba.com), published by Bosau Digital LLC.
App capabilities
- Can read and make changes to your document
- Can send data over the Internet