How to calculate average mpg across multiple fill ups

Calculate average MPG across multiple fill ups by dividing total matched miles by total gallons consumed. Averaging the individual MPG readings can give the wrong combined result when the intervals use different amounts of fuel.

Open the MPG Calculator.

How to Calculate Average MPG Across Multiple Fill Ups

For a continuous set of matched records, combined MPG = sum of interval miles ÷ sum of interval gallons. The calculation preserves the quantities that were actually accumulated. It also works for unequal distances, unequal refill quantities, and individual tanks with different fuel economy.

The calculator needs the combined distance and combined fuel quantity, not the number of receipts. Add the log first and enter those two totals. Its MPG output does not use the fuel-price field; a spending average is a separate calculation.

Suppose one interval covers 200 miles using 10 gallons, and another covers 600 miles using 20 gallons. The combined result is 800 ÷ 30 = approximately 26.67 MPG. The simple average of the two interval readings, 20 and 30 MPG, would instead be 25 MPG and would not reconcile with the actual totals.

Decide Which Records Belong Together

Choose a clear period, such as a season, several consecutive complete fuel intervals, or a specific kind of driving. Write down the starting and ending odometer readings and establish comparable opening and closing fuel levels.

If a receipt belongs to the fill establishing the starting level, exclude it from fuel consumed afterward. Include the purchases after that start through the fill that restores the closing level. This avoids charging the measured interval for fuel burned before it began.

FuelEconomy.gov’s MPG method ties refueling quantity to the distance between fuel boundaries. Across several fills, the same principle applies to the complete combined interval. The number of receipts does not change which fuel belongs in the denominator.

Do not combine records for different vehicles unless the intended result is explicitly a fleet aggregate. One household’s total miles divided by its total gallons can be a valid aggregate, but it does not become the personal fuel economy of either car.

Check the Totals with a Two-Interval Example

Consider the following hypothetical log. Both rows describe complete, compatible intervals using the same gallon definition.

Interval Distance Fuel consumed Interval MPG
A 200 miles 10 gallons 20 MPG
B 600 miles 20 gallons 30 MPG
Combined 800 miles 30 gallons 26.6667 MPG

The final row comes from adding the distance column and fuel column separately. Enter 800 miles and 30 gallons in the calculator. Multiplying the unrounded combined result by 30 gallons returns 800 miles.

The arithmetic mean, (20 + 30) ÷ 2 = 25 MPG, gives both rows equal influence even though B consumed twice the fuel. If 25 MPG truly described the combined 800 miles, implied fuel consumption would be 800 ÷ 25 = 32 gallons. That conflicts with the recorded 30 gallons.

Distance-weighting the MPG figures directly is not the answer either. In this example, (200 × 20 + 600 × 30) ÷ 800 = 27.5 MPG, again failing to reproduce the measured totals. Distance weights belong with consumption per mile; fuel-quantity weights belong with miles per gallon.

Understand the Correct Weighting

Each interval’s miles equal its gallons multiplied by its MPG. Adding those equations gives total miles = sum of(gallons × interval MPG). Dividing by total gallons shows why a gallon-weighted average of MPG is mathematically equivalent to the ratio of totals.

For the example, the weights are one-third for A and two-thirds for B. The result is one-third × 20 plus two-thirds × 30, or 26.6667 MPG. This is useful for understanding the relationship, although adding original quantities is usually simpler and less vulnerable to rounded interval readings.

If every interval genuinely used the same gallons, their arithmetic mean MPG would happen to match the combined result. Equal miles do not produce that exception. With equal distances, the correct combined MPG is a harmonic rather than arithmetic mean.

For example, 300 miles at 20 MPG consumes 15 gallons, and 300 miles at 30 MPG consumes 10 gallons. Total economy is 600 ÷ 25 = 24 MPG, not 25. This distinction matters when comparing the outward and return legs of a journey.

Include Partial Refills Without Inventing Interval MPG

Partial purchases can be included within a longer full-to-full interval. What you generally cannot infer is how much fuel was consumed between two arbitrary partial fills unless you know the fuel inventory at both ends.

Imagine a full starting tank, followed by purchases of 5 gallons and 6 gallons, then a closing full refill of 9 gallons. If the opening-to-closing distance is 540 miles, fuel added within that interval totals 20 gallons and combined MPG is 27.

Keep the intermediate receipts, but do not label each purchase as one independent tank. A small purchase might follow a long drive that used fuel already present, or it might occur soon after an earlier purchase. The accounting works because the opening and closing inventories match, not because every transaction represents consumption since the previous transaction.

If the closing tank is not comparable to the start, retain the interval as open or document an independently supported inventory adjustment. Guessing a gauge fraction can create more apparent precision than the measurement supports.

Separate Fuel Economy from Average Fuel Price

Fuel price can change between purchases without changing the mileage equation. Total dollars divided by total gallons gives an effective purchase price for those transactions. Total miles divided by total gallons gives MPG. Their denominators may match, but the numerators answer different questions.

Suppose the example’s 30 gallons cost a total of $108. Effective price is $3.60 per gallon, and fuel expense over the 800 miles is $0.135 per mile. Dividing $3.60 by 26.6667 MPG reproduces approximately the same cost per mile when unrounded values are used.

That monetary result describes the recorded fuel allocation. For a short trip with different opening and closing inventory, purchases during the trip are not automatically its consumed-fuel expense. Preserve the distinction when splitting costs or comparing routes.

Compare Driving Periods on a Fair Basis

An annual total gives a broad observed average, while a highway-only record answers a narrower question. Neither is automatically the right forecast for every future use. Identify the intended comparison before deciding which rows belong in a report.

EPA’s mileage-variation guidance explains that driving and operating conditions affect observed economy. Keep meaningful route or season notes rather than deleting inconvenient records or adjusting them with an unverified universal correction.

When assessing a change, compare sufficiently complete periods and describe important differences. A higher average after a long highway holiday does not isolate a maintenance improvement if the earlier period was mostly short urban trips. The ratio can be correct while the causal interpretation is unsupported.

Build a Spreadsheet That Reconciles

Give distance and gallons their own numeric columns. Keep units in headers and transaction notes in separate cells. Sum the original quantities before division and preserve adequate precision; do not build the grand total from already rounded MPG cells.

Check for duplicated receipts, omitted purchases, trip-meter resets, and odometer reversals. A spreadsheet can produce a plausible number even when one missing fuel row makes the denominator too small. Flag incomplete intervals instead of silently treating blanks as zero fuel.

Save both the source log and the chosen reporting boundary. The most useful average is one that can be reproduced from retained miles and gallons, with the same start, end, and inclusion rules, rather than a collection of favorable dashboard or per-tank readings.

Table of contents