Blog
Unit converters

Fuel consumption converter

Enter a value, choose a source and target unit, and the converter recalculates fuel consumption between any pair of four units: liters per 100 kilometers (the European convention), kilometers per liter, US miles per gallon, and UK miles per gallon.

Your data never leaves this device

Result

Result

This page has no server side at all. The table you paste is parsed by JavaScript inside your own browser, the chart is drawn on a canvas element on your machine, and the export file is assembled locally. Nothing is uploaded, stored or written to any log. You can disconnect from the network after the page has loaded and everything will still work — which is the simplest way to verify the claim yourself.

Facts and limits of this method

Relationship type Inverse (nonlinear) — a lower L/100km means a higher mpg
1 US gallon 3.785411784 liters
1 UK (imperial) gallon 4.54609 liters — noticeably larger than the US gallon
km/L → mpg US factor × 2.352145833
km/L → mpg UK factor × 2.824809363

When it misleads you

How it is calculated

The entered value is first converted to kilometers per liter (km/L) — for example, from L/100km using km/L = 100 / (L/100km), from mpg by dividing by the corresponding US or UK gallon factor.

If the "from" unit is already km/L, this step leaves the number unchanged.

The km/L value is then converted to the target unit using the inverse formula.

The result is rounded to the chosen number of decimal places and updates instantly whenever the value, units or precision change.

Questions and answers

Why does a lower L/100km give a higher mpg?

Because they measure the same thing differently: L/100km shows consumption per distance (lower is more efficient), while mpg shows distance per volume of fuel (higher is more efficient) — the relationship between them is inverse.

What's the difference between mpg US and mpg UK?

Just the gallon's volume: the US gallon (3.785 L) is smaller than the UK imperial gallon (4.546 L), so the same real fuel consumption converts to a number about 20% higher in mpg UK than in mpg US.

Does the converter account for the difference between European and US test cycles?

No, this is a purely arithmetic unit conversion — methodological differences between test cycles (WLTP, EPA, etc.) aren't accounted for.

Is my data sent anywhere?

No, the whole calculation runs in your browser.

Related tools

All tools