Skip to content
Omnikalc

Gas mileage calculator: MPG, L/100 km and cost per mile

Measure your real fuel economy from a full tank, convert it to L/100 km, and see what each mile and each year of driving costs.

Updated on
Your inputs

Value out of range

Value out of range

$

Value out of range

Value out of range

Results

Fuel economy

28.0 mpg

Average Close to the average for new US vehicles.

Fuel cost per mile

$0.114

Liters per 100 km
8.40 L/100 km
Kilometers per liter
11.90 km/L
Cost per 100 miles
$11.43
Fuel cost per year
$1,371

Economy by fuel used for the same miles

Fuel economyFuel cost per mileFuel cost per year
8 gal current43.8$0.073$878
10 gal current35.0$0.091$1,097
12.50 gal current28.0$0.114$1,371
15 gal current23.3$0.137$1,646
20 gal current17.5$0.183$2,194

Your real fuel economy, not the sticker figure

The EPA rating on a new car’s window sticker comes from standardized lab cycles. Your own mileage depends on your commute, your speed, the weather and the load you carry, and it is easy to measure precisely with nothing more than two fill-ups. This calculator turns those numbers into miles per gallon, converts them to the metric units used abroad, and puts a price on every mile.

How to measure it

  1. Fill the tank until the pump clicks off the first time, without topping up, and reset the trip odometer.
  2. Drive as you normally do, ideally until the tank is at least half empty.
  3. Fill up again to the first click and note the gallons pumped.
  4. Enter the trip miles and the gallons. Repeat over two or three tanks for a reliable average.

The formulas

  • MPG = miles driven ÷ gallons used.
  • Liters per 100 km = 235.215 ÷ MPG. The constant comes from 100 km per 62.137 miles and 3.785 liters per gallon.
  • Kilometers per liter = MPG × 0.425144.
  • Cost per mile = price per gallon ÷ MPG, and yearly cost = cost per mile × miles per year.

Worked example

You drove 350 miles and refilled with 12.5 gallons at $3.20.

  1. Fuel economy: 350 ÷ 12.5 = 28.0 mpg.
  2. Metric: 235.215 ÷ 28 = 8.40 L/100 km, or 11.90 km/L.
  3. Cost per mile: 3.20 ÷ 28 = $0.114, so 100 miles cost $11.43.
  4. Over 12,000 miles a year: $1,371 of fuel.

Same trip, different fuel used

Gallons for 350 miles MPG Cost per mile Cost per year
8 43.8 $0.073 $878
10 35.0 $0.091 $1,097
12.5 28.0 $0.114 $1,371
15 23.3 $0.137 $1,646
20 17.5 $0.183 $2,194

The table shows why a few MPG matter more on a thirsty vehicle: going from 17.5 to 23.3 mpg saves more than $500 a year, while going from 35 to 43.8 mpg saves about $220.

How to improve your mileage

  • Slow down on the highway. Aerodynamic drag rises quickly above 50 to 60 mph, so each extra 5 mph costs noticeably more fuel.
  • Check tire pressure monthly and inflate to the figure on the driver’s door jamb, not the maximum printed on the tire.
  • Remove roof racks and cargo boxes when you are not using them, and clear heavy items out of the trunk.
  • Combine short errands. An engine that has not warmed up burns much more fuel per mile.
  • Drive smoothly. Hard acceleration and late braking waste the energy you paid for at the pump.

Keep in mind that the cost figures here cover fuel only. To compare the full cost of owning a car, add insurance, maintenance, tires and depreciation, which together usually cost more than the gas itself.

Frequently asked questions

How do I calculate my real gas mileage?

Fill the tank to the first click and reset the trip odometer. Drive normally, fill up again to the first click, then divide the miles on the trip odometer by the gallons you just pumped. 350 miles on 12.5 gallons is 28 mpg.

How do I convert MPG to liters per 100 km?

Divide 235.215 by the MPG figure. 28 mpg is 235.215 ÷ 28 = 8.40 L/100 km. The same formula works the other way: 235.215 ÷ 8.40 = 28 mpg. Note that a lower L/100 km figure is better, while a higher MPG figure is better.

Why is my real MPG lower than the window sticker?

Short trips with a cold engine, highway speeds well above 60 mph, air conditioning, underinflated tires, roof racks and heavy loads all cut fuel economy. Winter blends of gasoline and cold air can lower it by 10 to 20 percent on their own.

How much does each mile cost me in gas?

Divide the price per gallon by your MPG. At $3.20 a gallon and 28 mpg, each mile costs about 11.4 cents, or $1,371 a year over 12,000 miles. That is fuel only: maintenance, insurance and depreciation come on top.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.