freeonlinecalFreeOnlineCal

Gas Mileage Calculator

Calculate your vehicle's fuel efficiency and estimate trip costs.

Enter the odometer reading at the start of your trip.
Enter the odometer reading at the end of your trip.
Enter the amount of fuel added to your tank.
Enter the price you paid per liter or gallon.

Calculation Results

Your Fuel Efficiency:

0 km/L or miles/Gal

Total Fuel Cost:

$0

How to calculate Gas Mileage calculator?

Fuel efficiency is the distance driven divided by the amount of fuel consumed. Report results as km/L or miles/gal depending on your units.

Key formula: fuel_efficiency = distance_traveled / fuel_used

Using the Gas Mileage calculator calculator: an example

Example values: start 12,345 km, end 12,675 km, fuel added 28 L, price $1.40/L.

Step-by-step calculation:

  1. Calculate distance: 12,675 km − 12,345 km = 330 km.
  2. Determine fuel used: 28 L (amount added during the trip).
  3. Compute efficiency: 330 km ÷ 28 L ≈ 11.79 km/L.
  4. Optional cost: 28 L × $1.40/L = $39.20 total fuel cost.

Frequently Asked Questions

Should I use odometer readings or GPS distance?

Odometer readings are sufficient and simple; GPS can be more precise for routes with detours. Use the same units consistently.

Do I include partial refuels?

Yes. Use the actual fuel added during the trip period you measured; partial refuels are valid as long as distance and fuel correspond.

How often should I measure for accuracy?

For reliable averages measure over several full tanks or longer trips to reduce the impact of single-trip variations.



Related Calculators