gasoline mileage calculator

Used to calculate trip fuel cost and cost per mile.
Used to estimate full-tank driving range.
Used to estimate yearly fuel consumption and annual fuel budget.

This gasoline mileage calculator helps you quickly measure fuel efficiency, compare driving habits, and estimate your transportation costs. Enter distance and fuel used to get your MPG, then optionally add fuel price, tank size, and annual miles for deeper cost insights.

Why track your gasoline mileage?

Tracking gas mileage is one of the easiest ways to control vehicle expenses. Even a small MPG improvement can save hundreds of dollars per year. It can also help you spot maintenance problems early, like underinflated tires, a clogged air filter, or engine issues that hurt efficiency.

  • Understand your true cost per mile
  • Estimate monthly and annual fuel budgets
  • Compare fuel efficiency between vehicles
  • Measure impact of route changes and driving style

How the gasoline mileage calculator works

Core formulas

  • MPG (miles per gallon) = Distance (miles) ÷ Fuel used (gallons)
  • Trip fuel cost = Fuel used × Price per gallon
  • Cost per mile = Trip fuel cost ÷ Distance
  • L/100 km = (Fuel in liters ÷ Distance in km) × 100

The calculator also converts your result to metric units (km/L and L/100 km), so you can compare efficiency internationally.

Step-by-step: getting accurate results

1) Fill the tank completely

Start with a full tank and reset your trip odometer. Partial fills can still work, but full-tank measurements are more accurate.

2) Drive normally

Use your typical routes and habits. If you want a realistic baseline, avoid unusual one-off trips.

3) Refill and record gallons used

At the next fill-up, note how many gallons were pumped and how many miles were driven.

4) Enter values into the calculator

You will get MPG immediately. Add optional fields for fuel price and yearly driving for deeper planning.

Understanding your results

MPG

Higher MPG means your vehicle travels farther on each gallon of gasoline. For most drivers, this is the primary efficiency number.

Cost per mile

This is often the most useful budgeting metric. If your fuel cost per mile drops from $0.18 to $0.15, that difference becomes meaningful over thousands of miles.

Liters per 100 km

Lower L/100 km is better. This metric is common in many countries and useful for comparing published vehicle specs.

What is considered good gas mileage?

“Good” mileage depends on vehicle type, load, road conditions, and driving speed. A compact hybrid and a large SUV should not be compared directly.

  • Compact cars: often 30–40+ MPG
  • Midsize sedans: around 25–35 MPG
  • SUVs and trucks: often 18–28 MPG
  • Hybrids: frequently 40+ MPG

Practical ways to improve fuel economy

  • Keep tire pressure at manufacturer recommendations
  • Avoid aggressive acceleration and hard braking
  • Use steady speeds and cruise control on highways
  • Remove unnecessary cargo weight
  • Reduce idling time whenever possible
  • Stay current on oil changes and tune-ups
  • Plan errands to reduce short, cold-engine trips

Common mileage tracking mistakes

  • Using only one short trip and assuming it represents normal driving
  • Forgetting that weather and traffic can shift MPG significantly
  • Mixing city and highway data without noting the difference
  • Ignoring maintenance issues that reduce fuel efficiency over time

Example gasoline mileage calculation

Suppose you drove 360 miles and used 12 gallons of gas:

  • MPG = 360 ÷ 12 = 30 MPG
  • If gas is $3.50/gal, trip cost = 12 × 3.50 = $42.00
  • Cost per mile = 42 ÷ 360 = $0.12 per mile

If you drive 12,000 miles per year at 30 MPG, you use about 400 gallons annually. At $3.50 per gallon, annual fuel cost is about $1,400.

Final thoughts

A gasoline mileage calculator is simple, but it gives powerful insights. With just a few numbers, you can improve fuel economy, reduce transportation costs, and make better vehicle decisions over time. Recheck your mileage regularly to monitor trends and keep your fuel budget under control.

🔗 Related Calculators