Gas Mileage Calculator

Calculate MPG (miles per gallon), distance from fuel, fuel needed for a trip, or total trip cost. Includes efficiency ratings and step-by-step solutions.

Calculate

Choose a calculation type, enter your values, and click Calculate Now to see gas mileage results with efficiency ratings and step-by-step solutions.

Complete User Guide

What is Gas Mileage?

Gas mileage, measured in MPG (miles per gallon), indicates how far a vehicle can travel on one gallon of fuel. Higher MPG means better fuel economy, lower fuel costs, and less environmental impact. Tracking your gas mileage helps you budget for trips, compare vehicles, and monitor your driving efficiency over time.

Key Formulas

MPG = Distance / Fuel Used

Distance = MPG × Fuel Used

Fuel Needed = Distance / MPG

Cost = (Distance / MPG) × Fuel Price

1 mile = 1.60934 km • 1 gallon = 3.78541 liters

4 Calculation Types

Calculate MPG

Enter distance and fuel used. Get MPG with efficiency rating.

Calculate Distance

Enter MPG and fuel used. Get distance in miles or km.

Fuel Needed

Enter distance and MPG. Get fuel needed in gallons or liters.

Trip Cost

Enter distance, MPG, and price. Get total cost and cost per mile.

Efficiency Ratings

MPG Rating Typical Vehicles
≥ 45ExcellentHybrids, electric-assist
30 – 44GoodCompacts, mid-size sedans
20 – 29AverageSUVs, sedans
15 – 19Below AverageLarge SUVs, trucks
< 15PoorHeavy-duty, performance

Important Notes

  • Distance and fuel must be greater than zero.
  • Higher MPG = better fuel economy = lower costs.
  • Actual MPG varies with driving conditions, terrain, and vehicle condition.
  • Results include L/100 km equivalent for metric users.

📤 Share This Tool