MPG Calculator
Find your miles per gallon, L/100km, fuel cost per mile and CO2 — from one fill-up, your odometer, or a fill-up log.
Tip: fill the tank, reset your trip meter, drive as normal, then fill up again — the gallons on the pump receipt and the miles on the trip meter are your two numbers.
Averaging over several fill-ups is the most honest MPG figure — one tank can be thrown off by a short fill or a different pump.
Typical MPG presets
A preset fills in 300 miles at that MPG in single fill-up mode, and sets the MPG used for the cost section below.
Fuel cost & CO2 for a trip
CO2 is worked out at 8.887 kg per US gallon of gasoline. Diesel is about 10.18 kg per gallon.
Conversions: L/100km = 235.215 ÷ MPG · km/L = MPG × 0.425144 · UK MPG = US MPG × 1.20095.
How to use the MPG Calculator
- Pick a mode — single fill-up, odometer readings, or a multi fill-up log.
- Enter your miles and gallons (or your odometer readings) and your fuel price.
- Read your MPG, L/100km, cost per mile, trip cost and CO2 — then copy the result.
MPG Calculator FAQs
How do you calculate MPG?
Divide the miles you drove by the gallons of fuel you used: MPG = miles ÷ gallons. For example, 300 miles on 10 gallons is 30 MPG. This calculator does the same sum for you, and it also works from odometer readings — subtract the start reading from the end reading to get the miles — or from a log of several fill-ups, where it adds all the miles and all the gallons before dividing.
What is a good MPG?
Most petrol cars today return between 25 and 40 MPG (US). Small hatchbacks and hybrids often reach 40 to 55 MPG, while large SUVs and pickup trucks sit around 15 to 25 MPG. Anything above 30 MPG is generally considered good for a family car. Your real figure depends on driving style, city versus highway mix, tyre pressure and load — so measure it over several fill-ups rather than trusting one tank.
How do I convert MPG to L/100km?
Divide 235.215 by your MPG figure: L/100km = 235.215 ÷ MPG. So 30 MPG works out to about 7.84 L/100km. The conversion runs the other way too — MPG = 235.215 ÷ L/100km. This calculator shows both figures side by side, along with km/L, so you never have to work it out by hand.
What is the difference between US MPG and UK MPG?
A UK (imperial) gallon is bigger than a US gallon — 1 UK gallon equals 1.20095 US gallons — so the same car shows a higher MPG number in the UK. A car that does 30 MPG in the US does about 36.03 MPG in the UK. Use the US/UK toggle on this calculator to switch the headline figure to the gallon your country uses.
How much CO2 does my car produce per trip?
Burning one US gallon of gasoline produces about 8.887 kg of CO2. Multiply your trip gallons by 8.887 to get the total: a 10-gallon fill-up is about 88.87 kg of CO2. Enter your trip distance and your MPG in the cost section and this calculator works out the trip gallons and the CO2 for you. Diesel is slightly higher, at about 10.18 kg per gallon.
Free MPG Calculator — Miles Per Gallon, L/100km, Fuel Cost and CO2
This MPG calculator works out your fuel efficiency three ways: from a single fill-up, from two odometer readings, or from a log of up to ten fill-ups. Enter your miles and gallons and you get US MPG, UK MPG, L/100km and km/L in one go, plus the fuel cost per mile, the cost of any trip, and the CO2 your drive produces.
How to use it, step by step
- Choose single fill-up, odometer or multi fill-up mode and enter your miles and gallons.
- Switch between US and UK gallons if you want the imperial figure.
- Add your fuel price and a trip distance to see cost per mile, trip cost and CO2.
Popular uses
- Drivers: check whether your car really hits its claimed MPG over several tanks.
- Road trippers: budget fuel cost and CO2 before a long drive.
- Buyers: compare two cars by their real-world fuel economy, not the brochure.
- Fleet and delivery drivers: track average MPG across many fill-ups to spot a problem early.
