terican

Last verified · v1.0

Calculator · general

Mpg (Miles Per Gallon) Calculator

Calculate miles per gallon (MPG) by entering miles driven and gallons used to instantly measure your vehicle's fuel efficiency.

FreeInstantNo signupOpen source

Inputs

Fuel Economy

Explain my result

0/3 free

Get a plain-English breakdown of your result with practical next steps.

Fuel EconomyMPG

The formula

How the
result is
computed.

What Is MPG and Why Does It Matter?

Miles per gallon (MPG) is the primary unit of fuel economy used in the United States, measuring how efficiently a vehicle converts gasoline into forward motion. A higher MPG means the vehicle travels farther on each gallon of fuel, which directly reduces annual fuel spending and lowers per-mile carbon emissions. According to the U.S. Department of Energy's Alternative Fuels Data Center, fuel economy is one of the most significant variables in calculating total vehicle ownership cost over time.

The MPG Formula

The miles per gallon calculation uses a single division operation:

MPG = Miles Driven ÷ Gallons Used

Both inputs must reflect the same fueling interval — typically the distance and fuel consumed between two consecutive complete fill-ups.

Variable Definitions

  • Miles Driven — the total distance traveled between two consecutive full-tank fill-ups, measured using the vehicle odometer in miles
  • Gallons Used — the number of gallons pumped to restore the tank to the same fill level as the previous stop; this equals the fuel actually burned during the interval

Accurate Measurement Procedure

For the most reliable reading: fill the tank completely and note the odometer reading. Drive normally under typical conditions. At the next fuel stop, fill the tank completely again, record the new odometer reading, and note the exact gallons pumped. The odometer difference is miles driven; the gallons pumped at the second stop are gallons used.

Worked Example

A driver notes an odometer reading of 45,200 miles at a full fill-up, returns to the pump when the odometer reads 45,650 miles, and pumps 12.5 gallons:

  • Miles Driven = 45,650 − 45,200 = 450 miles
  • Gallons Used = 12.5 gallons
  • MPG = 450 ÷ 12.5 = 36 MPG

For context, the U.S. EPA estimates average combined fuel economy for new passenger cars at approximately 28–30 MPG. A calculated result of 36 MPG reflects above-average efficiency for a standard gasoline-powered vehicle.

Factors That Affect Real-World MPG

Actual MPG commonly differs from the EPA window-sticker rating due to real driving conditions:

  • Vehicle speed — fuel economy peaks near 45–55 mph and falls sharply above 65 mph as aerodynamic drag increases with the square of speed
  • Tire pressure — underinflated tires reduce MPG by approximately 0.1–0.3% per PSI below the manufacturer's recommended level
  • Air conditioning load — A/C use can cut fuel economy by up to 25% in extreme heat conditions
  • Cargo and passenger weight — every additional 100 pounds reduces MPG by roughly 1%
  • Aggressive driving behavior — hard acceleration and abrupt braking can lower highway fuel economy by 15–30%
  • Cold starts and short trips — engines consume significantly more fuel before reaching optimal operating temperature, making trips under 5 miles especially inefficient

MPG in Federal Regulation and Research

Federal agencies use MPG as the foundation of fuel economy standards and reporting. The 2024 Petroleum-Equivalent Fuel Economy Calculation rule (Federal Register) establishes standardized methods for converting alternative-fuel and electric vehicle energy consumption into MPG-equivalent values, enabling direct comparisons across all powertrain types. The Oak Ridge National Laboratory's Methodologies for Estimating Fuel Consumption further documents how national-scale fuel economy data is collected, validated, and applied in transportation research.

MPG vs. L/100km

The United States uses MPG; most other countries use liters per 100 kilometers (L/100km), where a lower number signals better efficiency — the inverse of the MPG scale. To convert between the two: L/100km = 235.214 ÷ MPG. A vehicle rated at 30 MPG equals approximately 7.84 L/100km.

Practical Applications of the MPG Calculator

  • Road trip fuel budgeting — divide total trip mileage by MPG, then multiply by the current price per gallon for an accurate fuel cost estimate
  • Fleet management — monitoring MPG across a vehicle fleet identifies underperforming units that may need maintenance or replacement
  • Vehicle purchase comparison — comparing calculated real-world MPG against EPA estimates helps buyers evaluate actual efficiency before committing
  • Emissions tracking — each gallon of gasoline burned releases approximately 8.89 kg of CO2; a vehicle's MPG directly determines its per-mile carbon output

Reference

Frequently asked questions

How do I calculate MPG by hand?
Fill the fuel tank completely and record the odometer reading. Drive normally, then fill the tank completely again at the next stop. Note the new odometer reading and the exact gallons pumped. Subtract the first odometer reading from the second to get miles driven, then divide by gallons pumped. For example, 350 miles driven on 11.2 gallons equals 31.25 MPG.
What is considered a good MPG for a car?
For gasoline-powered passenger cars, 30 MPG or higher in combined driving is generally considered good by U.S. standards. Compact and midsize sedans often achieve 32-40 MPG, while pickup trucks and large SUVs typically fall between 15-22 MPG. Hybrid vehicles commonly reach 45-58 MPG combined. The EPA's official fuel economy guide at fueleconomy.gov lists every new model's ratings for direct side-by-side comparison.
Why is my actual MPG lower than the EPA estimate on the window sticker?
EPA estimates are generated under controlled laboratory conditions that do not reflect real driving. Highway speeds above 65 mph, air conditioning use, cold-weather starts, stop-and-go traffic, added cargo weight, and hard acceleration all reduce fuel economy. Research consistently shows real-world MPG runs approximately 15-20% below the EPA combined estimate, though the gap varies widely based on individual driving behavior and regional climate.
How much money does improving MPG by 1 save per year?
The savings depend on the baseline MPG, annual mileage, and local gas price. For a vehicle averaging 25 MPG that improves to 26 MPG, driving 15,000 miles per year at $3.50 per gallon saves approximately $81 annually. Importantly, the same 1 MPG gain at a lower starting point saves more money: going from 15 to 16 MPG saves about $219 per year under the same conditions, because the relationship between MPG and gallons consumed is nonlinear.
What is the difference between city MPG and highway MPG?
City MPG measures fuel economy in stop-and-go urban driving with frequent idling, lower average speeds, and repeated acceleration cycles, all of which consume more fuel per mile. Highway MPG measures steady-speed driving at 55-70 mph with minimal stops. Most vehicles achieve 20-35% better MPG on the highway than in the city. The EPA combined rating blends both scenarios using a weighting of approximately 55% city and 45% highway driving.
How can I improve my car's MPG?
Several proven strategies improve real-world fuel economy without mechanical modifications. Maintain tire pressure at the manufacturer's recommended PSI, since underinflation alone can cost up to 3% in MPG. Avoid hard acceleration and sudden braking. Remove unnecessary cargo from the trunk or roof rack. Use cruise control on highways to maintain a steady speed. Stay current on oil changes and air filter replacements. Simply reducing highway speed from 75 mph to 65 mph can improve MPG by 10-15%.