Everyday · FREE ONLINE TOOL

Gas Mileage Calculator

Measure observed fuel economy from distance and fuel used, or compare odometer readings and fuel cost with consistent fill-up assumptions.

What would you like to calculate?

Your inputs

How it works

US fuel economy

US mpg = miles/US gallons; L/100 km = 235.214583/mpg.

Measure fuel over several fill-ups for a more stable estimate.

Calculations run in your browser. No account needed.

EXAMPLE RESULTCalculated locally
US fuel economy
30 mpg
Consumption
7.84 L/100 km
Clear inputs. Transparent methods.
My workspace

Calculate with your inputs to save a result or compare scenarios.

How it works

Illustration for Gas Mileage Calculator: a gauge; a car and route.
US fuel economyUS mpg = miles/US gallons; L/100 km = 235.214583/mpg.
A useful distinction

Combine fuel before averaging mileage

Two 300-mile intervals using 10 and 15 gallons produce 24 mpg overall: 600 ÷ 25. Averaging the separate 30 and 20 mpg figures gives 25 mpg and overstates economy. Sum distance and fuel first.

Combine the fuel receipts before finding miles per gallon

Fuel economy. A (First tank) → 30 mpg. B (Both tanks) → 25 mpg.
Combine the fuel receipts before finding miles per gallon
QuantityCalculationFuel economy
A First tank240 ÷ 830 mpg
B Both tanks(240 + 160) ÷ (8 + 8)25 mpg

Measure fuel economy from the same trip interval

Enter distance and fuel used for the same interval. US fuel economy reports miles per US gallon, metric consumption uses liters per 100 km, and odometer mode derives miles from two readings and adds fuel-cost metrics.

For a full-to-full comparison, note the odometer when filling, drive, then record the fuel added at the next comparable fill level. A partial refill alone does not reveal all fuel consumed since a previous full tank.

Worked example: 300 miles on 10 US gallons

Fuel economy is 300 / 10 = 30 US mpg. This is approximately 7.84 L/100 km. With odometer readings of 10,000 and 10,300 miles and a price of 3.50 per US gallon, fuel cost is 35.00, or about 0.1167 per mile.

Average multiple fill-ups with totals

Add the distances and fuel amounts, then divide totals. An unweighted average of mpg figures can overstate or understate the combined result when the trips use different quantities of fuel.

Why averaging the displayed mpg is misleading
IntervalDistanceFuelEconomy
Trip A300 miles10 US gal30 mpg
Trip B100 miles5 US gal20 mpg
Combined400 miles15 US gal26.67 mpg

Interpret changes before assuming a vehicle problem

A lower mpg or higher L/100 km means more fuel per distance. Compare similar routes and several fill-ups because tank fill variation, idling, load and conditions affect the measurement. The result alone does not diagnose a mechanical fault.

Odometer mode assumes the displayed distance is accurate. A different tire circumference can affect distance readings; a nominal tire comparison illustrates the direction of that effect but does not calibrate the vehicle.

US fuel economy: formula and assumptions

US mpg = miles/US gallons; L/100 km = 235.214583/mpg.

Measure fuel over several fill-ups for a more stable estimate.

Use US fuel economy

Metric consumption: formula and assumptions

L/100 km = liters/km×100.

The tank should be filled consistently at the start and end.

Use Metric consumption

Odometer and fuel cost: formula and assumptions

Distance=end−start; mpg=distance/fuel; cost per mile=fuel×price/distance.

Use consistent full-tank measurements. End odometer must exceed the start.

Use Odometer and fuel cost

Worked example

Using the US fuel economy example:

Inputs
Distance traveled (miles)
300
Fuel used (US gallons)
10
Method

US mpg = miles/US gallons; L/100 km = 235.214583/mpg.

Result

Example result

US fuel economy: 30 mpg

Consumption: 7.84 L/100 km

These are illustrative inputs. Change the values to explore a different scenario.

Formula references

References explain the underlying methods; they do not imply endorsement or individual professional review of Finflo.

Common questions

Should I use fuel added or fuel consumed?

Use fuel consumed over the measured distance. Fuel added approximates that quantity when both endpoints have comparable tank fill levels.

Can I average two mpg results?

Use total miles divided by total gallons. A simple mean is only equivalent under specific weighting conditions, such as equal fuel amounts.

Is 30 mpg the same for US and UK figures?

No. US and Imperial gallons differ. This calculator’s US mode uses US gallons.

Why does lower L/100 km mean better economy?

It means less fuel is used to cover the same 100 km. MPG instead rises when the vehicle covers more distance per gallon.

Does a single poor result prove the car needs repair?

No. Measurement variation and driving conditions affect individual trips. Compare consistent observations before drawing conclusions.

See our methodology and editorial policy.