MPG Calculator

How do you calculate miles per gallon? Calculate miles per gallon from distance and fuel used.

Interactive inputs
Live result 30.00 MPG

Change an input to update the diagram.

How do you calculate miles per gallon?

The MPG Calculator converts your odometer reading and fuel fill-up into miles per gallon, the standard US measure of fuel efficiency. Designed for drivers who want to track real-world fuel economy after each trip or fill-up. Knowing your actual MPG helps spot maintenance issues, compare routes, and plan budgets.

Current calculator output 30.00 MPG

MPG Calculator: inputs, formula, and result

Enter the values that describe your high priority scenario. The interactive result changes as the inputs change, helping you compare fuel efficiency, fuel consumption, fuel cost, or operating impact.

Distance360Measured travel
Fuel input12Volume or rate
Efficiency30 MPGCalculated output

Formula

MPG = Distance (miles) ÷ Fuel Used (gallons)

Worked example

Driving 360 miles on 12 gallons: MPG = 360 ÷ 12 = 30 MPG.

Pro tip: Track your MPG over at least three consecutive fill-ups to get a reliable average. A single measurement can be skewed by city vs. highway mix.

What changes the result for MPG?

Use this focused fuel-economy tool to get a direct answer for a common driving-cost question. Traffic, tire pressure, vehicle load, terrain, driving style, weather, fuel price, and the quality of the input data can change the final result.

Estimated result condition 100%
Select factors that match this high priority calculation.

When should you use this calculator?

Use it before a trip, after a fill-up, when comparing vehicles, or when documenting business mileage. Keep the same units and use several measurements when you need an average.

Selected usePlan with MPG Calculator

FAQs about MPG

3 questions
Question 1 of 3 is open
What is a good MPG for a car?

Most modern sedans achieve 25-35 MPG in mixed driving. Compact cars and hybrids reach 40-60 MPG, while trucks and SUVs get 15-25 MPG.

Why is my real MPG lower than the EPA rating?

EPA tests use controlled lab conditions. Real-world factors like traffic, speed, AC, cargo, tire pressure, and cold weather typically reduce MPG by 10-20%.

Does highway or city driving give better MPG?

Highway driving usually gives 20-30% better MPG because steady speeds are more fuel-efficient than stop-and-go traffic.

You may also need