MPG Calculator

Calculate miles per gallon from miles driven and gallons used. See cost per mile.

By Konstantin Iakovlev · Updated September 2026 · Source: U.S. EPA — The Automotive Trends Report: Highlights

mi
gal
$/gal

MPG

30.0

Cost per Mile

$0.14

Comparison

Your MPG30.0
Gas Cost/Mile$0.14
EV Cost/Mile (avg)$0.04
Annual Gas (12K mi)$1,640.00
Annual EV (12K mi)$480.00
Potential EV Savings$1,160.00

Use the MPG Calculator above to calculate your results. Enter your values and see instant results — all calculations run in your browser.

Disclaimer: This calculator is for informational purposes only. Results are estimates based on the information you provide and the assumptions described on this page.

How It Works

Fuel efficiency comes down to two numbers worth tracking: miles per gallon and the cost per mile your vehicle racks up. With U.S. regular gasoline averaging $4.48 a gallon in the week of September 21, 2026 (EIA), those figures move from trivia to budgeting tools, and a sudden drop in MPG can be an early sign that something mechanical needs attention. Watched over time, they inform both how you drive and when you service the car, which can add up to hundreds of dollars a year.

The arithmetic is direct. MPG comes from dividing the total miles driven by the gallons consumed, and cost per mile comes from dividing what you paid for the fuel by those same miles. Drive 300 miles on 10 gallons that cost $41.50, for example, and you land at 30 MPG and $0.138 per mile.

Clean inputs make the difference between a useful number and a misleading one. Filling the tank all the way each time you log gallons gives the most reliable average, because partial fills throw the figure off. It's worth remembering that aggressive driving, heavy loads, and underinflated tires all eat into MPG, so keep those conditions in mind when you read what the calculator returns.

Example: Calculating Fuel Efficiency for a Road Trip

  1. 1 You just completed a 450-mile road trip. You started with a full tank and refilled 15 gallons of regular unleaded gas at a total cost of $62.25 ($4.15 a gallon).
  2. 2 MPG = 450 miles / 15 gallons = 30 MPG. Cost per mile = $62.25 / 450 miles = $0.138 per mile.
  3. 3 Your vehicle achieved 30 miles per gallon, and each mile driven cost you approximately $0.138.
  4. 4 Understanding this data allows you to compare your vehicle's performance against its EPA rating, identify if your car is performing less efficiently than expected, or project future fuel costs for similar trips.

Source: U.S. EPA — The Automotive Trends Report: Highlights · Last updated: September 2026

Frequently Asked Questions

How do I calculate my car's MPG?
Fill your tank completely, reset the trip odometer, drive normally until you need fuel again, then fill up and note the gallons. Divide the miles driven by gallons used. For example, 300 miles on 10 gallons equals 30 MPG.
Why is my actual MPG lower than the EPA rating?
EPA ratings are measured under controlled lab conditions. Real-world driving includes aggressive acceleration, highway speeds above 50 mph, cold weather, short trips, A/C use, and cargo weight, all of which reduce fuel economy by 10-25%.
What is a good MPG for a car?
The EPA's Automotive Trends Report puts the average new vehicle at a record 27.2 MPG in real-world driving for model year 2024. The more useful benchmark is your own vehicle's EPA combined rating on fueleconomy.gov: if your measured MPG stays well below it over several full tanks, the car or the way it is driven is costing you fuel.