MPG Calculator
Free MPG Calculator - calculate your car's real-world miles per gallon from fill-up data. Track fuel efficiency and annual costs.
Loading calculator
Preparing MPG Calculator...
Reviewed & Methodology
Every calculator is built using industry-standard formulas, validated against authoritative sources, and reviewed by a credentialed financial professional. All calculations run privately in your browser - no data is stored or shared.
How to Use the MPG Calculator
- 1. Enter miles driven - input the number of miles since your last fill-up using your trip odometer reading.
- 2. Enter gallons filled - type the exact number of gallons pumped at the gas station from your receipt.
- 3. Input the gas price - enter the price per gallon you paid at the pump.
- 4. Set your tank size - enter your vehicle's fuel tank capacity in gallons to calculate full-tank range.
- 5. Review your results - see your real MPG, cost per mile, estimated range on a full tank, and projected annual fuel cost.
MPG Calculator
Your car’s window sticker MPG and your actual fuel economy are rarely the same number. EPA test cycles don’t replicate real-world stop-and-go traffic, cold starts, air conditioning loads, or highway speeds above 65 mph. The only way to know your real fuel efficiency is to calculate it from fill-up data. This calculator takes your miles driven, gallons pumped, gas price, and tank size to give you your actual MPG, cost per mile, estimated range, and what you will spend on fuel over a full year.
How MPG Is Calculated
The core formula is: MPG = Miles Driven / Gallons Filled
From that single result, the calculator derives four additional figures:
- Cost Per Mile = Gas Price per Gallon / MPG
- Estimated Full-Tank Range = MPG x Tank Capacity (gallons)
- Cost Per Fill-Up = Gas Price x Tank Capacity
- Annual Fuel Cost = (Annual Miles / MPG) x Gas Price — defaults to 12,000 miles/year, the U.S. average
For example: 340 miles driven, 12.2 gallons filled, $3.60/gallon, 14-gallon tank. MPG = 340 / 12.2 = 27.9 MPG. Cost per mile = $3.60 / 27.9 = $0.129/mile. Range = 27.9 x 14 = 391 miles. Annual cost = (12,000 / 27.9) x $3.60 = $1,548/year.
Worked Examples
Scenario 1 — Midsize SUV, mixed city/highway driving Miles: 280 | Gallons: 14.0 | Gas: $3.50 | Tank: 18 gal MPG = 20.0 | Cost/mile = $0.175 | Range = 360 mi | Annual cost (12k miles) = $2,100
Scenario 2 — Compact sedan, mostly highway commuting Miles: 390 | Gallons: 11.5 | Gas: $3.40 | Tank: 13 gal MPG = 33.9 | Cost/mile = $0.100 | Range = 441 mi | Annual cost = $1,205
Scenario 3 — Hybrid, urban driving Miles: 410 | Gallons: 8.8 | Gas: $3.60 | Tank: 11 gal MPG = 46.6 | Cost/mile = $0.077 | Range = 513 mi | Annual cost = $927
MPG Reference Table
| Vehicle Type | Typical Real MPG | Gas Price | Cost/Mile | Annual Cost (12k mi) | Full-Tank Range |
|---|---|---|---|---|---|
| Large pickup truck | 16 MPG | $3.60 | $0.225 | $2,700 | 320-400 mi |
| Full-size SUV | 18 MPG | $3.60 | $0.200 | $2,400 | 360-450 mi |
| Midsize SUV | 24 MPG | $3.60 | $0.150 | $1,800 | 360-480 mi |
| Midsize sedan | 28 MPG | $3.50 | $0.125 | $1,500 | 392-476 mi |
| Compact sedan | 34 MPG | $3.50 | $0.103 | $1,235 | 374-442 mi |
| Subcompact hatchback | 38 MPG | $3.40 | $0.089 | $1,074 | 380-418 mi |
| Standard hybrid | 48 MPG | $3.40 | $0.071 | $850 | 480-576 mi |
| Plug-in hybrid (gas only) | 40 MPG | $3.40 | $0.085 | $1,020 | 440-520 mi |
| Luxury sport sedan | 22 MPG | $4.20 | $0.191 | $2,291 | 352-440 mi |
| Minivan | 22 MPG | $3.50 | $0.159 | $1,909 | 396-462 mi |
When to Use This Calculator
- After any fill-up to track whether your real-world MPG matches the EPA rating on your window sticker
- When you notice your fuel costs have crept up without changing your driving — a sudden 3+ MPG drop is a diagnostic signal
- To compare two vehicles you are considering buying — the annual fuel cost difference often reveals savings or costs that the sticker price hides
- Before a long road trip to accurately budget fuel expenses rather than guessing
- To measure the MPG benefit of a behavior change like reducing highway speed from 75 to 65 mph or improving tire pressure
Common Mistakes
- Not filling to the same level each time. If you fill to the click on one tank and overfill the next, the gallons-used figure is wrong and throws off your MPG calculation. Use the auto-shutoff consistently and always start from a full tank.
- Using a single fill-up as your benchmark. One data point is noisy. Your driving route, temperature, headwind, and cargo on that specific tank all affect the number. Average three to five consecutive fill-ups for a number worth acting on.
- Comparing your real MPG to the EPA combined rating. The EPA combined figure is typically 10-20% higher than what most drivers achieve in real life. Compare your measured MPG to your own baseline over time, not to the sticker.
- Ignoring seasonal changes. Cold weather below 40°F reduces MPG by 10-20% on short trips as the engine and drivetrain take longer to reach operating temperature. A “drop” in winter MPG is usually normal, not a mechanical problem.
Real-World Applications
Tracking MPG fill-up by fill-up is one of the most actionable pieces of vehicle data available to a driver. A 2-MPG sustained drop in a car that previously held steady is a reliable early signal of problems — oxygen sensor failure, a stuck brake caliper, underinflated tires, or a clogged fuel injector are common causes, each caught for $50-$200 before they become $800-$2,000 failures. At scale, the difference between a 20 MPG vehicle and a 30 MPG vehicle driven 15,000 miles/year at $3.60/gas is $900/year — enough to influence a car purchase decision that also factors in loan payments and insurance costs.
Tips
- Reset your trip odometer immediately after filling up so the next fill-up gives you an accurate miles-driven figure — don’t rely on memory
- Track four to five consecutive fill-ups and average the results; this smooths out one-time variables like a hilly drive or an unusually cold week
- If your MPG drops 3+ MPG without a change in driving conditions, check tire pressure first (add $0.15/gallon in fuel for every 3 PSI underinflated), then the air filter, then run a scan for error codes before booking a shop visit
- Driving at 60 mph versus 75 mph on the highway improves fuel economy by 15-20% — on a 400-mile highway leg at $3.50/gallon in a 28 MPG car, that saves about $6-$9 in fuel alone
- Remove roof racks and cargo boxes when not in use — a roof box increases aerodynamic drag enough to reduce MPG by 5-8% at highway speeds
- Avoid idling for more than 60 seconds; modern fuel-injected engines use less fuel restarting than they burn sitting still
Related Calculations
- Fuel Cost Calculator — calculate total fuel cost for any trip or time period
- Road Trip Cost Calculator — add hotels, food, and tolls to your fuel estimate for a full trip budget
- EV vs Gas Calculator — compare your current MPG fuel cost against the per-mile cost of an electric vehicle
Frequently Asked Questions
How do I accurately calculate my car's actual miles per gallon?
Why is my real-world MPG different from the EPA estimate?
How does city driving MPG compare to highway driving MPG?
How can I improve my car's fuel efficiency?
Should I track my MPG over time, and why?
Explore More Auto & Vehicle Tools
Fuel Cost Calculator: Try our free fuel cost calculator for instant results.
Road Trip Cost Calculator: Try our free road trip cost calculator for instant results.
EV Charging Cost Calculator: Try our free ev charging cost calculator for instant results.
Commute Cost Calculator: Try our free commute cost calculator for instant results.
Annual Car Expense Calculator: Try our free annual car expense calculator for instant results.
EV vs Gas Calculator: Try our free ev vs gas calculator for instant results.
Related Auto & Vehicle Calculators
Annual Car Expense Calculator
Free Annual Car Expense Calculator - get a full-year breakdown of every cost associated with owning your vehicle.
Auto & VehicleAuto Insurance Calculator
Estimate your auto insurance premium based on vehicle value, driver age, credit score, coverage level, deductible, and mileage. Understand how each factor affects your rate.
Auto & VehicleAuto Lease Calculator
Calculate your monthly lease payment, total lease cost, and finance charges based on MSRP, negotiated price, residual value, and money factor. Compare lease offers confidently.
Auto & VehicleAuto Loan Calculator 2026
Calculate your 2026 auto loan payment with current rates. Compare new and used car financing, see total interest costs, and find the best loan term.