★ GUIDES · MONEY · DRIVING · GAS MILEAGE
How to Calculate Your Gas Mileage in 4 Simple Steps
30.0 mpg is the mileage for a 300-mile trip on 10 gallons. Work through the four steps below and you will land on the same figures as the worked example: 30.0 mpg, 7.84 L/100 km, and 450 miles on a full tank. If you would rather skip the arithmetic, the Gas Mileage Calculator: MPG from Miles and Gallons runs the same steps for you.
Step 1: Fill the tank and reset the trip meter
Start with a full tank, because the whole calculation rests on knowing exactly how much fuel you used. Fill the tank until the pump clicks off, then reset the trip meter to zero — or write down the odometer reading if your car has no trip meter. Then drive normally: commute, errands, motorway, all of it. The longer you drive before the next fill-up, the better the figure: a 300-mile stretch beats a 50-mile one, because a small error in the gallons matters less over more miles.
Step 2: Fill up again and note the gallons
At the next fill-up, fill the tank to the same level — pump clicks off, same as before — and note two numbers: the gallons it took to refill (on the defaults, 10 gallons) and the miles on the trip meter (300 miles). The gallons on the pump are the gallons you used, because the tank is back where it started. This is the step people get wrong: if you only put in 5 gallons on a half-empty tank, those 5 gallons are not the fuel you used.
Step 3: Divide the miles by the gallons
The mileage is the miles divided by the gallons. On the defaults, 300 ÷ 10 is 30.0 miles per gallon. To get litres per 100 km, divide 235.214583 by the mpg: 235.214583 ÷ 30.0 is 7.84 L/100 km. To get gallons per 100 miles, divide 100 by the mpg: 100 ÷ 30.0 is 3.33 gallons per 100 miles. Keep the division to one decimal for mpg and two for the conversions — rounding in the middle, before the conversions, shifts the answers.
Step 4: Work out the range and track the average
The range on a full tank is the mpg times the tank size: 30.0 × 15 is 450 miles, so you know how far a full tank takes you. Then repeat the whole thing over the next three or four fill-ups and average the results: one fill-up can be thrown off by a pump that clicks off early, but four fill-ups give you the car’s true figure. A 400-mile trip on 12 gallons is 33.3 mpg, and if your last four fill-ups average 30.0, that is the number to budget with.
Worked example
The defaults, step by step: a 300-mile trip on 10 gallons, with a 15-gallon tank. Step one: fill up and reset the trip meter. Step two: at the next fill-up, the pump shows 10 gallons and the trip meter shows 300 miles. Step three: the mileage. 300 ÷ 10 is 30.0 mpg; 235.214583 ÷ 30.0 is 7.84 L/100 km; 100 ÷ 30.0 is 3.33 gallons per 100 miles. Step four: the range. 30.0 × 15 is 450 miles on a full tank. A second example, a 400-mile trip on 12 gallons: 400 ÷ 12 is 33.3 mpg, 235.214583 ÷ 33.3 is 7.06 L/100 km, 100 ÷ 33.3 is 3.00 gallons per 100 miles, and 33.3 × 15 is 500 miles on a full tank. The Gas Mileage Calculator: MPG from Miles and Gallons reproduces every one of these figures from any miles and gallons, and the Fuel Cost Calculator: What Your Trip Will Cost in Gas prices the same trip in dollars.
Three mistakes that break the total
First, using a partial fill: the gallons on the pump are only the fuel you used if the tank is back to the same level it started at. Put in 5 gallons on a half-empty tank and the division gives a fantasy number. Second, forgetting to reset the trip meter: the miles have to be the miles since the last fill-up, and a trip meter carrying last month’s miles makes the mpg look far better than it is. Third, mixing litres and gallons: a UK gallon is 4.546 litres against 3.785 for a US gallon, so 30.0 US mpg is 36.0 UK mpg — use the same gallon on both sides of the division, or the litres-per-100-km figure (7.84 either way) is the only one you can trust. So fill to the same level twice, reset the meter, and keep the gallons consistent. For the cost side of the same trip, the Fuel Cost Calculator: What Your Trip Will Cost in Gas turns the mileage into dollars, and the Road Trip Fuel Calculator: 10 Gallons for a 300-Mile Trip works out the fuel the trip needs.
Frequently asked questions
How do you calculate gas mileage?
Divide the miles driven by the gallons used. On the defaults, 300 ÷ 10 is 30.0 mpg; litres per 100 km is 235.214583 ÷ 30.0, or 7.84.
What is a good gas mileage?
25 to 30 mpg is typical for a modern petrol car, 40 mpg or more is efficient, and under 20 mpg is thirsty. At 30 mpg you use 3.33 gallons per 100 miles; at 40 mpg it is 2.50.
How do I convert mpg to L/100 km?
Divide 235.214583 by the mpg. 30.0 mpg is 7.84 L/100 km, 25.0 mpg is 9.41, and 40.0 mpg is 5.88. Lower is better in L/100 km; higher is better in mpg.
How far can I go on a full tank?
Multiply the mpg by the tank size. At 30.0 mpg, a 15-gallon tank gives 450 miles; at 33.3 mpg the same tank gives 500 miles.
Why is my mileage lower than the sticker?
The sticker is a laboratory figure on a fixed drive cycle. Short trips, cold starts, stop-start traffic, air conditioning, and a loaded roof box all cost gallons — measure over several fill-ups for your true figure.
Can I use the calculator instead of doing this by hand?
Yes — the Gas Mileage Calculator: MPG from Miles and Gallons runs exactly these steps from any miles and gallons, showing the mpg, the litres per 100 km, and the range on a full tank at once.