Mileage calculator
Miles per gallon (MPG) measures how far your car travels on one gallon of fuel. Enter miles driven, gallons filled, and the gas price to see your actual fuel economy and running.
Fuel Economy
—
MPG
Cost per mile
—
Cost per 100 mi
—
Miles per dollar
—
Gal per 100 mi
—
Copied!
Formula
MPG = Miles driven ÷ Gallons used
Cost per mile = (Gallons × Price per gallon) ÷ Miles
Example
Fill-up: 300 miles, 10 gallons, $3.50/gal:
MPG = 300 / 10 = 30
Total cost = 10 × $3.50 = $35
Cost per mile = $35 / 300 ≈ $0.117
Cost per 100 miles ≈ $11.67
Frequently asked
What is a good MPG?
The EPA average for new passenger cars is about 28–30 MPG combined (city + highway). Fuel-efficient sedans reach 35–45 MPG; large SUVs and trucks average 18–25 MPG.
How is MPG calculated?
MPG = miles driven ÷ gallons used. If you drove 300 miles and used 10 gallons, your MPG is 30.
What is cost per mile?
Cost per mile = (gallons × price per gallon) ÷ miles. It is the most useful metric for budgeting a road trip.
What is gallons per 100 miles?
The inverse of MPG, popular in some countries. GPM100 = 100 ÷ MPG. Lower is better.
How do I share my calculation?
Click "Share with my numbers" to copy a URL that saves your fill-up data.