How to calculate the fuel cost of a road trip
Trip fuel cost = distance ÷ MPG × price per gallon. Worked examples in miles and kilometers, plus how to make the estimate realistic.

A 480-mile drive in a car that does 27.4 MPG needs 480 ÷ 27.4 = 17.5 gallons. With gas at $3.45, that's about $60 each way. In short: divide the distance by your MPG, then multiply by the price per gallon.
Or type the distance, your MPG and the price into the gas calculator for the answer straight away.
The formula in miles
Fuel cost = (miles ÷ MPG) × price per gallon
Using the numbers above: 480 ÷ 27.4 = 17.52 gallons, and 17.52 × $3.45 = $60.44. For the return leg the total is about $121.
The formula in kilometers
Fuel cost = (km × l/100 km ÷ 100) × price per liter
A 650 km drive at 6.8 l/100 km uses 650 × 6.8 ÷ 100 = 44.2 liters. At €1.72 a liter, that's €76.
Make the estimate realistic
The arithmetic is easy. The inputs are where estimates go wrong.
Use your measured consumption. Official figures come from a lab cycle and are usually optimistic. If you log your fill-ups you already know your real MPG (how to calculate it). Long highway trips often come out a little better than your average and mountain routes a little worse.
Use the price on the route. Fuel can cost noticeably more at highway service areas than in the towns nearby, and prices differ between regions and countries. If you cross a border, check both sides.
Add a buffer. Detours, traffic and air conditioning add up. Ten percent on top is a sensible margin for budgeting.

Splitting the cost
When friends share a car, divide the fuel total by the number of people. Some groups also add a share of the car's other running costs, since tires and servicing wear with every mile. The cost per mile guide shows how to work that figure out.
Checking it after the trip
An estimate is a guess. After the trip, compare it with what you actually spent. Fuelio's Trip Log records each trip, by GPS or entered by hand, and gives it a cost based on your average fuel cost per mile or kilometer from your fill-ups (or a fixed rate if you prefer). On iPhone you can also follow a trip on the lock screen while you drive.
Before you leave, Fuelio can plan your route*. It shows gas stations and their prices along the way, estimates the fuel and cost for the trip from your vehicle's data, and suggests stops that fit your car's range. Fuelio also has a built-in trip cost calculator: enter the distance and it can fill in your car's average or last fuel economy and fuel price, or you can type your own numbers.
If you want to spend less on the fuel itself, see how to find cheaper gas.
* Part of Fuelio Premium.
Estimate the fuel cost of a trip
- Get the distance. Look up the route length in a maps app. Double it for a round trip.
- Use your real fuel economy. Take the MPG or l/100 km you have measured over recent tanks, not the brochure figure.
- Work out the fuel needed. Divide miles by MPG to get gallons, or multiply kilometers by l/100 km and divide by 100 to get liters.
- Multiply by the price. Multiply the fuel needed by the price per gallon or liter along your route, then add a small buffer.
Questions about this
Does a roof box or a full car change the estimate?
Yes. Extra weight and especially roof boxes and bike racks increase consumption at highway speeds. If you have a past trip with the same load, use the consumption from that trip.
Should I use the gas price at home or on the route?
Use the price where you will actually fill up. Highway service stations are often more expensive than towns a few minutes off the road, so planning stops can lower the real cost.
Learn more: Trip Log


