Find your car's MPG (or L/100km), cost per mile, and fill-up cost from distance driven and fuel used.
Enter distance and fuel used, then click Calculate
This free gas mileage calculator turns your distance driven and fuel used into miles per gallon (or liters per 100 km), along with your cost per mile and estimated fuel cost — helping you track fuel economy over time or compare it against your vehicle's EPA rating.
Enter the distance you drove and the amount of fuel it took to drive that distance (from your last fill-up to this one, using a full-tank-to-full-tank method for accuracy). The calculator divides distance by fuel used to get MPG, or fuel used by distance (× 100) to get L/100km. If you enter a fuel price, it also computes your cost per mile and the total cost for that fill-up.
Any driver who wants to track fuel economy trends, compare gas mileage before and after maintenance (like an oil change or new tires), budget fuel costs for a commute, or simply verify their car is performing close to its advertised EPA rating.
The simple division behind MPG and L/100km
MPG measures distance covered per unit of fuel, so a higher number means better fuel economy.
L/100km measures fuel consumed per unit of distance, so unlike MPG, a lower number means better fuel economy.
Since cost per mile is inversely proportional to MPG, small MPG gains matter far more at low MPG values than at high ones.
From fill-up to final MPG
Type the miles (or kilometers) driven since your last fill-up.
Type the gallons (or liters) of fuel used, and optionally the price per unit.
See your MPG (or L/100km), cost per mile, and fill-up cost.
A typical fill-up to fill-up calculation
General ranges — always check your vehicle's specific EPA rating
| Vehicle Class | Typical Combined MPG |
|---|---|
| Hybrid / Electric-Assist Compact | 45-60+ MPG |
| Compact Car | 32-42 MPG |
| Midsize Sedan | 28-38 MPG |
| Crossover / Small SUV | 24-32 MPG |
| Full-Size SUV | 18-24 MPG |
| Pickup Truck | 16-24 MPG |
These are general ranges for illustration — always compare your result against your specific vehicle's official EPA combined rating for an accurate benchmark.
Where tracking MPG matters
Log MPG at every fill-up to spot a gradual decline that might signal a maintenance issue.
Estimate monthly fuel costs based on your typical MPG and commute distance.
Compare MPG before and after an oil change, tune-up, or new tires to see the real-world impact.
Compare real-world fuel economy between two vehicles you're considering.
Combine your known MPG with NeftCal's Fuel Cost Calculator to budget an upcoming trip.
What this calculator does well, and where it has boundaries
Get an accurate MPG reading every time
Summary: This gas mileage calculator turns distance driven and fuel used into MPG (or L/100km), cost per mile, and fill-up cost — free and instant. Pair it with the Fuel Cost Calculator or Mileage Calculator for other driving-related calculations.
Common questions about gas mileage
Official references to complement this calculator
Other driving and vehicle tools