GC
GarageCalc
Car dashboard showing fuel gauge and odometer display

How to Calculate MPG: Formula, Examples, and Accuracy Tips

·9 min read
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.
MeasurementExample
Trip start0.0 miles (odometer reset)
Trip end347.2 miles
Gallons pumped14.1 gallons
MPG347.2 / 14.1 = 24.6 MPG
One tank isn't enough for an accurate average. Temperature, terrain, traffic, and driving style vary tank to tank. I track three consecutive tanks and average them. That smooths out the time you sat in 45 minutes of traffic and the tank where you drove 200 miles of open highway.

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:

VehicleEPA CombinedReal-World AverageDifference
Toyota Camry (2024, 2.5L)32 mpg29-31 mpg-3 to -9%
Honda CR-V (2024, 1.5T)30 mpg27-29 mpg-3 to -10%
Ford F-150 (2024, 3.5 EcoBoost)22 mpg18-20 mpg-9 to -18%
Toyota RAV4 Hybrid (2024)40 mpg37-39 mpg-3 to -8%
Chevy Silverado (2024, 5.3L V8)20 mpg16-18 mpg-10 to -20%
Tesla Model 3 (2024, LR)132 MPGeN/A (electric)N/A
Trucks and V8 vehicles show the biggest EPA-to-real gap because the EPA test cycle doesn't account for wind resistance at highway speed on a vehicle with the aerodynamic profile of a brick. The F-150's EcoBoost lives up to its name only in city driving — on the highway, the turbo stays spooled and fuel economy drops to 16-17 MPG in real conditions.

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 DateMilesGallonsMPGNotes
Mar 231215.819.7Mixed driving, cold weather
Mar 1538716.223.9Highway road trip
Mar 2829515.119.5City commute week
Apr 834114.922.9Mostly highway, warmer
Apr 2027816.417.0Towing boat, uphill
Average322.615.720.6
Five tanks gives me 20.6 MPG average — a number I can actually use for budgeting. If I only looked at the highway tank (23.9) or the towing tank (17.0), I'd be way off.

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
MPGL/100kmEfficiency Level
1515.7Poor (large trucks, towing)
2011.8Below average (full-size trucks)
259.4Average (SUVs, crossovers)
307.8Good (sedans, small SUVs)
356.7Very good (efficient sedans)
405.9Excellent (hybrids)
504.7Outstanding (plug-in hybrids, some hybrids)
Notice that the relationship isn't linear. Going from 15 to 20 MPG saves more fuel than going from 35 to 40 MPG, even though both are a 5 MPG improvement. At 15 MPG, you use 6.67 gallons per 100 miles. At 20 MPG, you use 5.00 gallons — a savings of 1.67 gallons per 100 miles. At 35 MPG you use 2.86 gallons, and at 40 MPG you use 2.50 — a savings of only 0.36 gallons per 100 miles.

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 SpeedApprox MPG Penalty vs 55 mph
55 mphBaseline
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%
For a vehicle that gets 30 MPG at 55, that drops to about 22-24 MPG at 75. The math is brutal. If you commute 50 miles of highway daily, slowing from 75 to 65 saves roughly $600-900 per year at current gas prices.

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.