MPG Calculator

Calculate your vehicle's miles per gallon (MPG) fuel economy from distance driven and gallons used.

mi
gal
$/gal
mi
Miles Per Gallon
28 MPG
Rating: Good
L / 100 km
8.4
Metric equivalent
Cost Per Mile
$0.13
At $3.50/gal
Annual Fuel Cost
$1,500.00
429.00 gal/yr
CO₂ Per Mile
0.7 lbs
Gasoline combustion
Annual CO₂
8,400.00 lbs
12,000.00 mi/yr
MPG Rating
28 MPG
015304560+
Planning notes, formulas, and examples

About the MPG Calculator

Miles per gallon (MPG) is the standard measure of fuel economy in the United States. It tells you how far your vehicle can travel on a single gallon of fuel. Knowing your actual MPG helps you track fuel efficiency, compare vehicles, and budget for gas expenses.

This MPG calculator divides your total miles driven by the gallons of fuel used to produce an accurate fuel economy figure. You can use it after each fill-up to monitor your car's real-world performance, which often differs from the EPA sticker estimate.

Tracking MPG over time also helps you spot maintenance issues. A sudden drop in fuel economy can indicate problems like under-inflated tires, clogged air filters, faulty oxygen sensors, or engine issues that need attention.

When This Page Helps

Knowing your real MPG lets you budget fuel costs accurately, compare your driving habits against EPA estimates, and catch mechanical problems early. It's the simplest metric for understanding how efficiently your vehicle uses fuel, and it takes just two numbers to calculate.

How to Use the Inputs

  1. Fill your tank completely and note the odometer reading.
  2. Drive normally until you need to refuel.
  3. Fill the tank again and note the gallons added.
  4. Record the new odometer reading.
  5. Enter the miles driven (new odometer minus old) and gallons used.
  6. Read your MPG result quickly.
Formula used
MPG = Miles Driven ÷ Gallons Used

Example Calculation

Result: 28.0 MPG

You drove 350 miles and used 12.5 gallons of fuel. MPG = 350 ÷ 12.5 = 28.0 miles per gallon. This is a good result for a mid-size sedan.

Tips & Best Practices

  • Always fill the tank completely for accurate measurements.
  • Track MPG over multiple fill-ups for a reliable average.
  • Highway driving typically yields 20–30% better MPG than city driving.
  • Gentle acceleration and steady speeds improve fuel economy.
  • Check tire pressure monthly — low pressure reduces MPG by 0.2% per PSI.
  • Remove unnecessary weight from your vehicle to improve efficiency.
  • Use cruise control on highways to maintain consistent MPG.

Understanding MPG and Fuel Economy

MPG measures how many miles your vehicle travels per gallon of fuel consumed. It's the primary fuel economy metric in the United States and is displayed on every new vehicle's window sticker as estimated city, highway, and combined ratings.

Factors That Affect MPG

Driving behavior has the biggest impact on real-world MPG. Aggressive acceleration, excessive idling, and highway speeds above 50 mph all reduce efficiency. Vehicle condition matters too — properly inflated tires, clean filters, and fresh oil all contribute to optimal MPG.

City vs. Highway MPG

City driving involves frequent stops and starts that waste fuel. Highway driving at moderate speeds is more efficient. Most vehicles get 20–30% better MPG on the highway. The EPA provides separate city, highway, and combined ratings to help consumers compare.

Improving Your MPG

Simple changes can boost your fuel economy by 10–20%: drive at moderate speeds, avoid rapid acceleration, keep tires properly inflated, reduce idling, remove roof racks when not in use, and keep up with maintenance.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • A good MPG depends on vehicle type. Compact cars typically get 30–40 MPG, mid-size sedans 25–35 MPG, SUVs 20–30 MPG, and trucks 15–25 MPG. Hybrids can exceed 50 MPG. Any MPG at or above the EPA estimate for your vehicle is considered good.