How to Calculate the Fuel Cost of a Trip

Quick answer

Trip fuel cost is the distance divided by your fuel efficiency, multiplied by the fuel price. Here is the formula, a worked example, and how to handle both MPG and litres per 100km.

By · Published 2026-07-25 · Updated 2026-10-03 · 1086 words · about 5 minute read

A fuel pump, a winding road and subtle coin motifs

Working out what a car journey will cost in fuel is genuinely useful, for budgeting a road trip, deciding whether to drive or take the train, or splitting costs fairly with passengers. The calculation needs just three numbers: the distance, the vehicle's fuel efficiency, and the price of fuel. The Fuel Cost Calculator does it in your browser, and this article explains the formula, the unit confusion that trips people up, and how to use the result.

The maths is simple once the pieces are lined up, but fuel efficiency in particular is expressed in different, sometimes opposite, ways around the world, which is where mistakes creep in.

The three numbers you need

Trip fuel cost comes from combining distance, efficiency and price. First, work out how much fuel the trip uses, which depends on the distance and the vehicle's efficiency. Then multiply the fuel used by the price per unit of fuel. That is the whole calculation: fuel used times price equals cost. The only slightly involved part is the first step, because how you calculate fuel used depends on how your vehicle's efficiency is expressed, and there are two opposite conventions.

Three icons in sequence: distance, fuel price and vehicle efficiency
You need three numbers: distance, fuel price, and your vehicle's efficiency.

The efficiency confusion: MPG versus L/100km

Fuel efficiency is measured in two fundamentally different ways, and they run in opposite directions. Miles per gallon (MPG), used in the US and UK, measures distance per unit of fuel, so a bigger number means a more efficient car. Litres per 100 kilometres (L/100km), used in much of the rest of the world, measures fuel per fixed distance, so a smaller number means a more efficient car. Mixing these up leads to nonsense, and even converting between them is not a simple multiplication because they are inverses of each other. To add a further wrinkle, US and UK gallons are different sizes, so a US MPG and a UK MPG are not the same.

Bigger or smaller = better? It depends

With MPG, higher is more efficient. With L/100km, lower is more efficient. They measure the opposite thing. Always check which your figure uses before comparing two vehicles, or you may pick the thirstier one by mistake.

Handling the units correctly

Because of the two efficiency conventions and the differing gallon sizes, the safest approach is to be consistent about units throughout the calculation and let a tool do the conversions. Make sure your distance, efficiency and price all use a matching unit system, miles with MPG and price per gallon, or kilometres with L/100km and price per litre, or convert them so they do. A unit converter handles the distance and volume conversions, and a good fuel calculator lets you enter efficiency in whichever form your car reports it, doing the internal conversion so you do not have to.

Putting the result to use

Once you have the trip cost, several practical uses follow:

A car on a highway with a fuel gauge and a trail of cost markers
A more efficient vehicle covers the same distance for less fuel cost.
  • Splitting costs: divide the fuel cost among passengers for a fair share of a shared journey.
  • Comparing options: weigh the driving cost against train, bus or flight fares.
  • Budgeting a trip: add up the fuel for each leg of a longer journey.
  • Comparing vehicles: see how much a more efficient car would save over a regular commute.
  • Cost per mile or kilometre: a handy figure for expenses and mileage claims.
Try it: Fuel Cost Calculator

Calculate the fuel cost of any trip from distance, efficiency and fuel price, in metric or imperial units, entirely in your browser.

Fuel cost in context

Fuel cost calculations pair naturally with other everyday tools. When travelling abroad, a currency converter tells you what foreign fuel prices and trip costs mean in your home currency. The same cost-of-something-per-unit-of-time-or-distance thinking underlies a meeting cost calculator, which puts a price on time much as fuel calculations put a price on distance. Both are examples of turning a rate into a total, which is one of the most useful everyday numeric skills.

What real-world efficiency depends on

A fuel cost calculation is only as good as the efficiency figure you feed it, and it is worth knowing that a car's official, advertised fuel economy is usually better than what you achieve in practice. Real-world efficiency depends heavily on how and where you drive. Steady motorway cruising is typically far more efficient than stop-start city traffic, where constant acceleration burns fuel and braking throws away energy. Speed matters too, fuel consumption rises sharply at higher speeds because air resistance grows with the square of velocity, as do a heavy load, a roof rack, under-inflated tyres, cold weather and aggressive acceleration.

A fuel gauge needle near a stack of coins
Halve your efficiency and the fuel cost of the trip doubles.

For an accurate trip estimate, the best efficiency figure to use is your own observed one rather than the manufacturer's number. You can work it out simply by tracking how much fuel you use over a known distance across typical driving, filling the tank, noting the distance to the next fill, and dividing. That real figure, plugged into the calculation, gives a trip cost that reflects how your car actually performs rather than an optimistic laboratory value. If you only have the official figure, it is wise to assume your real-world cost will be somewhat higher and build in a margin, especially for city-heavy journeys. The formula itself never changes, fuel used times price, but feeding it a realistic efficiency is what turns a rough guess into a dependable budget. Understanding what drags efficiency down also hints at how to improve it: smoother driving, correct tyre pressures and a lighter load all cut the fuel a trip actually consumes, and therefore what it costs.

To summarise: the fuel cost of a trip is the fuel used multiplied by the fuel price, where fuel used comes from the distance and the vehicle's efficiency. The main pitfall is the efficiency unit, MPG measures distance per fuel and rewards bigger numbers, while L/100km measures fuel per distance and rewards smaller ones, with US and UK gallons differing on top. Keep your units consistent, let a calculator handle the conversions, and you can budget trips, split costs and compare journeys with confidence, knowing exactly what the drive will cost before you set off.

Frequently asked questions

How do I calculate the fuel cost of a trip?

Work out how much fuel the trip needs, then multiply by the price per unit. In MPG: divide the distance by your miles per gallon to get gallons, then multiply by the price per gallon. The result is your trip fuel cost.

What is the fuel cost formula?

Fuel cost equals distance divided by fuel efficiency, times fuel price. With metric figures: litres used equals distance in km times litres-per-100km divided by 100, then multiply litres by the price per litre.

Can you give a worked example?

For a 300-mile trip at 30 MPG with fuel at 4 dollars a gallon: 300 divided by 30 is 10 gallons, times 4 dollars is 40 dollars for the trip. Halve your MPG and the cost doubles, which shows why efficiency matters.

What is the difference between MPG and litres per 100km?

MPG measures distance per unit of fuel, so higher is better. Litres per 100km measures fuel per fixed distance, so lower is better. They describe the same thing from opposite directions and both can be used in a fuel cost calculation.

How can I lower my trip fuel cost?

Drive smoothly and within the speed limit, keep tyres properly inflated, remove extra weight and roof racks, combine errands into one trip, and compare fuel prices along your route. Small habits add up over a long journey.

Tools mentioned in this article

Continue reading

← More articles · Browse all 117 tools

Pick a theme

Ten hand-tuned palettes.