MPG Calculator
Calculate actual miles per gallon from a fill-up, then estimate trip fuel cost, annual fuel cost, tank range, gallons per 100 miles, L/100 km, km/L, route-adjusted benchmark gaps, and tailpipe CO2.
Last Updated: July 2026
Real-World MPG Notice
One fill-up can be noisy because pump shutoff, traffic, weather, idle time, and route mix vary. For the best real-world MPG, repeat this after several full-tank logs.
MPG, trip cost, tank range, and annual fuel budget
Calculate actual miles per gallon from a fill-up
Enter miles driven and gallons used, then compare actual MPG with city/highway ratings, expected route mix, previous MPG, fuel cost, tank range, and emissions.
Fill-up Inputs
Benchmark Inputs
Used to build a route-adjusted expected MPG from city and highway ratings.
Actual Fuel Economy
28.98 MPG
3.45 gallons per 100 miles, or 8.12 L/100 km.
Benchmark screen
On track for entered driving mix
Trip Fuel Cost
$43.07
Annual Fuel Cost
$1,700.13
Tank Range
412 mi
Cost per Mile
$0.126
Route-Expected MPG
30.4 MPG
Target MPG Savings
$160.29 saved
Review Before You Diagnose MPG
- The target MPG would reduce annual fuel cost at the entered fuel price and annual mileage. Use the gap to decide whether maintenance or driving changes are worth it.
MPG Benchmark Comparison
Compare actual MPG with route-adjusted expected MPG, your previous result, and a target.
Cost and Range Summary
| Metric | Result | Meaning |
|---|---|---|
| Trip fuel cost | $43.07 | 3.45 gallons per 100 miles. |
| Annual fuel cost | $1,700.13 | 465.8 gallons per year at the entered annual mileage. |
| Tank range | 412 miles | Estimated distance on one full tank at actual MPG. |
| Annual CO2 | 4.14 metric tons | Tailpipe CO2 estimate using EPA gasoline or diesel factors. |
Fuel Economy Planning Notice
This calculator is an educational fuel-economy and budgeting tool. It does not replace official EPA ratings, manufacturer data, maintenance diagnosis, emissions testing, or professional mechanical inspection.
Checked by Jitendra Kumar
MPG Calculator is checked for formula labels, source links, and result limits.
Jitendra Kumar, Founder & Editorial Standards Lead. Updated July 2026. Scope: automotive calculators.
How to Use the MPG Calculator

Quick answer
MPG equals miles driven divided by gallons used. If you drove 342 miles and used 11.8 gallons, your actual fuel economy is 342 / 11.8 = 28.98 MPG. This calculator also converts that result to gallons per 100 miles, L/100 km, km/L, trip cost, annual fuel cost, tank range, and route-adjusted benchmark gaps.
Enter the trip distance and gallons used from the same fill-up interval. Add fuel price, annual miles, tank size, city/highway ratings, and city-driving share if you want the calculator to compare actual MPG with a realistic route mix.
Use the Gas Calculator for route-level fuel stops and shared trip costs, and use the Fuel Consumption Converter when you need MPG, km/L, and L/100 km conversions.
Step 1: Record miles driven
Use the trip odometer or odometer difference for the same interval as the fuel purchase.
Step 2: Enter gallons used
Use gallons added at the pump. Full-tank-to-full-tank logs are usually more reliable than partial fill-ups.
Step 3: Add fuel price and annual miles
These inputs convert MPG into trip cost, annual fuel cost, and cost per mile.
Step 4: Compare against route mix
Enter city and highway MPG ratings plus the city-driving share to build a route-adjusted expectation.
Step 5: Review cost, range, and warnings
Check gallons per 100 miles, L/100 km, tank range, target savings, CO2, and any below-expected MPG warning.
MPG Formulas and Methodology
The calculator starts with the standard MPG formula, then adds fuel-cost, range, emissions, and benchmark context. EPA label materials show city, highway, and combined MPG, with combined MPG weighted for comparison. This calculator also lets you create a custom route mix because a city-heavy commute should not be judged against a highway-only rating.
| Metric | Formula | Why it matters |
|---|---|---|
| Actual MPG | miles driven / gallons used | The core fill-up fuel-economy result. |
| Gallons per 100 miles | 100 / MPG | Often shows fuel savings more clearly than MPG. |
| L/100 km | 235.214583 / MPG | Metric fuel-consumption equivalent where lower is better. |
| Trip fuel cost | gallons used x fuel price | Turns the fill-up into a trip cost. |
| Annual fuel cost | annual miles / MPG x fuel price | Translates MPG into an annual budget. |
| Tank range | tank gallons x actual MPG | Estimated miles from a full tank at measured MPG. |
| Route-expected MPG | 1 / (city share / city MPG + highway share / highway MPG) | Compares actual MPG with the entered city/highway driving mix. |
| Example | Input | Result |
|---|---|---|
| Basic MPG | 342 miles and 11.8 gallons | 342 / 11.8 = 28.98 MPG. |
| Fuel cost | 11.8 gallons at $3.65/gal | 11.8 x $3.65 = $43.07 for the fill-up interval. |
| Annual cost | 13,500 miles at 28.98 MPG and $3.65/gal | About $1,700 per year. |
| Metric conversion | 28.98 MPG | About 8.12 L/100 km and 12.32 km/L. |
Official EPA video: fuel economy label context
This EPA video is relevant because MPG comparisons often start from the fuel-economy label. Use the label as a standardized comparison point, then use your own fill-up logs to measure real-world MPG.
If the embedded player is slow to load, open the EPA fuel-economy label video.
How to Interpret Real-World MPG
Real-world MPG is not a single permanent number. It changes with driving mix, weather, speed, tire pressure, roof racks, cargo, grade, fuel blend, maintenance, and idle time. DOE notes that aggressive driving can lower gas mileage substantially, especially at highway speeds and in stop-and-go traffic. EPA provides CO2 factors for gasoline and diesel, which the calculator uses for a planning emissions estimate.
Common MPG Mistakes
| Mistake | Better approach |
|---|---|
| Using a partial fill-up | Use full-tank-to-full-tank logs or odometer/trip data with gallons from the same interval. |
| Comparing highway rating to city traffic | Use route-adjusted expected MPG when the trip is city-heavy or mixed. |
| Ignoring gallons per 100 miles | Use gallons/100 miles when comparing inefficient vehicles or annual fuel savings. |
| Diagnosing from one tank | Repeat over several tanks before assuming a mechanical problem. |
| Forgetting weather and load | Cold starts, AC, roof racks, towing, cargo, and tire pressure can change real MPG. |
| Confusing MPG and L/100 km | Higher MPG is better; lower L/100 km is better. |
Better Than a Basic MPG Calculator
| Tool | Inputs | Practical output |
|---|---|---|
| Basic MPG calculator | Distance, fuel used, fuel economy, fuel price | Useful for the main MPG formula and trip fuel cost, but it does not compare actual MPG with city/highway route mix, previous MPG, target savings, tank range, annual CO2, or gallons per 100 miles. |
| This MPG Calculator | Trip distance, gallons, fuel price, annual miles, tank size, city/highway ratings, city-driving share, previous MPG, target MPG, and fuel type | Shows actual MPG, gallons per 100 miles, L/100 km, km/L, trip cost, annual cost, tank range, EPA-style combined MPG, route-adjusted expected MPG, target savings, and tailpipe CO2. |
| Best real-world workflow | Several full-tank logs plus EPA label context | Use multiple fill-ups to smooth pump shutoff and route variation, then compare against official ratings and your own historical MPG. |
Keep the research moving with Gas Calculator, Fuel Consumption Converter, Miles per Year Calculator, and Drive Time Calculator.
Frequently Asked Questions
Related Calculators
Gas Calculator
Estimate route fuel cost, cost per mile, tank range, annual gas spend, and shared trip fuel split.
Use Gas CalculatorFuel Consumption Converter
Convert MPG, km/L, L/100 km, and gallon-based fuel economy units correctly.
Use Fuel Consumption ConverterMiles per Year Calculator
Annualize mileage from odometer readings, monthly miles, or commute plans.
Use Miles per Year CalculatorDrive Time Calculator
Estimate drive time, arrival time, fuel stops, rest stops, and schedule buffers.
Use Drive Time CalculatorSources & References
- 1.Omni Calculator - MPG Calculator(Accessed July 2, 2026)
- 2.EPA - Text Version of the Gasoline Label(Accessed July 2, 2026)
- 3.FuelEconomy.gov - Fuel Economy Tools and My MPG(Accessed July 2, 2026)
- 4.Department of Energy - Driving More Efficiently(Accessed July 2, 2026)
- 5.EPA - Greenhouse Gas Emissions from a Typical Passenger Vehicle(Accessed July 2, 2026)