Fuel Mileage Calculator

Calculate your car's MPG, trip fuel costs, and compare vehicles. At $4.10/gallon (June 2026 US average), a 50 MPG car costs $984/year to fuel while a 20 MPG truck costs $2,460/year. Enter your numbers below to see your exact costs.

Calculate Your Fuel Mileage (MPG)

Enter your odometer readings and fuel amount to calculate your vehicle's fuel efficiency.

miles
miles
gallons
per gallon

Trip Cost Calculator

Plan your road trip and calculate total fuel costs.

miles
MPG
per gallon

Compare Vehicle Fuel Economy

Compare fuel efficiency between two vehicles.

Vehicle 1

VS

Vehicle 2

Fuel Savings Calculator

Calculate how much you could save by improving your fuel efficiency.

per gallon

Real Fuel Costs: What You're Actually Paying

As of June 2026, the US national average for regular unleaded is about $4.10/gallon. But the price varies by over $2.50/gallon between states. Here's what that means for your annual fuel cost.

Annual Fuel Cost by Vehicle (12,000 mi/year, $4.10/gal)

Using EPA combined MPG ratings for 2026 models, here's what popular vehicles actually cost to fuel for a year:

VehicleEPA MPGGallons/yrAnnual CostMonthly
Toyota Camry Hybrid52231$947$79
Honda Accord Hybrid48250$1,025$85
Toyota Corolla35343$1,406$117
Honda Civic33364$1,492$124
Ford F-150 (V6)23522$2,140$178
Jeep Wrangler20600$2,460$205
Ford F-150 (V8)18667$2,735$228

Source: EPA fueleconomy.gov 2026 model year ratings. Annual cost = (12,000 ÷ MPG) × $4.10/gallon. Your actual cost depends on your driving conditions, which the calculator above accounts for.

Gas Prices by State (June 2026)

State$/gallon
California$5.60
Hawaii$5.55
Washington$5.40
New York$4.30
National avg$4.10
Texas$3.50
Arkansas$3.20
Mississippi$3.10
Oklahoma$3.00

Source: AAA gas price tracker, June 2026. A Camry Hybrid driver pays $1,295/yr in California vs $692/yr in Oklahoma — a $603 difference for the same car.

The Formula: How MPG Is Calculated

The calculation is simple division, but getting it right requires consistent fill-ups and accurate odometer readings.

MPG = Distance Traveled ÷ Fuel Consumed

For metric: L/100km = (Fuel in liters × 100) ÷ Distance in km

Example: Calculating MPG for a Real Trip

Here's the exact calculation the calculator above runs, using a typical fill-up:

  1. Fill up at the pump: Odometer reads 52,300 miles. You fill the tank with 11.2 gallons.
  2. Drive normally until the next fill-up. Odometer now reads 52,860 miles.
  3. Distance traveled: 52,860 − 52,300 = 560 miles
  4. Fuel consumed: 11.2 gallons (the amount to refill the tank)
  5. MPG: 560 ÷ 11.2 = 50.0 MPG
  6. Cost per mile: If gas was $4.10/gallon: $4.10 ÷ 50 = $0.082/mile
  7. Annual fuel cost (12,000 mi/yr): 12,000 × $0.082 = $984/year

This 50 MPG result matches a Toyota Camry Hybrid — one of the most efficient non-EV vehicles on the market in 2026.

Common Mistakes When Calculating MPG

  • Not filling up completely. If you don't fill to the same level each time, your fuel consumed measurement is wrong. Always fill until the pump clicks off — don't top off.
  • Using trip meter instead of odometer. Trip meters can be accidentally reset. Use the main odometer reading for both fill-ups to avoid errors.
  • Calculating from a single fill-up. One tank's MPG can vary by 3-5 MPG due to driving conditions. Average 3-5 fill-ups for a reliable figure.
  • Mixing units. If your odometer is in miles but you buy fuel in liters (or vice versa), convert before calculating. 1 US gallon = 3.785 liters. 1 mile = 1.609 km.
  • Ignoring driving conditions. Highway MPG is typically 20-30% higher than city MPG. Don't compare a highway trip result to EPA combined ratings and conclude your car is underperforming.

Limitations: What This Calculator Cannot Know

  • Real-world MPG varies. Your actual MPG depends on driving style, traffic, weather, tire pressure, and load. EPA ratings are lab-tested — expect 10-15% lower in real conditions.
  • Gas prices change daily. The $4.10/gallon national average is a June 2026 snapshot. Your local price could be $3.00 or $5.60. Check AAA's gas price tracker for current local prices.
  • Calculator accuracy depends on your input. If you enter the wrong odometer reading or fuel amount, the result is wrong. Double-check both numbers at the pump.
  • Hybrid and EV vehicles need special handling. MPG doesn't apply to EVs — they use MPGe (miles per gallon equivalent). For hybrids, the calculator works but MPG varies more with driving conditions.
  • Do not enter private information. This calculator needs no personal data. All computation runs in your browser.

Related Guides & Tools

Frequently Asked Questions

How do I calculate my car's MPG?

Fill your tank completely and note the odometer reading. Drive until your next fill-up. Fill up again and note the new odometer reading and the gallons you just added. MPG = (new odometer - old odometer) ÷ gallons added. For example: (52,860 - 52,300) ÷ 11.2 = 50 MPG.

What is a good MPG for a car?

In 2026, a combined MPG of 30+ is good for a gas car, 45+ is excellent (hybrid territory), and 52 is among the best (Toyota Camry Hybrid). For trucks, 20-25 MPG combined is typical. The EPA average for all new vehicles is about 28 MPG combined.

How accurate is the MPG calculator?

The calculator is as accurate as your inputs. If you enter correct odometer readings and the exact gallons to refill, the MPG result is mathematically precise. However, a single fill-up can vary 3-5 MPG due to driving conditions. Average 3-5 fill-ups for a reliable figure.

How do I convert MPG to L/100km?

Use the formula: L/100km = 235.215 ÷ MPG. For example, 30 MPG = 235.215 ÷ 30 = 7.84 L/100km. The conversion constant 235.215 comes from the relationship between miles, kilometers, gallons, and liters. See our MPG vs L/100km conversion guide for the full explanation.

Why is my actual MPG lower than the EPA rating?

EPA ratings are lab-tested under controlled conditions. Real-world MPG is typically 10-15% lower due to: aggressive driving, heavy traffic, cold weather (winter blend fuel and engine warmup), air conditioning use, and cargo weight. If your MPG is 20%+ below the EPA rating, check your tire pressure, air filter, and oxygen sensor.

Editor Note

Reviewed June 2026. Gas prices sourced from AAA's daily fuel gauge report (June 2026). EPA MPG ratings from fueleconomy.gov for 2026 model year vehicles. The calculator runs entirely in your browser — no data is sent to any server. If you spot an outdated price or incorrect MPG figure, please contact us with the correct data and your source.