Use distance driven and the amount of fuel used over that distance to calculate miles per gallon. A consistent fill-up method improves accuracy across multiple trips.
Record the odometer reading when you fill the tank. At the next fill-up, record the new reading and how many gallons it took to fill the tank again. The miles driven divided by the gallons added is your gas mileage, because those gallons are what the car used for those miles. Enter the current and previous odometer readings and the gallons, and add a gas price if you want the cost.
The page opens with odometer readings of 12,360 and 12,000 miles, 15 gallons added, and gas at $3.00 a gallon. The distance is 12,360 − 12,000 = 360 miles, so the mileage is 360 ÷ 15 = 24 mpg. The tool also shows it as 9.8 L/100km (235.215 ÷ 24) and 10.2 km/L. The fill-up cost is 15 × $3.00 = $45.00 and each mile cost $0.13 ($3.00 ÷ 24 = 12.5 cents, shown rounded to the cent).
Miles per gallon is the US measure. Outside the US, fuel use is often given as litres per 100 km, where a lower number is better, or as km per litre. The calculator uses the US gallon of 3.785412 litres. The imperial (UK) gallon is bigger, 4.54609 litres, so the same car reads about 20% higher in imperial mpg: 24 US mpg is about 28.8 imperial mpg.
| US mpg | L/100km | km/L | Cost per mile at $3.00 | Gallons for 12,000 miles | Cost for 12,000 miles |
|---|---|---|---|---|---|
| 15 | 15.68 | 6.38 | $0.2 | 800 | $2,400 |
| 20 | 11.76 | 8.5 | $0.15 | 600 | $1,800 |
| 24 | 9.8 | 10.2 | $0.125 | 500 | $1,500 |
| 30 | 7.84 | 12.75 | $0.1 | 400 | $1,200 |
| 40 | 5.88 | 17.01 | $0.075 | 300 | $900 |
| 50 | 4.7 | 21.26 | $0.06 | 240 | $720 |
Cost per mile is the gas price divided by the mpg. At 24 mpg, a gallon at $2.50 means 10.4 cents a mile and at $4.00 it means 16.7 cents.
| Gas price | Cost per mile at 24 mpg |
|---|---|
| $2.5 | 10.4 cents |
| $3 | 12.5 cents |
| $3.5 | 14.6 cents |
| $4 | 16.7 cents |
One tank is a snapshot. Weather, traffic, a heavy load or a different pump can move a single result by several mpg. Suppose a second fill-up shows 340 miles on 13.6 gallons (25.0 mpg) and a third shows 320 miles on 14.5 gallons (22.07 mpg). The right average is the total miles over the total gallons: 1020 ÷ 43.1 = 23.67 mpg. Averaging the three mpg figures gives 23.69, which is close, but the first method is the correct one when the tanks differ in size.
The large number is the gas mileage in miles per gallon, followed by the same figure in L/100km and km/L, and the distance driven. If you entered a price, the cost of the fill-up and the cost per mile appear as well. Use the Fuel Cost Calculator to turn your mpg into the cost of a trip.
No. The method assumes you filled the tank completely both times. A partial fill-up throws off the gallons-per-mile calculation.
It varies enormously by vehicle type. Compact cars often reach 30 mpg or more, while large trucks and SUVs are often well below that. Compare your result with the rating for your own vehicle.
Divide 235.215 by the mpg. 24 mpg is 9.8 litres per 100 kilometres. A lower L/100km figure means better fuel economy.
Driving style, speed, terrain, weather, tyre pressure and load all change it. Aggressive driving alone can lower mileage by roughly 15% to 30% at highway speeds.
Several. A single tank can differ by a few mpg. Add up the miles and the gallons over all the tanks and divide.
Divide the gas price by the mpg. At $3.00 a gallon and 24 mpg, it is 12.5 cents a mile.
Sources: FuelEconomy.gov: Driving more efficiently; FuelEconomy.gov: Keeping your car in shape; Wikipedia: Fuel economy in automobiles
Pick another tool to jump straight to it.