Auto & Travel
Driving Distance & Time Calculator (with Fuel Cost)
Find the driving distance and travel time between two places anywhere in the world, plus the fuel cost for your car's mpg or L/100 km — using OpenStreetMap road data.
How to use
- 1Enter where you're starting from and where you're going (city, address or landmark).
- 2Enter your car's fuel economy and the fuel price.
- 3See the road distance, driving time and fuel cost.
Frequently asked questions
Does it include traffic?
No — times assume typical free-flowing traffic and speed limits. Add time for rush hour, breaks and roadworks.
Where does the route come from?
OpenStreetMap data, routed with OSRM. Distances are usually within a few percent of commercial map apps.
Can I add stops?
Use our Road Trip Planner for multiple stops, daily driving limits and overnight stays.
Sources
Where the distance and time actually come from
This isn't a straight-line ('as the crow flies') calculation — it sends your two locations to OSRM, an open-source routing engine that runs shortest-path algorithms over OpenStreetMap's actual road network, the same community-maintained map data that powers many apps and services. Because it's routing along real roads with their real speed limits and turn restrictions rather than estimating from coordinates, the distance and time are generally within a few percent of what a commercial map app would show for the same two points — though the specific route chosen (and therefore the exact number) can differ, especially when there are two reasonably similar options.
Worked example: Driving Distance & Time Calculator
A 300-mile trip in a car averaging 30 mpg, with fuel at $3.50 a gallon, needs 300 ÷ 30 = 10 gallons and costs 10 × $3.50 = $35 — the fuel math is deliberately simple multiplication once the routing engine has returned the distance. Switch to metric units and the same logic runs in reverse: a car using 7.8 L/100 km over a 500 km route needs 500 × 7.8 ÷ 100 = 39 litres.
What the driving time doesn't include
The duration OSRM returns assumes free-flowing traffic at each road segment's typical speed — it has no live traffic data, so it won't reflect rush hour, a weekend driving a popular route, or ongoing roadworks. For trips with multiple stops, overnight breaks, or daily driving limits, the Road Trip Planner builds on the same routing data but adds that extra planning layer.
Nothing updates until I ask for the route
The boxes open as Boston, MA to New York, NY, in miles, at 30 miles per gallon and 3.20 per gallon, but the distance stays blank until I press Get distance. Editing either city, or pressing Enter in the destination box, does not refresh an old result by itself; Enter in the destination box does start a new lookup. The driving time is the route's own duration, not distance divided by a speed I chose. Fuel in miles mode is the miles divided by the economy. In kilometres mode the economy box becomes litres per 100 kilometres, the price becomes per litre, and fuel is the kilometres times that figure divided by 100. Cost is fuel times price, shown to two decimals, with the volume to one decimal.
A cleared economy box does not mean the same thing in both units
If I delete the economy while miles are selected, an empty value is treated as 1 mile per gallon. The route still runs, and the fuel bill becomes enormous because every mile is a gallon. In kilometres mode an empty economy is treated as zero, so the fuel volume and the cost both show as nothing, which looks like a free trip rather than a missing number. I retype the economy after switching units, because the number 30 means miles per gallon in one mode and an implausibly thirsty 30 litres per 100 kilometres in the other. The places have to be filled in before the button will run.
Related tools
- Flight Distance, Time & CO₂ Calculator
Calculate the great-circle flight distance between two cities or coordinates, the approximate flight time and the CO₂ per passenger by travel class.
- Commute & Rideshare Cost Calculator
Work out what your commute costs per year by car — fuel, wear and parking — and compare it with rideshare, or estimate a rideshare driver's net earnings per hour.
- Fuel Cost Calculator (Trip Cost)
Work out how much fuel a road trip needs and what it costs — in miles or km, with MPG (US or UK), L/100km or km/L — split between passengers.
- Road Trip Planner (Multi-Stop Route, Days & Fuel)
Plan a road trip with up to 8 stops — distance and driving time for each leg, how many driving days you need at your daily limit, overnight stops, and total fuel cost.
- SEPA Transfer Time & Fee Guide (Instant, Standard, Direct Debit)
How long SEPA transfers take and what they cost in 2026 — SEPA Instant (10 seconds, same price as standard since October 2025), standard credit transfers, direct debits, cut-off times, Verification of Payee and the 36 SEPA countries.
- International Money Transfer Fee Calculator
See the true cost of sending money abroad — the upfront fee plus the hidden exchange-rate markup — and compare your bank with a transfer service to find out how much the recipient really gets.