CalQpro

How to Calculate Miles Per Gallon (MPG): Formula and Guide

By Jorge Sanchez · April 20, 2026 · 4 min read

Bottom line: MPG = Miles Driven ÷ Gallons Used. Fill up completely, track miles, fill up again, divide miles by gallons pumped. That's your true MPG — more accurate than your dashboard estimate.

The MPG Formula

MPG = Miles Driven ÷ Gallons Used

Annual Fuel Cost = (Miles/Year ÷ MPG) × Price per Gallon

Cost per Mile = Price per Gallon ÷ MPG

How to Measure Your Real MPG (Step by Step)

  1. Fill your gas tank completely. Note your odometer reading (e.g., 45,230 miles).
  2. Drive normally until you need fuel again.
  3. Fill up completely again. Note the new odometer reading (e.g., 45,560) and exactly how many gallons pumped (e.g., 11.2 gal).
  4. Calculate: (45,560 − 45,230) ÷ 11.2 = 330 ÷ 11.2 = 29.5 MPG

Annual Fuel Cost by MPG

Assuming 15,000 miles/year and $3.50/gallon:

MPGGallons/YearAnnual Fuel Cost
15 MPG (truck/SUV)1,000$3,500
25 MPG (average sedan)600$2,100
35 MPG (efficient car)429$1,500
50 MPG (hybrid)300$1,050

The difference between 15 MPG and 30 MPG is $1,750/year. Over 5 years, that's $8,750 in fuel savings — worth considering when buying a vehicle.

Why Your Actual MPG Differs from EPA Estimates

MPG vs. L/100km Conversion

L/100km = 235.21 ÷ MPG

MPG = 235.21 ÷ L/100km

Example: 30 MPG = 235.21 ÷ 30 = 7.84 L/100km

MPG Calculator

Calculate your fuel economy, annual fuel cost, and cost per mile.

Calculate MPG →

Jorge Sanchez · Live Event Production Specialist · CalQpro