The Basic Formula: Miles Driven Divided by Gallons Used

Fuel economy is calculated by dividing the number of miles you drove by the number of gallons of fuel you used. That's it. If you drove 300 miles and used 10 gallons, your fuel economy is 30 miles per gallon (mpg). The math works the same way whether you're tracking a single tank or averaging across multiple fill-ups.

The tricky part isn't the math—it's measuring accurately. Most people get inconsistent results because they don't measure the same way twice. Small differences in how you fill the tank or when you reset your odometer can throw off your number by several mpg.

Key Takeaways

  • Fuel economy = miles driven ÷ gallons used; a car that goes 300 miles on 10 gallons gets 30 mpg.
  • Fill your tank completely at the start and end of your measurement period, using the same pump nozzle position each time, to get consistent results.
  • Record your odometer reading at each fill-up so you know exactly how many miles you drove on that tank.
  • Your real-world mpg will almost always be lower than the EPA estimate on the window sticker because those tests use ideal conditions.
  • Tracking fuel economy over time shows you whether your car's efficiency is dropping, which can signal maintenance problems.

Step-by-Step: How to Measure Your Own Fuel Economy

Start with a full tank. Pull up to a gas pump, insert the nozzle, and fill until the pump clicks off. Don't squeeze extra fuel in after that—the pump clicks when the tank is actually full. Write down your odometer reading at that exact moment. This is your starting point.

Drive normally for at least 100 to 200 miles. The longer the distance, the more accurate your result, because small measurement errors matter less over a longer trip. When your fuel gauge drops to roughly a quarter tank, return to a gas pump.

Fill up again using the same method: insert the nozzle, let it click off, and stop. Write down the odometer reading and the number of gallons the pump shows you used. Subtract your first odometer reading from your second reading to get miles driven. Divide miles driven by gallons used. That number is your fuel economy for that tank.

Repeat this process over several fill-ups and average the results. One tank can be an outlier because of driving conditions, traffic, or how you happened to accelerate. Three to five tanks gives you a real picture of what your car actually delivers.

Why Your Real Mpg Differs from the EPA Estimate

The EPA sticker on a new car shows estimates based on controlled lab tests, not real driving. Those tests use a dynamometer (a machine that simulates driving), standardized speeds, and no idling, traffic, or cold starts. Real life includes all of those things, which is why your actual mpg is usually 15 to 25 percent lower than the window sticker.

City driving produces lower mpg than highway driving because you accelerate and brake more often, and your engine spends time idling at red lights. Highway driving at steady speeds is more efficient. Cold weather also reduces mpg because a cold engine burns more fuel before it reaches operating temperature. Aggressive acceleration, towing, and carrying heavy loads all lower your fuel economy.

If your measured mpg is dramatically lower than the EPA estimate—say, 20 mpg when the sticker says 28—something may need attention. A clogged air filter, worn spark plugs, low tire pressure, or a misaligned transmission can all reduce efficiency. Tracking your mpg over time helps you spot when your car's performance drops.

Using Your Car's Built-In Fuel Economy Display

Most modern cars have a trip computer that shows average mpg on the dashboard. This is convenient, but it's not always accurate. The computer estimates fuel consumption based on engine sensors, not actual fuel flow, so it can be off by several mpg depending on the car and driving conditions.

The built-in display is useful for spotting trends—if your average mpg drops suddenly, that's worth investigating. But for a true measurement, the manual method (fill-up to fill-up) is more reliable. Use the dashboard display to track whether your efficiency is changing, then verify with the fill-up method if you want an exact number.

Factors That Lower Your Fuel Economy

Tire pressure is one of the easiest things to control. Underinflated tires create more rolling resistance, which forces your engine to work harder. Check your tire pressure monthly and inflate to the pressure listed on the driver's door jamb (not the maximum pressure on the tire itself). Properly inflated tires can improve mpg by 3 percent or more.

Idling burns fuel without moving you anywhere. Sitting in a drive-through or waiting for someone wastes mpg. Removing excess weight from your car—roof racks, cargo carriers, or items in the trunk—reduces the load your engine has to move. Aggressive driving, rapid acceleration, and speeding all lower fuel economy. Smooth, steady acceleration and maintaining highway speeds under 60 mph improves mpg.

Engine maintenance matters too. A dirty air filter makes your engine work harder. Worn spark plugs reduce combustion efficiency. Old or wrong-grade motor oil increases friction. Regular maintenance keeps your engine running at its designed efficiency.

Comparing Fuel Economy Across Different Vehicles

When comparing two cars, use the EPA estimates on the window sticker as a starting point, but remember those numbers don't reflect real-world driving. If you're deciding between two vehicles, calculate the annual fuel cost based on your actual driving habits and local gas prices, not just the mpg number.

A car rated 25 mpg costs more to fuel than one rated 30 mpg, but the difference depends on how many miles you drive per year and what gas costs in your area. If you drive 12,000 miles per year and gas costs $3.50 per gallon, a 25 mpg car costs about $1,680 per year in fuel, while a 30 mpg car costs about $1,400. Over five years, that's a $1,400 difference. Compare that to the price difference between the two vehicles to see whether the more efficient car makes financial sense for you.

Frequently Asked Questions

Does my car's mpg get better after it warms up?

Yes. A cold engine burns more fuel before it reaches operating temperature, which is why short trips produce lower mpg than longer ones. If you measure fuel economy over a 50-mile trip that includes a cold start, your result will be lower than if you measure the same distance after the engine is already warm. For the most realistic picture of your car's efficiency, measure over longer distances that include varied driving conditions.

Should I use premium gas to improve fuel economy?

Only if your car's manual specifies premium fuel. Using premium in a car designed for regular gas does not improve mpg. If your car requires premium, using regular can damage the engine and reduce efficiency. Check your owner's manual or the fuel door for the correct grade.

Why does my mpg vary so much between fill-ups?

Driving conditions, weather, and how you accelerate all affect mpg. A tank driven mostly on the highway will show better mpg than one driven mostly in the city. Cold weather reduces mpg. Aggressive driving lowers it. Measuring over multiple fill-ups and averaging the results gives you a more stable picture than any single tank.

Can I calculate mpg using the trip odometer instead of the main odometer?

Yes, as long as you reset the trip odometer at the same moment you fill up. The trip odometer is actually easier to use because you don't have to subtract numbers—it shows you the miles driven directly. Just make sure you reset it at the pump, not later, so the distance matches the fuel you actually used.

What's the difference between city and highway mpg on the EPA sticker?

City mpg is lower because the EPA test includes frequent acceleration, braking, and idling. Highway mpg is higher because it simulates steady-speed driving with fewer stops. Your real-world mpg will fall somewhere between these two numbers depending on your actual driving mix. If you drive mostly city streets, expect results closer to the city number. If you drive mostly highways, expect results closer to the highway number.