Mileage Calculator (MPG and km/L)
Enter distance and fuel used to see mileage in miles per gallon, kilometres per litre and litres per 100 km.
Runs in your browser. Nothing is uploaded — your input is processed on this device and discarded when you close the tab.
Mileage Calculator (MPG and km/L)
How to use this tool
- Enter your values in the fields above.
- Press Generate to see the result.
- Use Load sample to try the worked example, Copy result to copy it, or Clear to start again.
Worked example
300 miles on 10 gallons gives 30.00 MPG, about 12.75 km/L and about 7.84 L/100km.
What this tool does not do / Limits
This is simple division of the numbers you enter, using US gallons. It does not account for driving conditions, fuel type or measurement error.
Frequently asked questions
Does this use US or UK gallons?
US gallons. One US MPG equals 0.425144 km/L.
Why show three figures?
Different regions quote mileage differently; all three come from the same distance and fuel numbers.
Related tools
CSV Cleaning Studio
Remove duplicates, fix missing values, standardise dates and export a clean CSV. Your file never leaves your device.
LiveChart Builder
Build charts from CSV data with aggregation, sorting and accessible colour palettes. Export as PNG or SVG.
LiveLength Converter
Convert lengths between metric and imperial units and see the full table of equivalents.
Live