Fuel consumption and trip cost calculator

Estimate what a drive will cost in fuel, measure what your car really uses, or convert between L/100 km, km/L and MPG.

Sealed on this device

Runs in your browser. Nothing is uploaded.

Sealed

Your numbers

What do you want to do?

Leave empty to see only the fuel needed.

Splits the total evenly.

Result

—
—

How it works

  1. Pick what you need

    Estimate the fuel cost of a trip, measure your real consumption after a fill-up, or simply convert a consumption figure.

  2. Enter your numbers

    Use kilometers or miles, liters or US or UK gallons, and the fuel price as shown at the pump, in your own currency.

  3. Read and copy the result

    See the fuel needed, the total cost, the cost per kilometer, per mile and per person, or your consumption in all four units, with the formula used.

Frequently asked questions

How do I calculate the fuel cost of a trip?

Multiply the distance by the consumption and divide by 100 to get the liters needed, then multiply by the price per liter. For 300 km at 6 L/100 km and 1.80 per liter: 300 × 6 ÷ 100 = 18 L, and 18 × 1.80 = 32.40.

How do I convert L/100 km to MPG?

Divide 235.215 by the L/100 km value for US MPG, or 282.481 for UK MPG. For example, 8 L/100 km is about 29.4 MPG (US) or 35.3 MPG (UK). The same division works the other way round.

Why are US and UK MPG different?

Because the gallons are different. A US gallon is 3.785411784 liters and a UK (imperial) gallon is 4.54609 liters, so the same car shows about 20 % more miles per gallon in UK MPG than in US MPG.

How do I measure my car’s real fuel consumption?

Fill the tank completely and reset the trip counter. At the next fill-up, fill it completely again and note the distance driven and the fuel added. Divide the fuel by the distance and multiply by 100 to get L/100 km.

Which currency does the calculator use?

Any currency. Enter the price per liter or per gallon in your own currency, and the costs are shown in that same currency, rounded to two decimals.

Is anything I enter saved or sent?

No. Every calculation happens in your browser, and nothing is stored once you close the page.

Install One For All on your computer

One For All then opens in its own window, like an app, straight from your desktop or home screen. Nothing to download from a store, and your files still stay on your device.

  1. Click the install icon at the right of the address bar, or open the browser menu (⋮).
  2. Choose “Install One For All” or “Install page as app”: a shortcut is added to your desktop and your apps.

Download this tool’s engine?

This tool works entirely in your browser. To do that, it needs to download the items below from One For All, just once. They are then kept on this device, so next time the tool starts right away.

Your files are never sent anywhere.