1. Home
  2. Finance
  3. Fuel Cost Calculator

Fuel Cost Calculator

Trip fuel cost, fuel needed and cost per mile or km, one way or round trip.

Runs in your browser · No upload
miles
mpg (US)
$
people
Round-trip fuel cost
$58.33
16.67 gal of fuel × $3.50 = $58.33
Fuel needed
63.09 L (16.67 US gal)
Cost per mile
$0.117
Total distance
500 miles (804.7 km)
Economy in other units
12.75 km/L · 7.84 L/100km · 30 mpg (US)
For reference only. Real-world fuel economy depends on traffic, speed, air conditioning, load and tyre pressure, and can differ a lot from the rated figure. Tolls and parking are not included.

How to use

  1. Enter the one-way distance in miles or kilometers. Round trip is on by default. Switch it off for a one-way drive.
  2. Enter your fuel economy and pick its unit: mpg (US), mpg (UK), L/100 km or km/L.
  3. Enter the fuel price per US gallon or per liter. The trip cost, fuel needed and cost per mile or km appear right away.
  4. Sharing the drive? Add the number of people to see each person’s share.
  5. The currency starts from your country. If you pick another currency, the amounts you entered are converted at live exchange rates.

How it’s calculated

Item Calculation
Fuel needed total distance ÷ fuel economy (converted to the same units)
Trip cost fuel needed × price per gallon or liter
Cost per mile price per gallon ÷ mpg
L/100 km → km/L 100 ÷ (L/100 km)
mpg (US) → km/L mpg × 1.609344 ÷ 3.785411784
mpg (UK) → km/L mpg × 1.609344 ÷ 4.54609

A mile is exactly 1.609344 km, a US gallon is exactly 3.785411784 liters and an imperial (UK) gallon is exactly 4.54609 liters. That’s why the same car shows a higher mpg figure in the UK than in the US.

Examples

Trip Result
250 miles each way, round trip, 30 mpg, 3.50 a gallon 16.67 gallons, 58.33 in total, about 0.117 a mile
Same trip split between 2 people 29.17 each
400 km one way at 6.5 L/100 km, 1.80 a liter 26 liters, 46.80

A car that gets 25 mpg instead of 30 would use 20 gallons on the same round trip and cost 70.00, about 20% more.

Things to keep in mind

  • Results are estimates. Real-world fuel economy depends on traffic, speed, air conditioning, cargo and tire pressure, and it’s often lower than the rated figure. Your own fill-up records give the most accurate number.
  • Fuel prices vary by region and by station, so use the price where you expect to fill up.
  • Tolls, parking and wear and tear on the car aren’t included.
  • Need to convert miles and kilometers? Try the length converter. Paying for fuel abroad? The currency converter can help.

FAQ

How do I work out my real mpg?

Fill the tank and reset the trip meter. At the next fill-up, divide the miles you drove by the gallons you put in. 360 miles on 12 gallons is 30 mpg.

Is a higher L/100 km better?

No. It’s the fuel used per 100 km, so lower is better. 8 L/100 km equals 12.5 km/L, or about 29.4 mpg (US).

Is anything I enter saved or sent anywhere?

No. Everything is calculated in your browser, and nothing you enter is sent to a server.

Can't find the tool you need?

Tell us what you want to do. We build the most requested tools first.