keepcalculator

06 Numbers and Powers

Odometer Gas Mileage Log: How to Track MPG

Card No. 06·8056 · Updated · Standard formula, shown below

Miles per gallon 33.33 MPG
Miles driven
350.0 mi
Result
Fuel per 100 miles
3.00 gal/100mi
Result
Odometer at start (miles)
30000 mi
You entered
You enter
Odometer at start (miles), Odometer at end (miles), Fuel added (gallons)
You get
Miles per gallon, Miles driven, Fuel per 100 miles
Rounding
2 dp · 1 dp

An odometer gas mileage log is a record of your vehicle’s odometer reading and fuel purchases that lets you calculate your real-world fuel economy in miles per gallon (MPG) or liters per 100 kilometers (L/100 km). You enter the odometer reading at each fill-up and the gallons (or liters) of fuel added; the log then shows how many miles you drove on the previous tank and divides that by the fuel used. This simple record is the most reliable way to know what your car actually consumes, spot developing mechanical issues, and verify whether a change in driving habits or maintenance made a difference.

Formula

The core formula for a gas mileage log is straightforward:

MPG = (Ending odometer reading − Starting odometer reading) ÷ Gallons of fuel added

Where:

  • Ending odometer reading (miles or kilometers) – the odometer value at the current fill-up.
  • Starting odometer reading (miles or kilometers) – the odometer value at the previous fill-up.
  • Gallons of fuel added (US gallons or liters) – the amount of fuel you put in at the pump, not the tank capacity.

The difference between the two odometer readings is the distance traveled on that tank. Dividing that distance by the fuel you added gives you the miles per gallon for that specific tank. For metric users, the equivalent is L/100 km = (Liters of fuel ÷ Kilometers driven) × 100.

Worked Example

Using the default values from the calculator above:

  1. Starting odometer: 30,000 miles
  2. Ending odometer: 30,350 miles
  3. Fuel added: 10.5 gallons

First, find the distance driven:

30,350 − 30,000 = 350 miles

Then divide by the fuel used:

350 ÷ 10.5 = 33.33 MPG

So the car averaged about 33.3 miles per gallon on that tank. The calculator rounds to two decimals, giving 33.33 MPG.

Why Keep a Gas Mileage Log?

Most drivers only look at the dashboard’s instant or average fuel economy display, but those numbers are often optimistic and only reflect the last few minutes or a short reset period. A manual odometer log gives you the true, long-term average over real driving conditions — including city traffic, highway cruising, cold starts, and idling. This matters for several reasons:

  • Budgeting: Knowing your actual MPG lets you estimate monthly fuel costs more accurately than the EPA sticker, which is based on controlled tests.
  • Maintenance detection: A sudden drop of 2–3 MPG can signal an issue like underinflated tires, a dirty air filter, a failing oxygen sensor, or dragging brakes.
  • Driving habits: You can see the effect of aggressive acceleration, speeding, or carrying heavy loads.
  • Verifying repairs: After a tune-up or new tires, the log shows whether the change actually improved efficiency.
  • Tax or reimbursement purposes: If you use your vehicle for work, a mileage log is often required for deductions or reimbursements.

How to Keep an Accurate Log

The accuracy of your MPG calculation depends entirely on how consistently you record data. Follow these steps:

  1. Fill up the same way each time. Use the same pump and fill until the nozzle clicks off automatically. Do not top off — that adds fuel that may not be used in the next tank, skewing the calculation.
  2. Record the odometer reading at every fill-up. Write it down before you start pumping, or take a photo with your phone.
  3. Note the gallons or liters shown on the pump. Keep the receipt or snap a picture of the display.
  4. Calculate after each fill-up. Subtract the previous odometer reading from the current one, then divide by the fuel added.
  5. Reset the trip odometer at each fill-up. This gives you a backup check and makes the math easier.

If you skip a fill-up (e.g., you only add $10 worth), the calculation for that tank will be inaccurate. It’s better to skip that tank entirely and wait for a full fill-up.

Common Mistakes and How to Avoid Them

  • Mixing units: If you record miles but liters, or kilometers but gallons, the result is meaningless. Convert everything to the same system: 1 US gallon = 3.785 liters, 1 mile = 1.609 km.
  • Topping off: Adding extra fuel after the nozzle clicks off overfills the tank and makes the “gallons addedâ€� larger than the fuel actually consumed, lowering your calculated MPG.
  • Using the trip odometer incorrectly: If you reset the trip meter at the wrong time, you’ll get the wrong distance. Always reset at the same moment you fill up.
  • Rounding too early: If you round the odometer to the nearest 10 miles and the gallons to the nearest whole number, your MPG can be off by several units. Record the exact values.
  • Ignoring partial tanks: If you don’t fill up completely, the fuel added doesn’t correspond to the distance driven. Only calculate MPG when you fill the tank to the same level each time.

Digital Logs vs. Paper Logs

You can keep a gas mileage log in a simple notebook, a spreadsheet, or a dedicated smartphone app. Each has trade-offs:

  • Paper notebook: No battery needed, but easy to forget and hard to analyze trends.
  • Spreadsheet: Flexible and free; you can create formulas to calculate MPG automatically and make charts.
  • Smartphone apps: Many apps automatically record the date, odometer, and fuel amount, and some can even estimate fuel cost. They often include features like service reminders and trip logging. However, they rely on you entering data consistently.

If you use a spreadsheet, a simple layout with columns for date, odometer, gallons, and cost is enough. The formula for MPG in a spreadsheet would be: =(current_odometer - previous_odometer) / gallons.

Interpreting Your Results

Your calculated MPG will vary from tank to tank due to traffic, weather, load, and even the specific gas station’s pump calibration. To get a reliable average, look at the cumulative data over several fill-ups (e.g., 5–10 tanks). A single tank might show 30 MPG one week and 35 the next; the average over a month is more meaningful.

If you notice a consistent downward trend over several tanks, investigate potential causes:

  • Tire pressure low
  • Air filter clogged
  • Spark plugs worn
  • Oxygen sensor failing
  • Brakes dragging
  • Carrying unnecessary weight
  • Increased idling or short trips

Also, remember that winter fuel blends and cold weather can reduce MPG by 10–20% compared to summer, so don’t panic over seasonal changes.

Frequently Asked Questions

How do I calculate MPG if I only track miles and gallons?

Simply divide the miles driven since the last fill-up by the gallons of fuel added at the current fill-up. For example, if you drove 300 miles and added 10 gallons, your MPG is 30.

What is the difference between US gallons and imperial gallons?

US gallons are smaller than imperial gallons. 1 US gallon = 0.833 imperial gallons. If you’re using imperial gallons, the MPG number will be higher for the same fuel consumption, so always be consistent.

Should I calculate MPG on every fill-up or just sometimes?

For the most accurate picture, calculate on every full fill-up. If you only do it occasionally, you might miss a developing problem. Consistency is key.

Can I use this log for a diesel vehicle?

Yes, the same method works for diesel. Just use the gallons of diesel added. Diesel has a higher energy density, so you’ll typically see higher MPG than a comparable gasoline vehicle.

Why does my car’s computer show a different MPG than my manual calculation?

The car’s computer often calculates a rolling average and may not include idling time or may be calibrated optimistically. Manual calculation from actual odometer and fuel purchases is generally more accurate.

What if I have a hybrid or electric vehicle?

For hybrids, the same method works, but you may also want to track miles per kWh for electric-only driving. For pure EVs, you’d track kWh used instead of gallons, and the result is miles per kWh or kWh per 100 miles.

Related

Formula used
in start_odo | Odometer at start (miles) | mi | 30000 | 0 | 1000000
in end_odo | Odometer at end (miles) | mi | 30350 | 0 | 1000000
in gallons | Fuel added (gallons) | gal | 10.5 | 0.1 | 100
out mpg | Miles per gallon | MPG | (end_odo - start_odo) / gallons | 2
out miles_driven | Miles driven | mi | end_odo - start_odo | 1
out fuel_per_100mi | Fuel per 100 miles | gal/100mi | gallons / ((end_odo - start_odo) / 100) | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →