Check a recent fill-up
Use the odometer miles and gallons pumped to estimate MPG after a tank of driving.
Auto Tools
Estimate miles per gallon, trip fuel cost, and cost per mile from miles driven, gallons used, and fuel price.
Why this page exists
Fuel economy is easier to understand when you can connect MPG to the actual cost of a trip or a tank. This calculator helps you do both at once by turning miles driven, gallons used, and fuel price into a quick fuel-efficiency snapshot.
Interactive tool
Enter your numbers and read the result first, then use the sections below to understand what affects the outcome.
Calculator
Estimate MPG, total fuel cost, and cost per mile from miles driven, gallons used, and fuel price.
Result
Estimated fuel efficiency and fuel cost based on the trip or tank numbers you entered.
Actual fuel economy changes with traffic, temperature, terrain, speed, and vehicle condition. Use this as a quick planning estimate.
Planning note
Last updated April 11, 2026. Use this tool to compare scenarios and plan ahead, then confirm important details with the lender, employer, insurer, contractor, or other qualified provider involved in the final decision.
How it works
Enter how many miles were driven and how many gallons of fuel were used.
Add the current fuel price per gallon if you want the estimate to include trip or tank cost too.
The calculator shows MPG, the total fuel cost for the numbers entered, and the estimated cost per mile.
Understanding your result
MPG explains how efficiently the vehicle used fuel, while cost per mile helps turn that efficiency into a budgeting number you can compare across trips, routes, or vehicles.
Browse more auto toolsExamples
Example scenarios help turn a quick estimate into a more useful comparison or planning step.
Use the odometer miles and gallons pumped to estimate MPG after a tank of driving.
Run separate MPG estimates for two vehicles to see how much their operating cost differs per mile.
Rerun the numbers after a route or schedule change to see whether traffic is dragging fuel economy down.
FAQ
Cost per mile is helpful when you want to compare the operating cost of different vehicles, routes, or driving habits in one simple number.
Traffic, speed, weather, terrain, tire pressure, and vehicle load can all move fuel economy up or down from one tank to the next.
Yes. If you use representative miles, gallons, and local fuel price, it becomes a quick way to estimate recurring driving cost.
Related tools
Use these related tools to compare nearby scenarios, check a second estimate, or keep narrowing down the right decision.
Estimate gallons needed and fuel cost for a trip or commute using distance, MPG, gas price, and optional round-trip distance.
Compare the estimated cash cost of leasing a car versus buying it over the time you expect to keep it.
Estimate your monthly car payment using vehicle price, down payment, trade-in value, taxes, fees, APR, and loan term.
Estimate a realistic car budget using monthly income, current debt, down payment, APR, loan term, and a target payment ratio.
Estimate trade equity or negative equity, how much gets applied toward the next car, and the updated financed amount.