Turn address pairs into road miles in Excel

Enter two addresses per row and fill down to get road miles for every trip. Need drive time? Use ROUTE.TIME with the same addresses.

Get RouteMetrics for Excel100 free searches · No time limit
Trip mileage.xlsx
C2ƒx=ROUTE.DISTANCE(A2,B2)
A B C
1 Origin Destination Miles
2 30 Memorial Dr, Avon 777 Brockton Ave, Abington 5.55
3 250 Hartford Ave, Bellingham 30 Memorial Dr, Avon 39.53
4 700 Oak St, Brockton 250 Hartford Ave, Bellingham 37.79
5 66-4 Parkhurst Rd, Chelmsford 700 Oak St, Brockton 49.42
Trip mileage

Drive times, directions and truck mileage

Use the same address columns to calculate minutes, get directions or split truck miles by state.

Smart autocomplete guides every argument as you type.
Full turn-by-turn directions, spilled down the sheet from one cell.
Traffic-aware drive times and transit schedules, by departure time.
Truck miles split by state — a column per jurisdiction, filled down your trip log for IFTA.
Or one ROUTE.IFTA formula over your whole quarter — every jurisdiction, totalled.
Ask for a route in ChatGPT. RouteMetrics returns road miles and drive time in the conversation.

Eight formulas, one workbook

Everything you need to turn a column of addresses into a route plan.

ROUTE.DISTANCE

Trip distance, miles or km

Real road distance between two addresses, not as-the-crow-flies — driving, walking, bicycling, or transit. Fills down across thousands of rows.

ROUTE.TIME

Trip duration in minutes

How long it actually takes to get there. Pass a departure time for traffic-aware drive times and transit schedules. Great for delivery routes, mileage reports, territory planning.

ROUTE.DIRECTIONS

Turn-by-turn steps

A spilled column of instructions with per-step distances, in any travel mode. One cell, fills the rows below with each step of the route.

ROUTE.URL

Clickable Google Maps link

Get a sharable Google Maps URL for any A → B trip in any mode. Free — doesn't consume a search.

Four more, for trucking

Truck-legal routing for your rig, per-state miles for IFTA, toll costs and legality checks — on the Trucking plan.

ROUTE.STATEMILES

Miles driven in one state

Truck miles a trip drives in a given state or province. Returns a single number, so you can put a column per state and fill it down your whole trip list.

ROUTE.IFTA

Miles by state, every trip

Point it at your From and To columns and it spills a table of every jurisdiction you drove and the total miles in each — a quarter's IFTA mileage in one formula.

ROUTE.TOLLS

Toll cost for a lane

Estimated tolls for a lane, taking your truck's weight and axle count into account where supported.

ROUTE.RESTRICTIONS

Can this truck run it?

“OK”, or what the only available route violates — a low bridge, a posted weight limit, a hazmat prohibition. The mileage functions still return a number for a lane your rig can't legally run; this is what says so.

Set your truck once

Gross weight, height, width, length, axles and any hazmat class go in the task pane and save into the workbook, so every truck formula in the file plans for the rig you actually run — not a generic truck. Individual rows can override it for an oversize or placarded load, and multi-stop lanes are counted through their pickups and drops, which matters for IFTA because a detour puts you in states the direct route never enters.

See the free IFTA mileage worksheet →

No API key. No macros. No cloud bill.

Most ways of getting road distances into Excel ask you to become a Google Cloud customer first. This one doesn’t.

Nothing to set up

No Google Cloud project, no API key to generate, no credit card on file with a mapping provider. Install from Microsoft AppSource, sign in with your Microsoft account, and type a formula. If a tool needs a screen-share to get working, that setup cost is real.

One bill, not two

Pay once for the tool and again per lookup to Google, and your real cost depends on a meter you have to watch. RouteMetrics is a single price with the routing included, and a hard cap on our side so a runaway fill can’t produce a surprise invoice.

No macros to enable

This is a sandboxed Office add-in, not a macro-enabled workbook. Nothing asks you to click “Enable Content”. That matters practically: Office blocks VBA macros from downloaded files by default, plenty of IT departments block them outright, and a macro workbook simply cannot run in Excel for the web.

Works everywhere Excel does

Windows, Mac, and the browser — same formulas, same account, same searches. Because there are no macros, the web version isn’t a cut-down copy; it’s the same add-in.

Real formulas, not a Calculate button

=ROUTE.DISTANCE(A2,B2) is a formula like any other. It fills down, it recalculates, it works inside IF and SUM. You aren’t pressing a button and waiting for a batch to finish.

Buy it the way that suits you

100 free searches to start, with no time limit. Choose a monthly plan or a one-time credit pack for standard routing. Trucking features require the Trucking plan after the trial.

Why no API key matters →

Now works inside ChatGPT and Claude too

Not in Excel? Ask your AI assistant for road miles, drive times, the best order for your stops, truck miles by state, tolls and truck restrictions. Add RouteMetrics with one address and a Google or Microsoft sign-in. No API key, nothing to install, and the same account and searches as the Excel add-in.

Built for fleets, ops teams, and anyone running mileage reports

Survives reopening

Cell values persist when you reopen the workbook. No surprise API charges from re-calculating yesterday's spreadsheet.

Microsoft sign-in

Single sign-on with your existing M365 account. No new passwords. Works on Excel for Mac, Windows, and the web.

Real billing, no surprises

Clear monthly quotas, top-up packs that never expire, self-serve cancellation. Billing handled by Stripe.

Powered by HERE · Payments via Stripe · Microsoft sign-in

Who built this

RouteMetrics is built and published by Adam Steinfurth, CPA, the spreadsheet educator behind Prolific Oaktree on YouTube and SheetsHelp, and the instructor of DataCamp's Conditional Formatting in Google Sheets course.

He's spent years teaching people to get more out of Excel and Google Sheets. RouteMetrics is that same practical, formula-first approach applied to routing — real road distances, drive times, and directions, right where your data already lives.

The accounting side shows up in the parts that touch money. The mileage templates follow the IRS business rate and handle split-rate years — 2026 changed on July 1, so the amount column picks its rate from each trip's date rather than pricing the whole year at one number. The IFTA worksheet is built against the actual IFTA-101 schedule, item for item and column for column.

Simple pricing. No surprises.

Standard, Trucking, and Pro subscriptions, plus a one-time credit pack for occasional users.