What this calculator tells you
Before a road trip or a long commute, it helps to know roughly what you'll spend at the pump. This calculator takes three things you can find easily, the distance, your car's fuel efficiency and the price of fuel, and gives you the fuel cost for the trip, how much fuel you'll need, and the cost per mile or kilometer. If friends or family are riding along, it also splits the cost evenly between everyone.
How to use it
- Pick your currency and units. Choose miles and US gallons, km and liters, or miles and liters (UK). Your choice is remembered on every calculator on this site.
- Enter the one-way distance. A route planner such as Google Maps shows it. Tick Round trip if you're coming back the same way.
- Enter your fuel efficiency. Use your own measured figure if you have one (our fuel efficiency calculator works it out from a tank of fuel). Otherwise use the official highway figure for long trips or the combined figure for mixed driving.
- Enter the fuel price per gallon or per liter. If prices vary along your route, use an average.
- Enter how many people are sharing the cost, then press Calculate.
The formula
The calculator converts everything to the same units, then works out:
- Fuel needed = distance ÷ fuel efficiency (for MPG or km/L), or distance × L/100km ÷ 100
- Trip cost = fuel needed × fuel price
- Cost per person = trip cost ÷ number of people
Worked examples
A US road trip
You're driving 420 miles each way in a car that gets 28 mpg on the highway, and gas costs $3.40 a gallon.
- One way: 420 ÷ 28 = 15 gallons, and 15 × $3.40 = $51.00.
- Round trip: 840 miles, 30 gallons, $102.00.
- Split between three people: $102.00 ÷ 3 = $34.00 each.
A trip in Europe
You're driving 350 km in a car that uses 6.5 L/100km, and petrol costs €1.75 a liter. Fuel needed is 350 × 6.5 ÷ 100 = 22.75 liters, so the trip costs 22.75 × €1.75 = €39.81, or about 11.4 cents per kilometer.
How to make the estimate more accurate
- Use the right efficiency figure. Highway driving at a steady speed is usually more efficient than city driving, but fuel use climbs quickly at high speed. According to the US Department of Energy, gas mileage usually drops quickly above 50 mph.
- Account for the load. A full car, a roof box or a trailer all raise fuel use. The Department of Energy estimates a roof-top cargo box can cut fuel economy by 6% to 17% on the highway and 10% to 25% at 65 to 75 mph.
- Add a buffer. Detours, traffic and looking for parking add distance. Adding 5% to 10% to the distance gives a safer budget.
- Check fuel prices on your route. Prices can differ a lot between regions, and between motorway or highway service stations and stations in town.
Splitting fuel costs fairly
Splitting the fuel cost evenly is the simplest fair approach for a shared trip. Bear in mind that fuel is only part of what a car costs to run. Tires, servicing, insurance and depreciation also add up with every mile, which is why official mileage allowances such as the IRS standard mileage rate in the US are much higher per mile than the fuel cost alone. If one person is lending their car for a long trip, it's reasonable to add something on top of the fuel.
Frequently asked questions
Does this include tolls or parking?
No. It only covers fuel. Add tolls, parking and charging or ferry fees separately.
Should I use city or highway MPG for a road trip?
For a trip that's mostly on highways or motorways, use the highway figure. For trips through towns, use the combined figure. Your own measured figure from a full tank is best of all.
Why is my cost per mile so low compared with mileage allowances?
Mileage allowances cover the full cost of owning and running a car, not just fuel. This calculator only counts fuel.
Can I use it for an electric car?
Not directly, because it works in fuel. Use our EV vs gas calculator, which works out electricity costs per mile or kilometer.