Gas Mileage Calculator
Calculate your car's fuel efficiency in miles per gallon.
Enter your values and click Calculate
How It Works
The gas mileage calculator uses a single formula: MPG = Miles Driven ÷ Gallons Used. MPG, or miles per gallon, is the standard US measure of fuel efficiency — it expresses how far your vehicle travels on one gallon of fuel. To get an accurate measurement, fill your tank completely and record your odometer reading. Drive your normal mix of city and highway miles, then fill up again and note exactly how many gallons it took to top the tank off. The miles driven is the difference between the two odometer readings; the gallons used is the amount needed to return the tank to full. The formula does not separate city from highway mileage — the result reflects your actual blended driving conditions. City driving typically yields lower MPG because of frequent stops, acceleration, and idle time, while steady highway cruising at consistent speed is more fuel-efficient. Comparing your calculated MPG against the EPA's stated estimate for your make, model, and year reveals how efficiently your vehicle is actually running. A sustained 10–15% drop below the EPA rating is a meaningful signal that can indicate under-inflated tires, a clogged air filter, worn spark plugs, or a failing oxygen sensor. Tracking your MPG across several consecutive fill-ups produces a reliable trend that a single measurement cannot provide.