Fuel cost calculator

Trip fuel cost is the fuel the car burns over the distance times the price of that fuel. At 6.5 L/100 km, a 700 km round trip uses 45.5 L, which costs 84.18 at 1.85 per liter. Enter your own figures in any units to see the cost per trip, per person and per kilometer or mile.

Trip fuel cost—

Calculated in your browser. Nothing you enter is sent or stored.

From distance to money in three steps

Any fuel cost estimate needs three facts: how far you will drive, how much fuel the car uses over a given distance, and what that fuel costs. The calculator asks for each one with its unit:

  • Distance in km or miles. Tick Round trip (double the distance) when you will drive back the same way.
  • Fuel economy as L/100 km (used in Europe, Canada, Australia and much of the world), mpg (US), mpg (UK) or km/L (common in parts of Asia and Latin America).
  • Fuel price per liter, per US gallon or per imperial gallon, in whatever currency you pay.

Inside, everything is turned into kilometers, kilometers per liter and price per liter. The distance divided by km/L gives the liters needed; liters times price per liter gives the cost. The result shows the fuel in liters, US gallons and imperial gallons, the cost of the trip, the share for each of the People sharing the cost, and the cost per kilometer or mile.

The trip cost formula

fuel (L) = distance (km) × L/100 km ÷ 100fuel (L) = distance (km) ÷ km/Lfuel (US gal) = distance (mi) ÷ mpg (US)cost = fuel × price per unit of fuelcost per person = cost ÷ people

All unit conversions are exact: a mile is 1.609344 km, a US gallon is 3.785411784 L and an imperial gallon is 4.54609 L. The only uncertain number is the fuel economy, which is an estimate before the trip.

Worked examples

A 350 km drive there and back, shared by two
  1. Round trip: 350 × 2 = 700 km.
  2. Fuel: 700 × 6.5 ÷ 100 = 45.5 L.
  3. Cost: 45.5 × 1.85 = 84.175, shown as 84.18.
  4. Per person: 84.175 ÷ 2 = 42.09. Per km: 84.175 ÷ 700 = 0.12.
45.5 L of fuel, 84.18 in total, 42.09 each, about 0.12 per km
240 miles in a car rated at 28 mpg (US), fuel at 3.40 per US gallon
  1. Fuel: 240 ÷ 28 = 8.571 US gallons.
  2. Cost: 8.571 × 3.40 = 29.14.
  3. Per mile: 29.14 ÷ 240 = 0.121.
8.571 US gallons, costing 29.14, about 0.121 per mile
The same 45 mpg read as UK or as US gallons
  1. 45 mpg (UK) means 45 miles per imperial gallon. 180 ÷ 45 = 4 imperial gallons, or 18.18 L, which costs 26.37 at 1.45 per liter.
  2. Read as 45 mpg (US), the same 180 miles need 4 US gallons, or 15.14 L, costing 21.96.
  3. Picking the wrong gallon understates this trip by 4.41, about 17%.
180 miles at 1.45 per liter: 26.37 with UK mpg, 21.96 if it were US mpg
45 mpg (UK)6.277 L/100 km45 mpg (US)5.227 L/100 km
The same mpg figure means different fuel consumption: 45 mpg (UK) is 6.28 L/100 km, 45 mpg (US) is 5.23 L/100 km

Official ratings versus the road

The economy printed in a brochure or on a window label comes from a standardized laboratory test. That makes it good for comparing one model with another, but both the US fueleconomy.gov site and Natural Resources Canada state plainly that your own consumption will differ. Driving style, speed, traffic, weather, air conditioning, the car’s condition and even the fuel blend all move it.

For a planning estimate, the most reliable figure is the one you have measured on your own car with a full-tank check (see the gas mileage calculator). If you only have the official rating, it helps to see how sensitive the cost is to it: the 700 km round trip above costs 84.18 at 6.5 L/100 km, but 97.13 at 7.5 L/100 km, a gap of nearly 13 for one extra liter per 100 km.

Where trip estimates go wrong

  • Mixing US and UK gallons. Both are called gallons, but the imperial gallon is about 20% bigger. In the UK, mpg figures use the imperial gallon even though fuel is sold by the liter; US figures use the US gallon. The third example shows the effect.
  • Treating L/100 km like mpg. In L/100 km a lower number is better; in mpg and km/L a higher number is better. Entering a consumption figure in the wrong unit box produces a nonsense cost.
  • Forgetting the way back. A one-way distance from a map app is often what people type. The round-trip box doubles it.
  • Using highway economy for a city trip, or the reverse. Many labels show separate city, highway and combined figures. Use the one that matches the drive, or your own measured figure.
  • Leaving out tolls and parking. The calculator covers fuel only; tolls, parking, and wear on the car are separate costs.

Electric cars are rated in kWh per 100 km or miles per kWh rather than by fuel volume, so this calculator does not fit them. The same logic works by hand: kWh per 100 km × distance ÷ 100 gives the energy, and energy × price per kWh gives the cost.

Questions people ask

How do I share fuel fairly when someone rides only part of the way?

Use the cost per kilometer or mile. In the first example it is about 0.12 per km, so a 300 km stretch costs about 36 (19.5 L at 1.85). Split that stretch between everyone in the car for it, and the rest between those who drove the whole way.

Does a heavier load or a roof box change the result?

Yes, extra weight and drag usually raise consumption, but by how much depends on the car and the speed. If you regularly drive loaded, measure the economy on a loaded trip and use that figure here.

Sources

  1. Your Mileage Will Vary, U.S. Department of Energy and U.S. Environmental Protection Agency (fueleconomy.gov).
  2. Understanding fuel consumption ratings, Natural Resources Canada.
  3. Weights and Measures Act 1985, Schedule 1 (definition of the gallon), legislation.gov.uk (The National Archives).
  4. Guide for the Use of the International System of Units (SI), NIST SP 811, Appendix B, National Institute of Standards and Technology.