MPG Calculator

MPG Calculator

Calculate fuel economy in miles per gallon and estimate fuel costs per mile. Essential for comparing vehicles, tracking efficiency, and budgeting fuel expenses.

Last updated: March 2026 | By Patchworkr Team

Fuel Economy Calculator

Current market price (optional for estimates)

What is Fuel Economy?

Fuel economy, measured in Miles Per Gallon (MPG), describes how many miles a vehicle can travel on one gallon of fuel. Higher MPG means more efficient fuel consumption and lower operating costs. MPG depends on vehicle type, engine design, driving conditions, and driving behavior. Highway driving typically achieves better MPG than city driving due to steady speeds and less acceleration.

Modern vehicles commonly achieve 20-40 MPG depending on their size and design. Hybrid vehicles reach 40-60 MPG, while electric vehicles eliminate fuel costs entirely. Tracking your vehicle's actual MPG over time reveals maintenance issues (dirty filters reduce efficiency) and helps optimize driving habits. Combined EPA ratings blend city (55%) and highway (45%) driving to provide realistic average expectations.

The inverse relationship between MPG and fuel cost is critical for budget planning. A vehicle with 25 MPG costs 4¢ per mile in fuel at $3.00/gallon; a 50 MPG hybrid costs only 2¢ per mile. Over 100,000 miles, this difference equals thousands of dollars in savings, plus reduced environmental impact.

How to Calculate MPG

The MPG Formula

MPG = Miles Driven ÷ Gallons Used

Simple division of total miles by fuel consumed reveals average fuel economy.

Cost Per Mile

Cost Per Mile = Gas Price ÷ MPG

This reveals the true fuel cost per mile traveled, accounting for both price and efficiency.

How to Measure Accurately

  1. Fill tank completely at a gas station (top of filler)
  2. Note the odometer reading precisely
  3. Drive normally for several hundred miles
  4. Fill tank again to the same level
  5. Note new odometer reading
  6. Calculate: (New odometer - Old odometer) ÷ Gallons added
  7. Repeat over multiple tanks for better average

Example Calculation

Calculate MPG and cost for a typical trip:

Input:
Miles driven: 300
Gallons used: 12
Gas price: $3.50/gallon
Calculate:
MPG = 300 ÷ 12 = 25 MPG
Cost/Mi = $3.50 ÷ 25 = $0.14/mile
Total Cost = 12 × $3.50 = $42
Annual:

At 12,000 miles/year: 12,000 ÷ 25 = 480 gallons

Annual Fuel Cost: 480 × $3.50 = $1,680

Frequently Asked Questions

Why is my actual MPG lower than EPA rating?

EPA ratings assume ideal conditions (moderate speeds, maintained vehicles). Real driving includes traffic, cold starts, aggressive acceleration, and poor maintenance—all reducing efficiency.

Does highway or city driving use less fuel?

Highway typically gets better MPG (fewer stops/starts, steady speed). City driving involves frequent acceleration and idling, reducing efficiency 20-30%.

How can I improve my vehicle's MPG?

Maintain tire pressure, get regular tune-ups, drive smoothly (avoid hard acceleration), remove excess weight, and use synthetic oil. These can improve MPG 5-20%.

What affects real-world MPG most?

Driving behavior matters most—aggressive driving reduces MPG 30%. Other factors: traffic congestion, cold weather (5-10% worse), and vehicle weight.

How long should I measure MPG over?

Measure over multiple fill-ups (5-10+) for accurate averages. Single-tank measurements vary too much due to driving conditions and fill-up technique.

Does premium fuel improve MPG?

Only if your car requires it (check owner manual). Premium gas doesn't improve MPG unless the engine is designed for higher octane and knocking.

What MPG is considered good?

20-30 MPG is average. 30+ is good, 40+ is excellent. Hybrids reach 40-60, electric vehicles eliminate fuel. Compare vehicles in your class for fair comparison.

Does idling use fuel?

Yes! Modern cars use little fuel idling, but it's worse than engine-off. If stopped > 10 seconds, turning off/on uses less fuel than idling (except cold starts).

Related Tools