The basic formula for miles per gallon

Miles per gallon (MPG) is the distance your car travels on one gallon of fuel. To calculate it, you divide the number of miles driven by the number of gallons used. The formula is: miles driven ÷ gallons used = MPG.

The reason this matters for routine maintenance is that a sudden drop in MPG often signals a problem — worn spark plugs, low tire pressure, a clogged air filter, or an issue with your fuel injectors. Tracking your MPG over time gives you an early warning that something needs attention before it becomes expensive.

Key Takeaways

  • Calculate MPG by dividing total miles driven by gallons of fuel used since your last fill-up.
  • Fill your tank completely at the start and end of each calculation period to get an accurate reading.
  • A drop of 10 percent or more in your usual MPG often means your car needs maintenance.
  • Tracking MPG over several months shows you a baseline so you can spot problems early.
  • Your car's actual MPG will be lower than the EPA estimate printed on the window sticker.

Step-by-step: calculating MPG on your own

Start by filling your gas tank completely. Write down the odometer reading — the number showing total miles on your car. You can take a photo of the odometer with your phone if you want a record.

Drive normally until you decide to calculate again. This can be after one tank of gas, or after a week or a month — the longer the period, the more accurate your reading will be. When you are ready, fill your tank completely again and note the new odometer reading.

Subtract the first odometer reading from the second. That is your miles driven. Then divide that number by the gallons it took to fill the tank the second time. For example: if your odometer went from 45,000 miles to 45,300 miles, you drove 300 miles. If it took 12 gallons to fill up, your MPG is 300 ÷ 12 = 25 MPG.

Why your actual MPG differs from the EPA estimate

The sticker on a new car's window shows EPA estimates — usually a combined city and highway number. Your real-world MPG will almost always be lower. The EPA tests under controlled conditions: steady speeds, moderate acceleration, and a specific temperature. Your actual driving includes stop-and-go traffic, idling, cold starts, and aggressive acceleration.

Factors that lower your MPG include driving in heavy traffic, carrying extra weight in your trunk, using the air conditioner, and driving on short trips before the engine warms up. Highway driving at steady speeds typically gives better MPG than city driving. This is normal variation, not a sign of a problem — unless your MPG drops suddenly compared to your own baseline.

Using your car's built-in fuel economy display

Most cars made in the last 10 years have a fuel economy screen on the dashboard or in the instrument cluster. You can usually scroll to it using buttons on the steering wheel. This display shows your current MPG and average MPG since you last reset it.

The built-in display is convenient for quick checks, but it is not always perfectly accurate. It can be off by a few miles per gallon in either direction. For a more reliable number, calculate MPG manually using the pump and odometer method at least once every few months. Use the manual calculation as your baseline and compare future readings to it.

What a significant drop in MPG tells you

If your MPG drops by 10 percent or more compared to your usual number, something in your car needs attention. A drop from 25 MPG to 22 or 23 MPG is worth investigating. Common causes include low tire pressure (check all four tires with a tire gauge), a clogged engine air filter (you can see this one yourself under the hood), worn spark plugs, or a problem with your fuel injectors.

Low tire pressure is the easiest to check and fix yourself. Underinflated tires create more rolling resistance, which forces your engine to work harder. The correct pressure for your car is printed on a sticker inside the driver's door jamb, not on the tire itself. If tire pressure is normal and your MPG is still down, schedule a maintenance appointment to have the air filter checked and the fuel system inspected.

Tracking MPG over time

Keep a straightforward log of your MPG calculations — you can use a notebook, a spreadsheet, or even notes on your phone. Record the date, odometer reading, gallons used, and calculated MPG. After three or four fill-ups, you will see your car's typical range. Most cars have a normal variation of 1 to 3 MPG depending on driving conditions.

Once you know your baseline, any reading that falls outside your normal range is worth noting. If you see a trend downward over several weeks, that is a stronger signal than a single low reading. Seasonal changes can also affect MPG — winter driving typically yields lower numbers because cold engines are less efficient and winter fuel blends are different. But a sudden drop in a single month, compared to the same month last year, suggests a maintenance issue.

Frequently Asked Questions

Should I calculate MPG using premium gas versus regular gas?

Your car's MPG will be slightly different depending on the fuel grade you use, but the difference is usually small — 1 to 2 MPG. If your car requires regular fuel, stick with regular for consistent tracking. If it requires premium, use premium. The important thing is to use the same grade each time so your baseline stays meaningful.

Does idling affect my MPG calculation?

Idling does not show up as miles driven, so it does not directly lower your calculated MPG. However, excessive idling — sitting in a drive-through or warming up the car — does use fuel without moving, which lowers your overall efficiency. This is already reflected in your real-world MPG compared to EPA estimates.

Can I calculate MPG if I don't always fill up completely?

You can, but it is less accurate. If you fill to the same point each time — for example, always to the top of the filler neck — your calculation will still work. The key is consistency. Partial fill-ups introduce more room for error because you cannot be sure you filled to exactly the same level twice.

What if my MPG is much better than the EPA estimate?

This is rare but possible if you drive mostly highway at steady speeds, which is the most efficient driving condition. It can also happen if you drive a newer car with a very efficient engine. There is nothing wrong — you are straightforward driving in a way that matches the EPA's test conditions better than most people do.