Skip to content
CornerTools

Fuel Cost Calculator

Work out a trip's fuel cost from the distance, your car's mileage and the fuel price — round trip, split per person, or an electric car's charging cost.

Calculate
Vehicle

Prices are yours: the tool converts no currency.

Fuel needed

7 L

Enter a price to see the cost.

Fuel = 100 km × 7 L/100 km ÷ 100 = 7 L

Idling, traffic and air conditioning are not modelled.

To convert mpg, km/L and L/100 km: Fuel Economy Converter.

Prices a trip from its distance, the vehicle's fuel economy and the price of fuel, in whichever unit the economy is quoted: km/L, L/100 km, US mpg, UK mpg, US gal/100 mi for petrol and diesel; km/kg, kg/100 km for CNG; kWh/100 km, kWh/100 mi, mi/kWh, km/kWh, Wh/km, Wh/mi for an electric car. It doubles a round trip and splits the cost between up to 50 people. Its second mode, Mileage from a fill-up, works out what a car really does from the distance driven and the fuel put back in.

The price is yours, in any currency: the tool shows the currency you choose and converts none. Units follow your region until you change them.

How the cost is worked out

Where economy is a distance per unit of fuel (km/L, mpg, km/kg, mi/kWh), the fuel a trip burns is the distance divided by it. Where it is fuel per distance (L/100 km, kWh/100 km, Wh/km), the fuel is the distance times it, divided by 100 for a figure per 100 km or miles. A distance in the other unit is converted first: a mile is exactly 1.609344 km. The cost is the fuel times the price, rounded to the currency's smallest unit, such as cents; the cost per km or mile keeps one digit more, so a few cents keep their precision.

The price is per the fuel the economy counts: per US gallon for US mpg and gallons per 100 miles, per litre for the rest. UK mpg counts imperial gallons of 4.54609 L, but British pumps sell by the litre, so the tool turns the imperial gallons into litres before pricing them. Changing to a unit priced differently converts a price already typed: 3.50 per US gallon becomes 0.925 per litre.

An electric car reports the energy it takes from its battery. Charging loses some energy on the way, as heat in the charger and the battery, so the energy drawn from the wall, which is what you pay for, is higher than the car shows. The tool adds no loss figure, since it varies with the charger: for the full cost, enter a consumption measured at the charger, or work one out with Mileage from a fill-up from the kWh the charger delivered.

Fuel = distance ÷ economy
Fuel = distance × consumption ÷ 100
Cost = fuel × price
Cost each = cost ÷ people

Examples

A European round trip in L/100 km

Distance 450 km, Fuel economy 6.5 L/100 km, Price per litre € 1.85, Round trip on, People sharing the cost 2: the trip costs € 108.23, € 54.11 each, or € 0.12 per km.

  • Round trip: 2 × 450 km = 900 km
  • Fuel = 900 km × 6.5 L/100 km ÷ 100 = 58.50 L
  • Cost = 58.50 L × € 1.85 = € 108.23
  • Each of 2: € 108.23 ÷ 2 = € 54.11

A US road trip in mpg

Distance 280 mi, Fuel economy 32 US mpg, Price per US gallon $ 3.40: the trip costs $ 29.75, or $ 0.106 per mi.

  • Fuel = 280 mi ÷ 32 US mpg = 8.75 US gal
  • Cost = 8.75 US gal × $ 3.40 = $ 29.75

An electric car in mi/kWh

Distance 200 mi, Efficiency 3.5 mi/kWh, Price per kWh £ 0.30: the trip costs £ 17.14, or £ 0.086 per mi.

  • Energy = 200 mi ÷ 3.5 mi/kWh = 57.14 kWh
  • Cost = 57.14 kWh × £ 0.30 = £ 17.14

Public chargers and home tariffs price a kWh differently: price a trip at the rate you will pay.

Frequently asked questions

US figures count US gallons of 3.785411784 L; British ones count imperial gallons of 4.54609 L, about 20% larger. The same car therefore shows 20% more UK mpg than US mpg: 1 UK mpg is 0.8327 US mpg. Choose the matching unit, or the cost is out by the same 20%.
Fill the tank until the pump clicks off and reset the trip meter. Drive as usual, then fill to the click again: the fuel that goes in is what the car used. Enter the trip distance and that amount in Mileage from a fill-up. Over several tanks, pump-to-pump differences even out.
Consumption times the price per kWh: at 16 kWh/100 km and € 0.30 per kWh, € 0.048 per km before charging losses. Choose Electric, enter the car's consumption and your tariff, and the result shows the cost per km or mile.

See also