The Basic Formula for Miles Per Gallon
Miles per gallon is the distance your vehicle travels divided by the gallons of fuel it used to cover that distance. The math is straightforward: divide the miles driven by the gallons consumed. If you drove 300 miles and used 10 gallons, your MPG is 30 (300 ÷ 10 = 30 MPG).
You need two numbers to make this calculation: the odometer reading at the start and end of your test period, and the amount of fuel you put in the tank. The accuracy of your result depends on how carefully you measure both. Most people calculate MPG over a full tank of fuel, which smooths out the variation you would see from a single fill-up.
Key Takeaways
- Divide total miles driven by total gallons used: if you drove 250 miles and burned 10 gallons, your MPG is 25.
- Reset your trip odometer at the pump when you fill the tank, then note the odometer reading when you fill up again to get an accurate mileage count.
- Calculate MPG over a full tank of fuel rather than a single fill-up, because one tank smooths out day-to-day variation in driving conditions.
- Your real-world MPG will almost always be lower than the EPA estimate on the window sticker, because EPA tests happen under controlled conditions.
- Aggressive acceleration, highway speeds above 50 mph, and idling all reduce your MPG compared to steady, moderate driving.
Step-by-Step: Measuring Your Actual Fuel Economy
Start at a gas pump with a full tank. Write down the odometer reading or reset your trip odometer to zero. Drive normally for at least a week or until you have used roughly half a tank—the longer the period, the more accurate your result.
When you return to the pump to refuel, note the odometer reading before you pump. Divide the miles shown on your odometer (or trip meter) by the number of gallons the pump displays when your tank is full. That number is your MPG for that tank.
Repeat this process over three to five fill-ups to get a realistic picture of your vehicle's fuel economy. One tank can be skewed by a long highway trip or a week of city driving; multiple tanks show you the average.
Why Your Real MPG Differs From the EPA Estimate
The EPA label on a new car's window shows estimates based on controlled laboratory tests, not real driving. Those tests use a fixed speed, moderate acceleration, and no idling. Your actual driving includes traffic stops, cold starts, highway speeds, and aggressive acceleration—all of which lower fuel economy.
Most drivers see MPG that is 10 to 20 percent lower than the EPA highway estimate and 15 to 30 percent lower than the city estimate. Hybrid vehicles often show a bigger gap because their efficiency advantage shrinks in highway driving, where the gas engine runs more. Older vehicles with worn engines or clogged air filters may also fall short of their original EPA rating.
Factors That Lower Your Miles Per Gallon
Driving behavior has the largest effect on fuel economy. Rapid acceleration from a stop, speeding (especially above 50 mph), and excessive idling all burn more fuel than steady, moderate driving. Jackrabbit starts can reduce MPG by 15 to 30 percent on a single trip.
Vehicle condition matters too. Under-inflated tires increase rolling resistance and can lower MPG by 3 percent per 1 PSI below the recommended pressure. A clogged air filter, worn spark plugs, or low-quality motor oil also reduce efficiency. Cold weather lowers MPG because the engine runs richer (more fuel, less air) until it warms up, and cold air is denser and creates more drag.
Cargo weight and roof racks increase fuel consumption. Every 100 pounds of cargo reduces MPG by roughly 1 to 2 percent. A roof rack or cargo carrier can cut highway MPG by 5 to 25 percent depending on its size and shape, because it disrupts airflow over the vehicle.
Using Your Trip Computer or Fuel Economy Apps
Most vehicles built in the last 15 years have a trip computer that displays average MPG. This feature calculates the same way you do by hand—miles divided by gallons—but updates continuously as you drive. The trip computer's number is usually close to your hand-calculated result, though it may vary slightly depending on how the manufacturer's software rounds the numbers.
Reset your trip computer at each fill-up to track MPG for that tank. Some vehicles show both instantaneous MPG (the current moment) and average MPG (since the last reset); focus on the average, because instantaneous MPG bounces around and is not useful for tracking real fuel economy.
Smartphone apps like Fuelly and GasBuddy let you log fill-ups and track MPG over months or years. These apps are useful if you want to spot trends—for example, whether your MPG drops in winter or after a service visit—but they require you to enter the numbers yourself.
Common Mistakes That Skew Your Calculation
The most common error is not filling the tank completely at the start and end of your test period. A half-full tank at the beginning and a three-quarter-full tank at the end will throw off your mileage count. Use the same pump nozzle setting (usually "regular" or "full") each time, and stop when the pump clicks off automatically rather than topping off by hand.
Another mistake is calculating MPG from a single fill-up. One tank can be skewed by a long highway trip, a week of city traffic, or a cold snap. Three to five tanks give you a much clearer picture of what your vehicle actually delivers.
Do not mix metric and imperial units. If your odometer reads in miles, use gallons (US gallons, not imperial gallons, which are larger). If your odometer reads in kilometers, use liters and calculate kilometers per liter (km/L) instead. Converting between the two introduces rounding errors.
Frequently Asked Questions
Why does my trip computer show higher MPG than my hand calculation?
Trip computers sometimes round differently than you do, or they may calculate based on fuel flow rather than actual gallons pumped. The difference is usually small (1 to 3 MPG). Hand calculation using the pump's gallon display is more reliable because it measures real fuel consumed, not an estimate.
Does hypermiling (coasting in neutral, drafting behind trucks) actually improve MPG?
Coasting in neutral can improve MPG slightly but reduces engine braking and makes the vehicle harder to control. Drafting behind large trucks is dangerous and illegal in many states. Steady acceleration, moderate speeds, and proper tire pressure deliver most of the fuel savings without the risk.
Should I calculate MPG for city driving and highway driving separately?
Yes, if you want to understand how your vehicle performs in each condition. City driving typically yields 20 to 40 percent lower MPG than highway driving because of frequent stops and lower speeds. Tracking them separately helps you spot whether a service issue is affecting one type of driving more than the other.
Does premium fuel improve my MPG?
Premium fuel improves MPG only if your vehicle's engine is designed for it (usually high-performance or luxury models). For most vehicles, regular fuel delivers the same MPG. Using premium in a car that does not require it wastes money without improving fuel economy.
How often should I recalculate my MPG?
Calculate MPG every few months or after a major service, tire rotation, or change in driving patterns. If you notice a sudden drop of more than 10 percent, have your vehicle inspected for air filter clogs, tire pressure loss, or engine problems.