Fuel Cost Calculator

Estimate the fuel needed and the cost of a trip from distance, fuel efficiency and fuel price, in km or miles, litres or gallons.

Finance & Business Runs in your browser · no upload

Reviewed 23 November 2026 · Free · No account needed

ExecutionYour browserInput never leaves your tab
File retentionNoneNothing is stored
AccountNot requiredNo sign-up, no paywall
PriceFreeNo trial, no usage cap on the tool itself

How to use

  1. Enter the trip distance and choose kilometres or miles.
  2. Enter your fuel efficiency and choose its unit: L/100 km, km/L, or miles per US or UK gallon.
  3. Enter the fuel price and whether it is per litre, US gallon or UK gallon.
  4. Read the trip cost, fuel needed and cost per kilometre and per mile.

Example

Input: 250 km · 7.5 L/100 km · 2.20 per litre

Output: Fuel 18.75 L · trip cost 41.25 · 0.165 per km

How it works

Your efficiency is converted to litres per kilometre, multiplied by the distance to get litres used, and then priced in whichever fuel unit you choose.

Litres = km × litres per km. L/100 km: ÷ 100. km/L: 1 ÷ value. US mpg: 3.785411784 ÷ (1.609344 × mpg). UK mpg: 4.54609 ÷ (1.609344 × mpg). Cost = litres × price per litre.

Limits and edge cases

  • Real consumption varies with speed, load, traffic, terrain and weather.
  • The fuel price is whatever you enter; nothing is looked up online.
  • It does not include tolls, parking, wear or insurance.
  • For a return trip, enter double the distance.
  • UK gallons are larger than US gallons (4.546 L versus 3.785 L), so the same mpg figure means different fuel use.
  • Distance and efficiency must be greater than zero.
  • A fuel price of zero gives a cost of zero but still shows the litres needed.

Privacy

Everything is calculated locally in your browser. The numbers you enter are never sent to a server or stored.

About this page

Written and reviewed by Toolnexo on 23 November 2026. The limits above describe the published tool, not an idealised version of it. If a result looks wrong or the page is unclear, email [email protected] with the tool URL and what you entered. Corrections are published here.

Related tools

FAQ

Questions about Fuel Cost Calculator

How do I calculate fuel cost for a trip?

Divide the distance by your fuel economy to find the fuel needed, then multiply by the price per unit. This tool handles unit conversions for you, so you can enter distance in miles and economy in L/100 km if that is what you have.

What is the difference between US and UK mpg?

A UK (imperial) gallon is about 20% larger than a US gallon, so a car rated 40 UK mpg is about 33 US mpg. Choose the right unit, otherwise the estimate will be wrong by a fifth.

How do I convert L/100 km to mpg?

US mpg is 235.215 divided by L/100 km, and UK mpg is 282.481 divided by L/100 km. For example 7.5 L/100 km is about 31.4 US mpg.

Is the result exact?

It is an estimate based on the average economy you enter. Highway speed, heavy loads, air conditioning and short stop-and-go trips all change real consumption, so allow a margin on long journeys.