The basic formula: divide miles driven by gallons used
Miles per gallon, or MPG, is the distance your vehicle travels on one gallon of fuel. To calculate it, you need two numbers: the total miles you drove and the total gallons of fuel you put in the tank. The formula is straightforward: divide miles by gallons.
The math works the same whether you're tracking a single fill-up or averaging across months of driving. Most drivers calculate MPG to understand fuel costs, compare vehicles, or notice when their car's efficiency drops — which can signal a maintenance problem.
Key Takeaways
- MPG = miles driven ÷ gallons of fuel used; you need an accurate starting odometer reading and an accurate final reading to get a reliable number.
- Fill your tank completely at the start and end of each measurement period so you know exactly how many gallons went into the car.
- Most vehicles show real-time MPG on the dashboard display, but manual calculation using the pump and odometer is more precise for spotting trends.
- Seasonal changes, driving habits, and maintenance issues all affect MPG, so comparing numbers across different periods tells you more than a single calculation.
Step-by-step calculation using your odometer and fuel pump
Start by filling your tank completely. Note the odometer reading at that moment — write it down or take a photo. This is your starting point. Drive normally until you want to measure the next period, then return to a gas station and fill the tank again to full. Write down the new odometer reading.
Subtract the first odometer reading from the second. That number is your miles driven. At the pump, note how many gallons it took to fill the tank the second time — that's your fuel consumption. Divide miles driven by gallons pumped. The result is your MPG for that period.
For example: you start at 50,000 miles on the odometer and fill up. You drive for two weeks and return to fill up again at 50,420 miles. The pump shows 14 gallons. You drove 420 miles on 14 gallons: 420 ÷ 14 = 30 MPG.
Why your dashboard MPG reading differs from your manual calculation
Most modern vehicles display MPG on the instrument cluster or infotainment screen. This number is calculated by the car's computer using data from the engine and fuel injectors. It updates in real time as you drive, showing you current efficiency at any moment.
Dashboard MPG is often higher than what you calculate manually. The computer estimates fuel consumption based on injector pulses, which can be less precise than the actual gallons you pump. Rounding errors and variations in how full you fill the tank also matter. Manual calculation using the pump and odometer is generally considered more accurate for tracking long-term trends, even if it requires more effort.
Use the dashboard display for quick awareness during daily driving. Use manual calculation when you want to compare your car's efficiency across months or seasons, or when you suspect a problem.
Factors that change your MPG from one fill-up to the next
Driving habits have the largest effect. Aggressive acceleration, frequent braking, and highway speeding all lower MPG. Steady acceleration, coasting to red lights, and moderate speeds improve it. A single aggressive week of driving can drop your average by 2 to 4 miles per gallon compared to calm driving.
Weather and season matter too. Cold engines use more fuel to warm up, and winter fuel blends are less energy-dense than summer blends. Tire pressure drops in cold weather, increasing rolling resistance and lowering MPG. A properly inflated tire can improve efficiency by 1 to 3 percent.
Vehicle load and maintenance affect the number as well. Carrying extra weight — roof racks, cargo, passengers — reduces MPG. A clogged air filter, worn spark plugs, or misaligned wheels all reduce efficiency. If your MPG drops suddenly without a change in driving habits, a maintenance issue is often the cause.
Comparing MPG across different vehicles and time periods
A single MPG calculation tells you how efficient your car was during one tank. Comparing multiple calculations over weeks or months tells you whether your car is performing normally or declining. Track your numbers in a spreadsheet or note app, recording the date, miles, gallons, and calculated MPG each time you fill up.
When comparing two different vehicles, use the same method for both — manual calculation from pump and odometer — so the numbers are on equal ground. Dashboard displays can vary in accuracy between manufacturers. If you're considering buying a used car, ask the owner for their average MPG over the past few months; a sudden drop from their historical average can indicate a problem.
Remember that EPA-rated MPG (the number on the window sticker of a new car) is based on controlled lab driving, not real-world conditions. Your actual MPG will usually be lower, especially in city driving or cold weather.
Tracking MPG to spot maintenance problems early
A gradual decline in MPG over months is normal as a car ages. A sudden drop — losing 3 or more miles per gallon in a single fill-up or two — often signals a problem worth investigating. Common causes include a faulty oxygen sensor, a clogged fuel injector, worn spark plugs, or low tire pressure.
Before assuming a mechanical issue, rule out driving and weather factors. Did you drive mostly highway or city? Was it unusually cold? Did you carry extra weight? If none of those explain the drop, check your tire pressure with a gauge (the number on the tire sidewall is the maximum, not the recommended pressure — check your door jamb for the correct number). If tire pressure is normal, have a mechanic scan for engine codes.
Catching efficiency problems early can save you money on fuel and prevent larger repairs down the road.
Frequently Asked Questions
Does it matter if I don't fill the tank completely at the start?
Yes. If you start at three-quarters full and end at three-quarters full, the calculation still works — you're measuring the same fuel consumption. But if you start at half-full and end at three-quarters full, you're measuring an inconsistent amount. For the most reliable tracking, fill completely at both the start and end of each measurement period.
Why is my car's MPG worse in winter?
Cold engines need more fuel to reach operating temperature, and winter fuel blends contain less energy per gallon than summer blends. Tire pressure also drops in cold weather, increasing rolling resistance. Expect 10 to 15 percent lower MPG in winter compared to summer, depending on how cold it gets and how much you drive short distances.
Can I calculate MPG for just one day of driving?
Technically yes, but the number won't be reliable. One day's driving includes too many variables — traffic patterns, weather, and driving style — to show your car's true efficiency. Calculate MPG across at least one full tank, ideally two or more, to smooth out daily variations and get a meaningful number.
What's a good MPG for my car?
That depends on the vehicle type and age. A new sedan might average 28 to 35 MPG; a truck or SUV might average 18 to 25 MPG. Check your vehicle's EPA rating on fueleconomy.gov or your owner's manual. If your actual MPG is within 10 to 15 percent of the EPA estimate, your car is performing normally.