Gas Mileage Calculator — Free Online Fuel Economy Tool
Determine your vehicle's real-world fuel economy by entering the distance driven and gallons used.
Gas Mileage Results
Gas Mileage Reference Table
| Vehicle Type | Avg MPG | km/L | L/100km | Cost/Mile |
|---|---|---|---|---|
| Compact Sedan | 35 MPG | 14.9 km/L | 6.7 L/100km | $0.10 |
| Midsize Sedan | 30 MPG | 12.8 km/L | 7.8 L/100km | $0.12 |
| Compact SUV | 28 MPG | 11.9 km/L | 8.4 L/100km | $0.13 |
| Full-Size SUV | 20 MPG | 8.5 km/L | 11.8 L/100km | $0.18 |
| Pickup Truck | 18 MPG | 7.7 km/L | 13.1 L/100km | $0.19 |
| Hybrid Sedan | 50 MPG | 21.3 km/L | 4.7 L/100km | $0.07 |
Related Calculators
Fuel Cost Calculator
Estimate fuel costs for any trip based on distance, MPG, and gas prices.
Fuel Consumption Calculator
Calculate fuel consumption in MPG, L/100km, and annual cost projections.
EV Charging Calculator
Calculate electric vehicle charging time, cost, and savings vs gasoline.
Mileage Calculator
Calculate IRS mileage reimbursement and compare to actual fuel costs.
Unit Converter
Convert between hundreds of units across length, weight, volume, and more.
Percentage Calculator
Calculate percentages, percentage changes, and proportional values.
About this calculator
Gas Mileage Formula
MPG = Distance Driven (miles) / Gallons Used km/L = MPG x 0.425144 L/100km = 235.215 / MPG Cost Per Mile = Gas Price / MPG Variables Explained
- Distance Driven: The total miles traveled between two complete fill-ups. Accuracy depends on using a full-tank-to-full-tank measurement method. Using your trip odometer eliminates errors from estimating partial trips.
- Gallons Used: The total volume of fuel consumed, measured by how much fuel is needed to fill the tank from the point where you started tracking. This must be from a complete fill-up for accuracy.
- MPG (Miles Per Gallon): The primary fuel economy metric in the United States. Higher values indicate better efficiency. The formula divides distance by fuel to show how far you can travel on one gallon.
- km/L (Kilometers Per Liter): The metric equivalent of MPG, commonly used in parts of Asia and South America. The conversion factor from MPG is 0.425144.
- L/100km (Liters Per 100 Kilometers): The standard fuel consumption metric in Europe, Canada, and Australia. Unlike MPG and km/L, lower values are better because this measures fuel used rather than distance achieved.
Step-by-Step Example
Suppose you filled your tank, drove 420 miles, and then refilled with 15.5 gallons at $3.55 per gallon:
- Calculate MPG: 420 / 15.5 = 27.1 MPG
- Convert to km/L: 27.1 x 0.425144 = 11.5 km/L
- Convert to L/100km: 235.215 / 27.1 = 8.7 L/100km
- Calculate cost per mile: $3.55 / 27.1 = $0.131 per mile
Your vehicle achieved 27.1 MPG on this tank, costing you about $0.13 per mile in fuel. If the EPA rating for your car is 30 MPG combined, you are running about 10% below the estimate, which is normal for real-world driving.
Sources
- U.S. Department of Energy — Fuel Economy Guide: fueleconomy.gov
- U.S. Environmental Protection Agency — Green Vehicles: epa.gov/greenvehicles
- U.S. Department of Energy — Alternative Fuels Data Center: energy.gov/eere/vehicles
- AAA — Your Driving Costs: gasprices.aaa.com
Disclaimer: This calculator is for informational and educational purposes only. Results are estimates and may not reflect exact values.
Last updated: November 3, 2026