
How to Calculate MPG: Formula, Examples, and Accuracy Tips
Quick answer: MPG = miles driven / gallons used. Fill your tank, reset the trip odometer, drive until you need gas again, fill up, and divide the trip miles by gallons pumped. Example: 320 miles / 12.5 gallons = 25.6 MPG. Want to skip the math? Use the MPG calculator.
My truck's trip computer says 22.4 MPG. My actual hand-calculated MPG over the last six months is 19.8. That 2.6 MPG difference costs me about $380 per year in gas I didn't budget for. Trip computers lie — they're optimistic by 5-15% on most vehicles. If you want your real number, you need to calculate it yourself at least once.
The MPG Formula
The formula is straightforward:
MPG = Miles Driven / Gallons Used
That's it. No conversion factors, no complicated math. The hard part is getting accurate inputs — which most people get wrong.
Here's a step-by-step method that gives you a number within 1-2% of reality:
- Fill your tank completely. Stop when the pump clicks off automatically. Don't top off — it adds air to the tank and throws off the measurement.
- Reset your trip odometer to zero. If your car doesn't have a trip odometer, write down the current mileage.
- Drive normally until you need gas again. Don't change your habits — the point is measuring your real-world MPG, not your best-case scenario.
- Fill up again at the same pump if possible (different pumps auto-shutoff at different levels). Note the gallons pumped.
- Divide trip miles by gallons. That's your MPG for that tank.
| Measurement | Example |
|---|---|
| Trip start | 0.0 miles (odometer reset) |
| Trip end | 347.2 miles |
| Gallons pumped | 14.1 gallons |
| MPG | 347.2 / 14.1 = 24.6 MPG |
Real-World MPG Examples by Vehicle Type
The EPA estimate on the window sticker is a lab test on a dynamometer. Real-world numbers are almost always lower. Here's what actual owners report versus EPA numbers:
| Vehicle | EPA Combined | Real-World Average | Difference |
|---|---|---|---|
| Toyota Camry (2024, 2.5L) | 32 mpg | 29-31 mpg | -3 to -9% |
| Honda CR-V (2024, 1.5T) | 30 mpg | 27-29 mpg | -3 to -10% |
| Ford F-150 (2024, 3.5 EcoBoost) | 22 mpg | 18-20 mpg | -9 to -18% |
| Toyota RAV4 Hybrid (2024) | 40 mpg | 37-39 mpg | -3 to -8% |
| Chevy Silverado (2024, 5.3L V8) | 20 mpg | 16-18 mpg | -10 to -20% |
| Tesla Model 3 (2024, LR) | 132 MPGe | N/A (electric) | N/A |
Hybrids track closest to their EPA numbers because regenerative braking actually works better in the stop-and-go traffic that makes up part of the EPA test cycle.
Tank-to-Tank vs Long-Term Tracking
A single tank of gas tells you almost nothing useful. Here's why:
A single tank can vary by 20-30% depending on conditions. I've gotten 17 MPG and 24 MPG from the same truck in the same month — the 17 was towing a trailer through mountains, the 24 was a flat highway cruise with a tailwind.
Tank-to-tank tracking means recording every fill-up and calculating MPG each time. After 5-10 tanks, you'll have a solid average and you'll see patterns: winter vs summer, city vs highway, loaded vs empty.
Here's what my actual tracking log looks like:
| Fill Date | Miles | Gallons | MPG | Notes |
|---|---|---|---|---|
| Mar 2 | 312 | 15.8 | 19.7 | Mixed driving, cold weather |
| Mar 15 | 387 | 16.2 | 23.9 | Highway road trip |
| Mar 28 | 295 | 15.1 | 19.5 | City commute week |
| Apr 8 | 341 | 14.9 | 22.9 | Mostly highway, warmer |
| Apr 20 | 278 | 16.4 | 17.0 | Towing boat, uphill |
| Average | 322.6 | 15.7 | 20.6 |
The MPG calculator stores your entries so you can track over time without a spreadsheet.
MPG vs L/100km: Converting Between Systems
The US uses miles per gallon. Most of the world uses liters per 100 kilometers. They measure the same thing in opposite directions — higher MPG is better, but lower L/100km is better. This trips up everyone who crosses between systems.
Conversion formulas:
- L/100km = 235.215 / MPG
- MPG = 235.215 / L/100km
| MPG | L/100km | Efficiency Level |
|---|---|---|
| 15 | 15.7 | Poor (large trucks, towing) |
| 20 | 11.8 | Below average (full-size trucks) |
| 25 | 9.4 | Average (SUVs, crossovers) |
| 30 | 7.8 | Good (sedans, small SUVs) |
| 35 | 6.7 | Very good (efficient sedans) |
| 40 | 5.9 | Excellent (hybrids) |
| 50 | 4.7 | Outstanding (plug-in hybrids, some hybrids) |
This is why upgrading a gas-guzzler has a much bigger impact than squeezing a few more MPG from an already-efficient car. Trading a 15 MPG truck for a 25 MPG crossover saves more gas than trading a 30 MPG sedan for a 50 MPG hybrid.
What Affects Your MPG
Understanding these factors helps you predict whether your next tank will be above or below average.
Speed
Aerodynamic drag increases with the square of speed. At 55 mph, you're fighting moderate air resistance. At 75 mph, drag is almost twice as high. Most vehicles hit peak fuel efficiency between 45-55 mph.
| Highway Speed | Approx MPG Penalty vs 55 mph |
|---|---|
| 55 mph | Baseline |
| 60 mph | -3 to -5% |
| 65 mph | -8 to -12% |
| 70 mph | -14 to -18% |
| 75 mph | -20 to -25% |
| 80 mph | -25 to -30% |
Temperature
Cold weather kills fuel economy. At 20F, most vehicles lose 10-20% of their warm-weather MPG. The engine takes longer to reach operating temperature, the oil is thicker, tires are stiffer, and defrosters/heaters run constantly.
Tire Pressure
Every 1 PSI below the recommended pressure costs about 0.2% in fuel economy. That sounds small, but tires naturally lose 1-2 PSI per month. If you go three months without checking, you could be running 4-6 PSI low on all four tires — costing 2-3% fuel economy. That's $50-100 per year for literally two minutes at an air pump.
Weight
Every 100 lbs of extra weight reduces MPG by about 1-2%. That toolbox, golf clubs, and 40 lbs of junk in the trunk add up. I cleared 150 lbs of "I might need this" out of my truck bed and picked up almost a full MPG.
For a deeper dive with actionable fixes, read the gas mileage tips guide. For calculating the dollar impact of your MPG, use the fuel cost calculator.
Common MPG Calculation Mistakes
These errors throw off your numbers by 10-20%, which defeats the entire purpose of hand-calculating:
Topping off the tank. When the pump clicks off and you squeeze in another half-gallon, you're adding fuel to the vapor recovery area that may get sucked back out or overflow. Your "gallons pumped" reading is now wrong. Let it click and stop.
Using the trip computer instead of the odometer. Trip computers calculate fuel used from injector pulse width, not from actual fuel consumed. They don't account for fuel that evaporates, leaks, or sits in the lines. The odometer and physical gallons pumped are more accurate.
Not filling to the same level. If you filled to the brim last time and only filled until the first click this time, you've measured less fuel than actually used. The "same pump, same method" rule exists for a reason.
Calculating a partial tank. You drove 200 miles, put in 8 gallons, but the tank wasn't empty — you still had a quarter tank. Your calculation (200/8 = 25 MPG) would be right only if you'd started from a full tank. Always calculate from full-to-full.
Ignoring ethanol content. E85 fuel contains 15-27% less energy per gallon than regular E10 gasoline. If you accidentally fill with E85 (or even E15), your MPG will drop 15-27% through no fault of your driving. Check the pump label.
FAQ
How do I calculate MPG for a trip?
Fill your tank before the trip, note the odometer or reset the trip counter, drive the trip, then fill up again. Divide the miles driven by the gallons pumped. For a trip with multiple fill-ups, add all gallons and divide total miles by total gallons. Example: 850-mile trip with fill-ups of 12.3, 11.8, and 10.1 gallons = 850 / 34.2 = 24.9 MPG.
Why is my MPG different from the EPA estimate?
The EPA test is conducted on a dynamometer in controlled conditions: 77F, no wind, no hills, standardized acceleration patterns. Real driving includes cold starts, aggressive acceleration, highway speeds above 60 mph, AC use, hills, and cargo weight — all of which reduce fuel economy. Most drivers get 5-15% below the EPA combined rating.
Is city or highway MPG more accurate for my driving?
Neither, if your driving is mixed. The EPA "combined" rating uses a 55% city / 45% highway split, which matches the average American commute. If you're mostly highway, expect numbers closer to the highway rating. If you're mostly stop-and-go, expect city numbers. Track your own MPG for 5-10 tanks to get your real number — it's more useful than any EPA estimate.
How does AC affect fuel economy?
Air conditioning typically reduces MPG by 3-10% depending on the system efficiency and outside temperature. At highway speed, AC is more efficient than opening windows because open windows create aerodynamic drag that costs more fuel than running the compressor. In city driving below 40 mph, windows down beats AC.
Can I improve my MPG without modifying my car?
Yes. The biggest free improvements are maintaining proper tire pressure (worth 1-3%), removing unnecessary weight (1-2% per 100 lbs), driving at moderate speeds (saving 10-25% vs aggressive highway speeds), and avoiding rapid acceleration (5-10%). Combined, these can improve fuel economy by 15-25% with zero cost. See the full list in our gas mileage tips guide.
Next Steps
- Plug in your numbers and get an instant result with the MPG calculator — it handles single tanks, trip calculations, and long-term tracking.
- Turn your MPG into a dollar figure with the fuel cost calculator — see what each trip, commute, or road trip actually costs in gas.
- Read our 15 practical gas mileage tips for free improvements that actually work.