MPG Calculator

Miles ÷ gallons from the odometer and the pump. Click any i for detail.

Jump to result

Fill-up

Miles driven
i
Miles

Trip miles since the last fill, or the miles this tank covered.

Gallons used
i
Gallons

Gallons to fill back to the same pump click (or the gallons you put in).

Fuel price ($/gal)
i
Price

Optional. Pump price for a $/mile sketch.

How to use this calculator

  1. Enter miles since last fill.
  2. Enter gallons added.
  3. Optionally add pump price.
  4. A planned trip in total dollars is the gas-trip page.

Results explained

MPG = miles / gallons. Cost per mile = price / MPG. Commute annualizes days and parking on another page.

Quick reference: MPG

320 miles on 10.5 gallons is about 30.5 mpg.

ItemDetail
Tank MPGThis page
Trip $Gas trip calculator
Annual driveCommute cost calculator
EV kWh/100 miNot this gasoline model

Fill to the same click each time or short tanks will bounce.

How the estimate is built

mpg = miles / gallons. $/mi = price / mpg.

Example scenario

320 mi / 10.5 gal → 30.5 mpg.

FAQ

Metric L/100 km?

Not converted here — this is U.S. mpg.

Two tanks to average?

Add miles and gallons, then run once.

Hybrids?

Same division if you used gallons.