Everyday Math
Basic

Fuel Economy (mpg)

Distance traveled per gallon of fuel.

Formula

mpg=MilesGallons\text{mpg} = \frac{\text{Miles}}{\text{Gallons}}

Live Calculator

Members

Variables

MilesDistance
GallonsFuel used

Example

300 mi / 10 gal = 30 mpg

How it works

Fuel economy tells you how far a vehicle can go for each gallon of fuel it uses. It works by dividing the total distance traveled by the amount of fuel consumed, which gives a rate in miles per gallon (mpg). A higher mpg means the vehicle is using fuel more efficiently, because it travels more miles for the same amount of gas.

When to use it

Use this formula when comparing vehicles, estimating gas costs, or checking how efficiently a car, truck, or other fuel-powered machine is operating. It is also useful for logging trips and figuring out whether your mileage is better or worse than expected.

Worked example, step by step

Trip distance = 180 miles Fuel used = 6 gallons mpg = Miles ÷ Gallons mpg = 180 ÷ 6 mpg = 30 Final answer: 30 mpg

Common mistakes to avoid

  • dividing gallons by miles instead of miles by gallons
  • using the wrong fuel amount, such as the tank capacity instead of fuel actually used
  • forgetting the units, which should be miles per gallon (mpg)

Did You Know?

Higher mpg means better fuel efficiency.

Share this formula

Reviewed & maintained by the FormulaWon editorial teamLast reviewed September 2026