- To calculate your actual MPG: Next time you fill up, reset your trip odometer to zero. Drive normally until your tank is low, then fill up again. Record the miles driven and gallons pumped. Enter those two numbers into the "Calculate MPG" mode above.
- To estimate annual fuel costs: Switch to "Estimate Cost" mode. Enter your vehicle's MPG rating (find it at fueleconomy.gov), your annual mileage estimate, and your local gas price. The calculator shows annual cost, monthly cost, and cost per mile.
- Use the comparison table to see how different MPG ratings translate to annual fuel spending at a typical gas price and mileage.
Gas Mileage Calculator
Calculate MPG from odometer readings and gallons used. Estimate annual fuel costs at any MPG.
mi
gal
30.0
MPG
7.8
L/100km
12.75
km/L
MPG Comparison at $3.50/gal, 15,000 mi/yr
| MPG | Gal/year | Annual cost | vs 30 MPG |
|---|---|---|---|
| 20 MPG | 750 | $2625 | +$875 |
| 25 MPG | 600 | $2100 | +$350 |
| 30 MPG | 500 | $1750 | baseline |
| 35 MPG | 429 | $1500 | $-250 |
| 40 MPG | 375 | $1313 | $-438 |
| 50 MPG | 300 | $1050 | $-700 |
How to Use the Gas Mileage Calculator
Gas Mileage Formulas
Calculating MPG from a fill-up:
MPG = Miles driven / Gallons used Example: 350 miles driven, 11.5 gallons pumped MPG = 350 / 11.5 = 30.4 MPG
Converting between systems:
L/100km = 235.215 / MPG km/L = MPG × 0.425144 Example: 30 MPG L/100km = 235.215 / 30 = 7.84 L/100km km/L = 30 × 0.425 = 12.75 km/L
Annual fuel cost:
Annual cost = (Annual miles / MPG) × Gas price per gallon Example: 15,000 miles/year, 30 MPG, $3.50/gal Cost = (15,000 / 30) × $3.50 = 500 × $3.50 = $1,750/year
Frequently Asked Questions
Fill your tank completely, reset your trip odometer, drive normally, then fill up again. Divide the miles on the odometer by the gallons pumped at the second fill-up. Example: 312 miles driven and 10.4 gallons pumped gives 312 / 10.4 = 30 MPG. Repeat over multiple tanks to get a more reliable average.
Related Calculators
Fuel Cost Calculator
Calculate trip, monthly, and annual fuel costs based on distance, MPG, and gas price.
Mileage Calculator
Calculate MPG from odometer readings. Estimate trip cost and annual fuel expenses.
Tip Calculator
Calculate the tip amount, total bill, and split the check among any number of people.
Auto Loan Calculator
Calculate your monthly car payment based on price, down payment, interest rate, and loan term.