MPG Calculator
Find your car's real-world gas mileage from a fill-up, plus cost per mile and what gas costs you in a year.
How to calculate MPG
Miles per gallon is simply the miles you drove divided by the gallons of gas you used. The most accurate way to measure it is the fill-up method:
- Fill the tank all the way and reset your trip odometer.
- Drive as usual until you need gas again.
- Fill the tank again and note the gallons it took and the miles on the trip odometer.
- Divide miles by gallons.
Worked example
You drove 350 miles and it took 12.5 gallons to refill: 350 รท 12.5 = 28 MPG. That's about 8.4 liters per 100 km. At $3.50 a gallon, the fill-up cost $43.75, or 12.5 cents a mile. Drive 12,000 miles a year and you'll spend about $1,500 on gas.
Why does my MPG differ from the sticker?
Official ratings come from standard lab tests. Real-world mileage depends on how and where you drive: city traffic, highway speed, cold weather, air conditioning, short trips, heavy loads, and tire pressure all make a difference. Tracking several fill-ups gives you a reliable average.
How much does better gas mileage save?
Driving 12,000 miles a year at $3.50 a gallon costs about $1,680 at 25 MPG but $1,050 at 40 MPG, a difference of $630 a year.
Frequently asked questions
What's the difference between MPG and L/100 km?
MPG measures distance per fuel, so higher is better. Liters per 100 km measures fuel per distance, so lower is better. This calculator shows both.
Will premium gas improve my MPG?
Usually not. If your car is designed for regular gas, premium typically won't raise your mileage enough to cover its higher price. Use premium only if your owner's manual requires or recommends it.
What's good gas mileage?
It depends on the vehicle: many small cars get 30 to 40 MPG, while trucks and large SUVs often get less than 20. Compare your result with your car's official rating.