How to Use the MPG Calculator: Steps and a Worked Example
Calculate miles per gallon from distance and fuel used, with litres per 100 km. This guide shows what to enter, a worked example with real numbers, and the limits to keep in mind. The MPG Calculator tool is free, needs no account and runs in your browser.
What you need
- Units: choose US (miles, gallons, feet, inches), Metric (km, litres, metres, cm)
- Distance driven (miles, or km in metric), for example 350
- Fuel used (US gallons, or litres in metric), for example 12.5
Step by step
- Open the MPG Calculator tool.
- Choose Units.
- Fill in Distance driven (miles, or km in metric).
- Fill in Fuel used (US gallons, or litres in metric).
- Read the result, which updates as soon as the inputs change.
Worked example
With these inputs:
- Units: US (miles, gallons, feet, inches)
- Distance driven (miles, or km in metric): 350
- Fuel used (US gallons, or litres in metric): 12.5
the tool returns:
28 mpg (US)
8.4 L/100 km
11.9 km per litre
A second example
Changing Distance driven (miles, or km in metric) 350 to 700 gives:
56 mpg (US)
4.2 L/100 km
23.81 km per litre
Comparing two runs like this is a quick way to see how much each input moves the result.
How it works
The calculation is: US: mpg = miles ÷ gallons. Metric: L/100 km = litres ÷ km × 100. Enter the distance driven and fuel used and the result appears straight away. Everything runs in your browser, so nothing you type is uploaded.
Things to keep in mind
US gallons in US mode, litres in metric mode. Fill the tank to the same level each time for accuracy.
Related tools
If this is not quite what you need, try Fuel Cost Calculator, Gas Mileage Calculator or Miles to Kilometers.