Skip to main content

Gas Mileage Calculator

Calculate your actual gas mileage (MPG) based on miles driven and gallons used. Also shows liters per 100km.

Advertisement

Total miles driven since last fill-up.

Gallons of fuel used.

$

Price per gallon to calculate cost per mile. Currently $4.12 on average (Apr 2026).

AI Assistant

Beta

Ask questions about your calculation results

I can help you understand your results and explore your options. Try asking:

3 free questions per session

AI provides general information, not financial advice. Always consult a qualified professional.

About This Calculator

Gas mileage, or fuel economy, measures how far a vehicle travels per unit of fuel and is the most practical indicator of a car's operating efficiency. This calculator computes miles per gallon or liters per 100 kilometers from your odometer readings and fuel fill-up amounts over one or more tanks. Tracking fuel economy over time reveals maintenance issues like underinflated tires or failing oxygen sensors before they become expensive repairs.

Quick Tips

  • 1 Fill your tank completely, reset the trip meter, and refill to measure true MPG.
  • 2 Aggressive acceleration reduces gas mileage by up to 33% on highways.
  • 3 Track MPG over 3+ fill-ups for an accurate average, not just one tank.

Example Calculation

Scenario

Car traveled 382 miles on 14.5 gallons of gas.

Result

Fuel economy: 26.34 MPG | 11.19 km/L | 8.94 L/100km | Cost at $3.50/gal: $0.133/mile

How to Calculate Your MPG

Divide the miles driven by the gallons of fuel used. For the most accurate reading, fill your tank completely, reset your trip odometer, drive normally, then fill up again and record the gallons. Your MPG is the trip miles divided by the gallons pumped.

MPG vs Liters per 100km

The US uses miles per gallon (MPG), while most other countries use liters per 100 kilometers (L/100km). To convert MPG to L/100km, divide 235.215 by the MPG value. Higher MPG is better; lower L/100km is better.

Factors That Affect Gas Mileage

Key factors include driving style (aggressive driving reduces MPG by 15-30%), vehicle maintenance, tire pressure, weather (cold weather reduces MPG), terrain (hills reduce MPG), cargo weight, and use of air conditioning.

Tracking Your Fuel Economy

Track your MPG over multiple fill-ups to get an accurate average. A sudden drop in fuel economy can indicate a maintenance issue like underinflated tires, a dirty air filter, or an engine problem that needs attention.

Frequently Asked Questions