The basic formula for MPG
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 to drive those miles. The formula is: miles driven ÷ gallons used = MPG.
The calculation itself takes less than a minute once you have two numbers: your odometer reading at the start and end of a tank, and how many gallons you pumped to refill. Most drivers calculate MPG over a full tank of gas, which gives a more reliable picture than a single fill-up, because it smooths out the variation from one driving pattern to another.
Key Takeaways
- MPG is calculated by dividing miles driven by gallons used, and the most accurate method is to track a full tank from empty to empty.
- Fill your tank completely at the start, note the odometer, drive normally, then fill again and record both the new odometer reading and gallons pumped.
- Your car's trip computer or fuel economy display can show MPG in real time, but manual calculation over a full tank is more reliable for spotting changes in efficiency.
- MPG varies based on driving habits, road conditions, vehicle load, and maintenance, so tracking it over time helps you notice when something is wrong.
- A significant drop in MPG—more than 10 to 15 percent below your usual average—often signals a maintenance issue worth investigating.
Step-by-step manual calculation
Start with a full tank. Pull into a gas station and fill your tank until the pump clicks off. Note the exact odometer reading at that moment—write it down or take a photo. This is your starting point.
Drive normally for at least 100 to 200 miles. The longer the distance, the more accurate your calculation will be, because it averages out short-term variations in how you drive. When your fuel gauge drops noticeably or you want to refill, return to a gas station.
Fill the tank again until the pump clicks off. Note the new odometer reading. Look at the pump display to see how many gallons went in—this is the amount of fuel you used during the drive. Subtract your starting odometer reading from your ending reading to get total miles driven. Then divide miles by gallons.
Example: You start at 45,000 miles with a full tank. After driving, your odometer reads 45,240 miles. You pump 12 gallons to refill. Your calculation is 240 miles ÷ 12 gallons = 20 MPG.
Using your car's fuel economy display
Most cars built in the last 10 to 15 years have a trip computer or dashboard display that shows fuel economy in real time. You can usually access it through a menu on your instrument cluster or infotainment screen. The display may show MPG updated every few seconds, average MPG since you last reset it, or both.
These displays are convenient for spotting trends, but they are not always as accurate as manual calculation. The sensors that feed the display can drift slightly over time, and different manufacturers calibrate them differently. For that reason, use the display as a guide but verify your actual MPG with manual calculation at least once every few months.
To reset the trip computer, look for a "reset" or "clear" button on the steering wheel or in the menu. Some cars reset automatically when you turn the key off; others require you to hold the button. Check your owner's manual for the exact method for your vehicle.
Why MPG matters for maintenance
Your MPG is one of the earliest warning signs that something in your fuel or ignition system needs attention. A sudden drop in fuel economy—typically 10 to 15 percent or more below your normal average—often points to a problem before you notice any other symptoms.
Common causes of poor MPG include a clogged air filter, a faulty oxygen sensor, worn spark plugs, low tire pressure, or a malfunctioning thermostat. A fuel leak or a problem with your fuel injectors can also reduce efficiency. Tracking your MPG over time makes these issues visible early, when they are cheaper to fix.
If your MPG drops noticeably, check your tire pressure first—underinflated tires are the most common culprit and the easiest to fix. If pressure is normal, note the change and mention it to your mechanic at your next service. Bring your calculation records with you so the mechanic can see the trend.
Factors that affect your MPG
Your actual MPG depends on how and where you drive. City driving—with frequent stops, starts, and idling—uses more fuel than highway driving at steady speeds. Cold weather reduces MPG because your engine needs more time to warm up and fuel burns less efficiently in cold air. Carrying heavy loads, towing, or driving with the windows down at highway speeds all increase fuel consumption.
Driving habits matter too. Rapid acceleration, hard braking, and speeding all lower MPG. Conversely, smooth acceleration, coasting to red lights, and maintaining steady speeds improve it. If you notice your MPG varies widely from one calculation to the next, the difference is usually due to these driving and weather factors rather than a mechanical problem.
For the most meaningful comparison over time, calculate MPG under similar conditions—same route, same season, same driving style. This makes it easier to spot a real change in efficiency rather than a change caused by external factors.
Comparing your MPG to the EPA estimate
Your car's window sticker or owner's manual lists EPA (Environmental Protection Agency) fuel economy estimates for city, highway, and combined driving. These numbers are based on standardized tests and represent what an average driver might see under typical conditions.
Your actual MPG may be higher or lower than the EPA estimate. If you drive mostly on highways at steady speeds, you may beat the estimate. If you drive in heavy city traffic or in cold climates, you may fall short. A difference of 10 to 20 percent from the EPA number is normal and not a sign of a problem.
If your MPG is consistently 20 to 30 percent below the EPA estimate, or if it has dropped sharply from your own baseline, that is worth investigating with a mechanic. It could indicate a maintenance issue or a developing problem with the engine or fuel system.
Frequently Asked Questions
Should I calculate MPG on a full tank or a partial tank?
A full tank gives the most reliable result because it averages out more driving and smooths out measurement errors. If you fill from empty to empty, you capture a complete cycle. Partial-tank calculations work but are less accurate, especially if you drive fewer than 50 miles between fill-ups.
Why does my trip computer show different MPG than my manual calculation?
Trip computers estimate MPG based on fuel flow sensors and engine data, which can drift slightly over time or vary by manufacturer. Manual calculation using actual gallons pumped and odometer readings is more precise. If the two numbers differ by more than 5 to 10 percent, your trip computer may need recalibration at a service center.
What MPG should I expect from my car?
Check your owner's manual or the EPA sticker on the window for the estimate. Your actual MPG depends on driving conditions, habits, and maintenance. City driving typically yields 15 to 25 percent lower MPG than highway driving in the same vehicle.
Does premium fuel improve my MPG?
Premium fuel does not improve MPG unless your car's engine is designed to run on it. Use the fuel grade your owner's manual specifies. Using a higher grade than required will not change your efficiency or performance.
How often should I calculate my MPG?
Once a month or every few fill-ups is enough to spot trends and catch problems early. If you notice a sudden drop, calculate again within a week to confirm the change is real and not a one-time variation from different driving conditions.