KKwikfig.

MPG Calculator

Work out miles per gallon and litres per 100 km from any trip's distance and fuel, convert between them, and price the trip at your fuel price. Runs entirely in your browser — your numbers never leave this device.

Units you measured in
Fuel economy
30 MPG (US)
7.84 L/100 km — the same economy in metric
MPG (US)
30
L/100 km
7.84
Fuel per 100 miles
3.33 gal
Fuel for this distance
10 gal
Trip cost at that price
36

MPG here is always US gallons. An imperial gallon is about 20% larger, so the same car scores a higher MPG figure in imperial gallons — use the Fuel Consumption Converter to switch between the two.

How it works

MPG (US) = miles ÷ US gallons | L/100 km = litres ÷ km × 100 | L/100 km = 235.214583 ÷ MPG (US) | Trip fuel = distance ÷ MPG, Trip cost = fuel × price per gallon
MPG (US) and L/100 km are the same economies, converted at 235.214583 ÷ MPG
MPG (US)L/100 km
1515.68
2011.76
259.41
307.84
356.72
405.88
504.70

Fuel economy is one ratio read two ways. In US units it is distance over fuel — miles divided by US gallons — and a higher number is better. In metric units it is fuel over distance — litres burned per 100 kilometres — and a lower number is better. Because one measure divides by fuel and the other divides by distance, converting between them is not a multiplication but a division into a constant: L/100 km = 235.214583 ÷ MPG. That constant is exact arithmetic from the definitions, 100 × 3.785411784 litres per US gallon ÷ 1.609344 kilometres per mile, which is why 30 MPG and 7.84 L/100 km are the same economy stated twice, not two estimates.

The honest way to fill the inputs is the full-to-full method: fill the tank, reset the trip meter, drive, then fill again at the same pump and record how much went in. The second fill is the fuel the measured distance actually consumed. Dashboard readouts are useful but optimistic on many cars, and a single short fill is noisy — a few hundred miles between fills averages out the pump's click-off point and your driving mix. This calculator shows both unit systems whatever you enter, so a figure quoted from a US review can be compared with a European brochure figure directly.

Trip-cost mode prices the same arithmetic: fuel for a distance is distance divided by MPG (or distance × L/100 km ÷ 100 in metric), and cost is fuel multiplied by the price you type in. The price is always yours — pump prices change daily and differ by station, so nothing is stored or fetched, and the result is in whatever currency your price was in.

Worked examples

A 300-mile trip on 10 gallons

Input
Distance = 300 miles, Fuel = 10 US gallons
Working
MPG = 300 ÷ 10 = 30.0. Metric: L/100 km = 235.214583 ÷ 30 = 7.84.
Result
Economy = 30.0 MPG (US) = 7.84 L/100 km

A 400 km trip on 32 litres

Input
Distance = 400 km, Fuel = 32 litres
Working
L/100 km = 32 ÷ 400 × 100 = 8.0. In US units: MPG = 235.214583 ÷ 8 = 29.40.
Result
Economy = 8.0 L/100 km = 29.40 MPG (US)

Pricing a 250-mile trip at that economy

Input
Distance = 250 miles, Economy = 30 MPG, Price = 3.60 per gallon
Working
Fuel = 250 ÷ 30 = 8.33 gallons. Cost = 8.33 × 3.60 = 30.00.
Result
Trip fuel = 8.33 gal · Trip cost = 30.00

Frequently asked questions

Why do MPG and L/100 km move in opposite directions?

Because they are reciprocals in structure: MPG is distance per unit of fuel, so more is better, while L/100 km is fuel per unit of distance, so less is better. That is also why conversion divides a constant (235.214583) by the value instead of multiplying — doubling your MPG exactly halves your L/100 km.

Is the MPG here US or imperial?

Always US gallons (3.785411784 litres). An imperial gallon is 4.54609 litres, about 20% larger, so the same car records a higher MPG figure in imperial gallons. If your fuel is sold in imperial gallons, the Fuel Consumption Converter handles that system explicitly.

Why is my calculated MPG worse than the dashboard figure?

The dashboard estimates consumption from injector data and often flatters the result; the full-to-full method measures fuel that physically left the pump. Short trips, cold starts, a roof box and winter fuel blends also drag a real fill below the brochure figure. Measure over several fills before concluding anything about the car.

How do I convert L/100 km back to MPG?

Divide the same constant by the metric figure: MPG = 235.214583 ÷ L/100 km. A car using 8.0 L/100 km returns 235.214583 ÷ 8 = 29.40 MPG. This page always shows both, so the conversion is done for you in either direction.

What is a good MPG?

There is no universal figure — it depends on the car's size, fuel and your driving mix, and the honest comparison is against your own previous fills in the same car. The reference table on this page lets you place a number in both systems: 25 MPG is 9.41 L/100 km, 40 MPG is 5.88 L/100 km.

Related tools

More in Automotive Calculators · Browse all tools