Calculate a tank's gas mileage
You drive 315 miles and refill with 10.5 gallons.
- Record 315 miles traveled
- Record 10.5 gallons used
- Divide 315 by 10.5
Result: The calculated gas mileage is 30 MPG.
The gas mileage calculator estimates a vehicle's miles per gallon from the distance driven and gallons of fuel used.
Enter your values in the calculator above, then use the explanations below to understand the result, check assumptions, and compare scenarios.
The gas mileage calculator estimates a vehicle's miles per gallon from the distance driven and gallons of fuel used. Tracking gas mileage is useful for budgeting, comparing vehicles, spotting efficiency changes, and estimating how driving conditions affect fuel consumption. For the best real-world measurement, calculate mileage from a complete fill-up interval using odometer or trip-distance data and the gallons added at the next fill-up.
Gas mileage in MPG is calculated by dividing miles traveled by gallons consumed. Because one tank can include unusual traffic, weather, towing, idling, or highway use, a multi-tank average is usually more representative than a single result. Fuel cost per mile can also be estimated by dividing the price per gallon by MPG.
A higher MPG value means the vehicle travels farther on each gallon. Compare results over time under similar conditions before concluding that a mechanical issue or driving change has materially affected efficiency. Seasonal fuel blends, cold starts, tire pressure, vehicle load, and route mix can produce normal variation.
You drive 315 miles and refill with 10.5 gallons.
Result: The calculated gas mileage is 30 MPG.
A vehicle averages 25 MPG and gasoline costs $4.50 per gallon.
Result: Fuel cost is about $0.18 per mile.
| Measure | Formula | Use |
|---|---|---|
| MPG | Miles ÷ gallons | Vehicle fuel efficiency |
| Gallons per mile | Gallons ÷ miles | Fuel consumption per mile |
| Fuel cost per mile | Price per gallon ÷ MPG | Operating-cost estimate |