MPG Calculator

Calculate miles per gallon, gallons used, fuel cost, cost per mile, tank range, and annual fuel cost. Use this MPG calculator to estimate vehicle fuel economy from miles driven and fuel used.

Calculate MPG

MPG = Miles Driven ÷ Gallons Used. Fuel Cost = Gallons Used × Fuel Price.
Your result will appear here.

How the MPG calculator works

Calculate MPG:
Enter miles driven and gallons used to calculate miles per gallon.

Calculate gallons used:
Enter miles driven and MPG to estimate how many gallons were used.

Calculate distance:
Enter gallons used and MPG to estimate how many miles were driven.

Calculate fuel cost:
Enter gallons used and fuel price to estimate total fuel cost.

Why use an MPG calculator?

An MPG calculator helps track vehicle fuel economy, estimate fuel costs, compare vehicles, and understand how much fuel is being used.

It can be useful after filling your gas tank, planning trips, budgeting for fuel, or comparing your actual MPG with your vehicle estimate.

What your result means

Your result shows MPG, gallons used, miles driven, fuel cost, cost per mile, tank range, annual fuel used, annual fuel cost, and comparison savings. These are estimates based on the numbers you enter.

MPG calculator formulas

Frequently asked questions

What does MPG mean?

MPG means miles per gallon. It shows how many miles a vehicle can travel using one gallon of fuel.

How do you calculate MPG?

Divide the number of miles driven by the gallons of fuel used.

Is higher MPG better?

Yes. A higher MPG means the vehicle travels farther on each gallon of fuel, which usually lowers fuel cost.

Why does MPG change?

MPG can change because of driving speed, traffic, tire pressure, maintenance, weather, road conditions, cargo weight, and driving habits.