Auto

Gas Mileage Calculator

Calculate your MPG and fuel costs.

Enter your miles driven and gallons of fuel used to calculate your vehicle's fuel efficiency (MPG), or calculate the estimated fuel cost for a trip.

Enter valid miles.
Enter a valid amount.

Fuel Efficiency

Cost per Mile

How to Use This Tool

  1. Enter the miles driven and gallons of fuel used for a tank or trip.
  2. Optionally enter the gas price to see your cost per mile.
  3. Click Calculate for your fuel efficiency.

The MPG Formula

MPG = Miles Driven ÷ Gallons of Fuel Used

Cost per Mile = Gas Price per Gallon ÷ MPG

Getting an Accurate Reading

For the most accurate MPG calculation, fill your tank completely, reset your trip odometer, drive normally until you need to refuel, then fill up again completely and note the gallons required and miles driven since your last fill-up.

Why MPG Varies

Frequently Asked Questions

How do I get the most accurate MPG measurement?

Fill your tank completely, reset your trip odometer, drive until your next fill-up, then divide the miles driven by the gallons needed to refill completely — doing this over several tanks gives a more reliable average.

Why is my actual MPG lower than the EPA rating on my car?

EPA ratings are measured under standardized test conditions that often don't match real-world driving — aggressive driving, cold weather, city traffic, and cargo load can all reduce real-world MPG below the official rating.

This calculator is provided for general informational and estimation purposes only. Results should not be treated as professional financial, tax, legal, medical, or engineering advice. Always verify critical calculations with a qualified professional or official source before making decisions.