Skip to content

Fuel Cost Calculator

Estimate the fuel needed and total cost of a trip from distance, fuel economy, and price per gallon.

The Fuel Cost Calculator estimates how much fuel a journey will consume and what that fuel will cost, from three inputs: distance, your vehicle's fuel economy, and the current price per gallon. Fuel is usually the largest variable cost of driving, and it is the one people most often guess at when budgeting a road trip, comparing a drive against a flight, or working out a fair share for a carpool. This page sets out the formula, explains why real-world economy differs from the sticker rating, and lists the costs this estimate deliberately leaves out.

miles
MPG

Your vehicle's miles-per-gallon rating.

$per gallon

Something looks wrong? Report an issue with this calculator

How to use this calculator

  1. Enter the one-way or round-trip distance in miles.
  2. Enter your vehicle's MPG (check your dashboard average or the EPA rating).
  3. Enter the current fuel price per gallon.

The formula

Fuel = Distance ÷ MPG Cost = Fuel × Price per gallon
Distance
Total miles driven
MPG
Miles per gallon your vehicle achieves

How it works

Dividing distance by fuel economy gives gallons consumed; multiplying by price gives cost.

Real-world MPG varies with speed, terrain, load, and temperature — using your own measured average beats the sticker rating.

Worked example

A 350-mile trip in a car rated 32 MPG with fuel at $3.60/gallon.

  1. 1350 ÷ 32 = 10.94 gallons
  2. 210.94 × 3.60 = 39.38

About 10.9 gallons and $39.38 for the trip.

The two-step calculation

First, gallons needed equals distance divided by miles per gallon. A 350-mile trip at 32 MPG needs 350 ÷ 32 = 10.94 gallons.

Second, cost equals gallons multiplied by the price per gallon: 10.94 × $3.60 = $39.38. Dividing price by MPG gives cost per mile — here about 11.3 cents — which is the most useful figure for comparing vehicles or routes.

Why real MPG differs from the rating

Published economy figures come from standardised test cycles. Actual consumption depends on speed, acceleration style, terrain, load, tyre pressure, air conditioning, and cold weather, and highway cruising at 75 mph can use noticeably more fuel than at 60 mph.

Measure your own average for a far better estimate: fill the tank, reset the trip odometer, drive normally, then refill and divide miles driven by gallons added. Repeat over a few tanks for a stable figure.

What the estimate excludes

This is fuel only. Tolls, parking, ferries, and congestion charges can rival fuel on some routes, and vehicle depreciation, tyres, and maintenance add a real per-mile cost that fuel alone understates.

For round trips, enter the total distance rather than the one-way figure. For a carpool, divide the total cost by the number of travellers rather than by the number of drivers.

Fuel economy units and how to convert them

Miles per gallon, kilometres per litre, and litres per 100 km measure the same thing in different directions. MPG and km/L rise as efficiency improves; L/100 km falls.

US and imperial gallons differ — an imperial gallon is about 1.2 US gallons — so a UK MPG figure is roughly 20% higher than a US one for the same car.

Enter figures in the units the calculator asks for. A silent unit mismatch is the most common cause of a wildly wrong trip cost.

Why real-world economy differs from the rating

Official figures come from standardised tests. Real driving includes cold starts, traffic, hills, roof boxes, air conditioning, and tyre pressure, all of which cost fuel.

Speed matters most on long trips: consumption rises sharply above roughly 110 km/h, so a slightly slower motorway cruise can cut cost by ten percent or more.

Track your own economy over several full tanks — distance divided by fuel added — and use that figure here rather than the brochure number.

Costs beyond fuel

Tolls, parking, and congestion charges frequently exceed the fuel cost on urban journeys and should be added when comparing routes or transport modes.

Wear-based costs — tyres, servicing, depreciation — are real but not visible at the pump. A common rule is to add a per-mile allowance when comparing driving with rail or flying.

For electric vehicles, replace the fuel price with a per-kWh rate and the economy figure with miles or kilometres per kWh; the arithmetic is unchanged.

Common mistakes

Mixing units — entering litres with a price per gallon, or kilometres with an MPG figure.

Using a one-way distance for a return trip, which halves the true cost.

Using the manufacturer's economy figure for a fully loaded car on a hilly route, which understates consumption significantly.

Practical uses

Comparing driving with train or air travel on total cost, not just ticket price. Splitting costs fairly among passengers on a shared trip.

Claiming mileage expenses, where knowing the real fuel cost tells you whether the allowance covers it.

Deciding whether a detour to cheaper fuel is worth it: multiply the price difference by the tank size and compare with the fuel used getting there.

Glossary and verification

Fuel economy: distance per unit of fuel. Consumption: fuel per unit of distance. Trip cost: fuel used multiplied by unit price.

Verify by dividing the distance by the economy to get the fuel volume, then multiplying by the price. The two-step result should match the total shown.

Sanity check against experience: if a familiar journey normally costs about a quarter tank, the calculated volume should be close to that.

Driving habits that change the number

Steady speeds, gentle acceleration, and anticipating traffic reduce consumption noticeably. Hard acceleration followed by braking converts fuel directly into brake heat.

Cold starts are disproportionately expensive: the first few kilometres of a journey can use nearly double the fuel of a warm engine, which penalises short trips.

Roof boxes, low tyre pressures, and unnecessary load all add measurable cost over a long trip and are the easiest things to fix before setting off.

Planning refuelling on a long route

Fuel prices vary widely between motorway services and towns a short distance off the route. Planning one stop off-motorway usually saves more than driving slowly to save fuel.

Filling in a cheaper region before crossing into a more expensive one is worth the price difference multiplied by the tank size, less the fuel spent detouring.

Keep a reserve margin: running low to reach a cheaper station is a false economy if it forces an emergency fill at a premium price.

Sharing costs fairly on a group trip

The simplest fair split is total fuel cost divided by the number of occupants including the driver, since everyone benefits equally from the journey.

Where passengers join partway, apportion by distance travelled rather than by head. Calculate the cost per kilometre once and multiply by each person's share.

Adding a wear allowance for the vehicle owner is common on long trips and is best agreed before departure rather than at the destination.

Comparing driving with other transport

For one traveller, rail or coach is often cheaper once tolls and parking are included. For three or four, driving usually wins on cost even before convenience.

Include the cost of getting to and from stations at both ends, which is regularly omitted and can reverse the comparison for short intercity trips.

Time has value too. A journey that costs less but takes three hours longer is not automatically the better choice.

Fuel budgeting over a year

Multiply your typical weekly distance by the cost per kilometre to get a weekly fuel budget, then scale to a year for a realistic running-cost figure.

Fuel prices move, so recalculate at least seasonally rather than relying on a figure set at the start of the year.

Comparing annual fuel cost across two vehicles is often the clearest way to see whether a more efficient car justifies its higher purchase price.

What changes real-world consumption

Official figures are measured under controlled conditions, and real consumption is typically ten to twenty percent worse depending on driving style and load.

Speed matters disproportionately: aerodynamic drag rises with the square of speed, so motorway cruising at higher speeds costs far more fuel per mile.

Cold starts, short trips, roof boxes, underinflated tyres, and air conditioning each add a measurable amount to consumption.

Tracking your own litres per full tank against the distance covered gives a far better figure than any published number.

Comparing journeys and vehicles

Cost per mile is the right unit for comparing routes, while cost per year suits comparing vehicles against your actual mileage.

A more efficient vehicle only repays its premium above a certain annual mileage, which the same calculation makes explicit.

Tolls, parking, and the wear cost per mile belong alongside fuel when comparing driving with rail or air.

For electric vehicles, substitute the charging tariff per unit and the consumption per mile to compare on the same basis.

When this calculator is useful

  • Road trip budgeting
  • Commute cost estimates
  • Comparing vehicles
  • Splitting costs on shared drives

Frequently asked questions

How do I find my real MPG?

Fill the tank, reset the trip odometer, drive, then refill: MPG = miles driven ÷ gallons to refill.

Can I use kilometers and litres?

This version uses US units. Convert first: 100 km ≈ 62.14 miles; 1 US gallon ≈ 3.785 litres.

How do I measure my real MPG?

Fill the tank, reset the trip odometer, drive, then refill: MPG equals miles driven divided by the gallons needed to refill.

Can I use kilometres and litres?

This version uses US units. Convert first — 100 km is about 62.14 miles and 1 US gallon is about 3.785 litres.

Should I enter one-way or round-trip distance?

Enter whichever you want costed. For a return journey, double the one-way distance.

Does it work for electric vehicles?

Not directly. For an EV, use kWh per 100 miles and your electricity rate; the structure of the calculation is the same.

Why is my actual cost higher than the estimate?

Usually because real-world economy is below the rated figure, or fuel prices along the route are higher than the price you entered.

What is cost per mile useful for?

It lets you compare vehicles and routes directly and makes it easy to price any distance without recalculating from scratch.

Does driving slower really save fuel?

Generally yes above about 50 mph, because aerodynamic drag rises sharply with speed. Steady speeds and gentle acceleration help most.

How do I calculate fuel cost for a trip?

Divide distance by fuel economy to get the fuel needed, then multiply by the price per unit.

Why does my car use more fuel than its official rating?

Official ratings come from standardised tests. Traffic, speed, load, weather, and tyre pressure all raise real consumption.

Are US and UK gallons the same?

No. An imperial gallon is about 20% larger, so UK MPG figures look higher for the same efficiency.

Should I include tolls and parking?

Yes, when comparing routes or transport options — on city journeys they often exceed the fuel cost.

Can I use this for an electric car?

Yes. Use a per-kWh price and your vehicle's distance per kWh in place of fuel price and economy.

Why are short trips so expensive per kilometre?

A cold engine can use close to double the fuel until it reaches operating temperature.

Is detouring for cheaper fuel worth it?

Compare the price difference times your tank size against the fuel and time spent on the detour.

How should passengers split fuel costs?

Divide the total by everyone travelling, including the driver, or apportion by distance when people join partway.

Is driving cheaper than the train?

Usually for three or more travellers; for one it is often more expensive once tolls and parking are counted.

How do I budget fuel for a year?

Multiply your weekly distance by the cost per kilometre, scale to a year, and revisit the figure as prices move.

Why is my consumption worse than the official figure?

Official tests are controlled; real driving typically costs ten to twenty percent more depending on speed, load, and trip length.

How do I compare a car with an electric one?

Convert both to cost per mile using your real consumption and your actual fuel or electricity tariff.

Last reviewed 2026-08-01. Formulas and assumptions are stated above; results are estimates for information and education. Report an error.