Fuel cost calculator: trip cost from distance, mpg or L/100 km and fuel price

Work out what a drive will cost in fuel, split it between passengers, and convert fuel economy between L/100 km, km/L, US mpg and UK mpg.

Keep it one tap away for everyday use.

Bookmark Fuel cost?

Press Ctrl + D now. Your browser opens its own bookmark box, where you choose the name and folder.

  1. Distance
  2. Economy
  3. Price
  4. Cost
Nothing is uploadedWorks offline once open

Your trip

Works for a car, bike or truck. Use the economy figure from your dashboard or your last fill-up for the best answer.

Convert fuel economy

Estimates: real fuel use changes with speed, load, traffic and weather. Nothing you type leaves this page.

What it does

Enter how far you are going, how much fuel your vehicle uses and what fuel costs, and the page tells you the fuel for the trip and the money it will cost. It understands the four ways the world measures fuel economy and both gallons, so you can use the figures exactly as they appear on your dashboard, in your manual or at the pump. It works for a car, a motorbike or a truck.

A second box converts between the four economy units, handy when comparing a UK car with a US one. If the trip shares the cost, the percentage calculator helps with rounding up a fair extra for the driver, and the budget planner with the month’s travel.

How to use it

  1. Type the distance and choose km or miles.
  2. Type the fuel economy and pick its unit.
  3. Type the fuel price and say whether it is per litre, per US gallon or per UK gallon.
  4. Tick round trip to double the distance, and enter how many people share the cost.

What the units mean

  • L/100 km: litres used per 100 km. Lower is better.
  • km/L: kilometres per litre. Higher is better.
  • mpg (US) and mpg (UK): miles per gallon. A UK gallon is bigger, so the same car shows a bigger UK number.

Worked example

A 100 km trip in a car that uses 8 L/100 km needs 8 litres. At 1.50 a litre the fuel costs 12.00. As a round trip it is 24.00, or 12.00 each for two people. In the converter, 8 L/100 km is 29.4 mpg (US), 35.3 mpg (UK) or 12.5 km/L.

FAQs

Why does my mpg look different from my friend’s? US and UK gallons are different sizes. Check which one the figure uses.

How accurate is it? It is an estimate. Speed, load, hills, weather and traffic all change real fuel use, so add a little margin.

Does it include tolls or wear? No, only fuel.

Where the numbers come from

  • Conversions: 1 mile = 1.609344 km, 1 US gallon = 3.785411784 L, 1 UK (imperial) gallon = 4.54609 L (international standard definitions).

Standard scientific values, such as constants, atomic weights and melting points, are facts found in every textbook; we name where ours were checked. If you are an author or publisher and want a value, a credit or a table changed or removed, tell us and we will act quickly.

Last updated 2026-11-10.

Change log for Fuel cost

  1. Give the 31 new tools their #T codes (T735-T765) Details on GitHub
  2. Add percentage, tip, fuel cost and unit price calculators (#1716-#1719) Details on GitHub

Every change to fibub

Related tools

Budget planner #T10 Work out what a trip, project or event will cost and how much to save each month, or plan your monthly budget with weekly and yearly bills, and see your savings grow. Percentage calculator #T750 Work out X% of Y, what percent one number is of another, percent change, add or remove a percent, stacked discounts and markup versus margin. Car loan #T779 Work out a car, bike or truck loan payment with trade-in, down payment, sales tax, fees and an optional balloon payment, plus total interest and total cost. Trip splitter #T783 Add who paid for what on a trip or shared event, and who it was for. See each person's balance and the fewest payments that settle everyone up. Electricity cost #T813 Add your appliances and see what each one costs to run, with a flat price or time-of-use prices, including standby power. EV vs petrol #T814 Compare an electric car, a petrol car and a hybrid over the years you keep it: price, incentives, energy, upkeep, insurance, resale, break-even and rough CO2. Commute cost #T815 Compare what getting to work costs by car, transit pass or bike, in money and in the value of your time. Driver earnings #T817 Turn your gross fares into net pay per hour and per km after platform fee, fuel, maintenance, insurance and phone, with a tax set-aside. Mileage log #T818 Log trips by date, place, purpose and distance, see business and personal totals, work out the allowance at the Canada, US or UK rate, and download a CSV. IDV and NCB calculator (India) #T832 Work out your car's insured declared value (IDV), your no-claim bonus and what a repair claim pays with and without a zero-depreciation add-on, for private cars in India.