MPG Calculator

Calculate your vehicle’s miles per gallon to measure fuel efficiency and compare gas mileage.

Trip Meter Odometer

What Is MPG and Why It Matters

Miles per gallon (MPG) measures how far a vehicle can travel on one gallon of fuel. It is the standard metric for fuel efficiency in the United States and parts of the UK. A higher MPG means lower fuel consumption per mile, which directly translates to reduced fuel costs and lower carbon emissions.

Understanding your vehicle's actual MPG helps you budget for fuel, compare vehicles before purchase, and identify potential mechanical issues that may be reducing efficiency.

How the MPG Calculation Works

The MPG formula is straightforward:

MPG = Total Miles Driven ÷ Gallons of Fuel Used

To get an accurate result, you need two inputs:

This calculator uses the odometer method, which is the most reliable way to measure real-world fuel economy. It accounts for your actual driving conditions, including city traffic, highway cruising, and weather factors, rather than relying on manufacturer estimates.

How to Use the MPG Calculator

  1. Fill your fuel tank completely and reset your trip odometer to zero.
  2. Drive normally until your next refueling stop.
  3. At the pump, note the trip odometer reading (miles driven).
  4. Fill the tank completely again and record the number of gallons pumped.
  5. Enter both values into the calculator fields.
  6. Click calculate to see your MPG result.

For the most reliable data, repeat this process over several fill-ups and average the results. A single tank measurement can be skewed by unusual driving conditions or partial fill variations.

Understanding Your MPG Result

The calculated MPG number represents your vehicle's fuel efficiency under the specific conditions of that driving period. A result of 25 MPG means your vehicle traveled 25 miles for every gallon of fuel consumed.

Compare your result to the EPA-rated MPG for your vehicle model. A significant gap between your real-world MPG and the manufacturer rating may indicate:

Common Mistakes When Calculating MPG

Practical Use Cases for MPG Tracking

Limitations of MPG Calculations

This calculator provides an accurate measurement of fuel economy for the specific driving period you enter. However, several factors affect real-world MPG that this simple calculation cannot account for:

For the most accurate picture of your vehicle's fuel economy, track MPG over multiple fill-ups and under consistent conditions.

Frequently Asked Questions

What is a good MPG for a car?

A good MPG depends on the vehicle type and your driving needs. For modern gasoline cars, 25-30 MPG combined is average. Compact cars often achieve 30-40 MPG, while hybrids can exceed 50 MPG. Trucks and SUVs typically range from 15-25 MPG. Compare your result to the EPA rating for your specific vehicle model to determine if your fuel economy is within normal range.

How do I calculate MPG for a trip?

Record the odometer reading at the start and end of your trip, then subtract to find total miles driven. Divide that number by the gallons of fuel used during the trip. For accurate results, fill the tank before and after the trip and use the fuel purchased as your consumption figure.

What is the difference between city MPG and highway MPG?

City MPG measures fuel efficiency in stop-and-go traffic with frequent acceleration and braking. Highway MPG measures efficiency at steady cruising speeds. Highway MPG is typically higher because engines operate more efficiently at constant RPMs. The EPA tests both conditions separately, and your real-world MPG will fall somewhere between the two ratings depending on your driving environment.

Can I use this calculator for diesel vehicles?

Yes. The MPG calculation works the same for diesel engines. Enter miles driven and gallons of diesel fuel consumed. Diesel engines typically achieve higher MPG than gasoline engines due to higher energy density in diesel fuel and greater thermal efficiency.

Why is my calculated MPG lower than the EPA rating?

EPA ratings are determined under controlled laboratory conditions that may not reflect your real-world driving. Common reasons for lower MPG include aggressive driving, short trips that prevent the engine from reaching optimal operating temperature, excessive idling, carrying heavy loads, and driving in heavy traffic. Seasonal fuel blends and winter weather also reduce fuel economy.

How many miles should I drive to get an accurate MPG reading?

Drive at least 100-200 miles between fill-ups for a reasonably accurate single-tank measurement. For the most reliable average, track MPG over 3-5 full tanks, which typically represents 500-1,000 miles of driving. This smooths out variations from different driving conditions and fueling inconsistencies.