Gas Mileage Calculator

Calculate your vehicle's fuel economy (MPG) and track your fuel efficiency over time.

Reviewed August 29, 2026 · Calculation methodology · Inputs stay in your browser

Enter the distance traveled.
Enter the amount of fuel consumed.
Enter the price of fuel to calculate cost per mile/km.

Keep track of your fuel economy over time by logging each fill-up. Enter new fill-ups at the top of the table.

Date Odometer Distance Fuel MPG Cost Notes Action

Gas Mileage Tips

  • For the most accurate results, fill your tank completely each time and record the exact amount of fuel added.
  • Reset your trip odometer at each fill-up for easier distance calculation.
  • Driving at moderate speeds (around 55-65 mph) typically offers the best fuel economy for most vehicles.
  • Maintain proper tire pressure to improve fuel economy by up to 3%.
  • Remove excess weight from your vehicle to improve mileage.
  • Regular maintenance, particularly air filter replacement, can improve fuel efficiency.
  • Track your fuel economy regularly to detect any issues early-a sudden drop in MPG could indicate a mechanical problem.