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.
Inputs
Fuel Economy
—
Explain my result
Get a plain-English breakdown of your result with practical next steps.
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