Skip to content
Back to All Calculators

Gas Mileage (MPG) & Fuel Cost Calculator

Calculate your vehicle's true miles per gallon (MPG) from fill-up data, estimate one-way or round-trip road trip gasoline costs, convert MPG to metric L/100km, and track fuel cost per mile.

MPG & Trip Fuel Cost Calculator

Compute miles per gallon, L/100km conversion, trip gas spend, and cost per mile

How to Use This Gas Mileage (MPG) Calculator

  1. Pick MPG Tracking or Trip Fuel Cost Mode: Select Calculate My MPG to audit pump fill-ups, or Estimate Trip Gas Cost to budget an upcoming road trip.
  2. Enter Miles Driven & Fuel Consumed (or Vehicle MPG): Input odometer miles traveled and US gallons filled at the pump (or your EPA/real-world highway MPG rating).
  3. Add Current Gasoline Price per Gallon: Enter local fuel cost ($/gal) and check the round-trip option if estimating return travel.
  4. Inspect MPG, L/100km Conversion & Cost per Mile: Review US MPG, metric L/100km and km/L equivalents, total trip fuel spend, fuel cost per mile, and EPA CO2 tailpipe pounds.

Fuel Economy Formulas & Worked Driving Scenarios

Fuel Economy (MPG) = Miles Driven / Gallons Used
Trip Fuel Cost ($) = (Trip Miles / MPG) x Gas Price per Gallon
Cost per Mile ($/mi) = Gas Price per Gallon / MPG
Metric Conversion: L/100km = 235.215 / US MPG

Scenario 1 (Tank Fill-Up MPG Check): Driving 360 miles between full fill-ups and pumping 12.0 gallons gives exactly 30.00 MPG (7.84 L/100km). At $3.45/gallon, total fuel spent is $41.40 ($0.12 per mile), emitting 235.1 lbs of CO2.

Scenario 2 (420-Mile Round-Trip Family Road Trip): An 840-mile round trip in an SUV averaging 24 MPG consumes 35.0 gallons costing $120.75 at $3.45/gal, vs just 17.5 gallons ($60.38) in a 48 MPG hybrid.

MPG Fuel Savings Over 15,000 Annual Miles ($3.50/gal Gas)

Fuel Economy (MPG)L/100km EquivalentAnnual Gallons (15k mi)Annual Gas Cost ($3.50/gal)
18 MPG (Full-Size SUV/Truck)13.07 L/100km833 gal$2,916.67
25 MPG (Midsize Crossover)9.41 L/100km600 gal$2,100.00
32 MPG (Compact Sedan)7.35 L/100km469 gal$1,640.63
48 MPG (Hybrid Vehicle)4.90 L/100km313 gal$1,093.75

MPG Measurement Tips, Driving Habits & Common Mistakes

  • Wait for Same-Pump Shutoff Consistency: Different station nozzles click off at slightly different vapor pressures; average 3+ consecutive full tank logs rather than relying on one short partial fill-up.
  • Account for Speed Aerodynamic Drag: Aerodynamic wind resistance climbs with the square of speed; cruising at 75 mph cuts highway MPG roughly 10% to 15% compared to 60 to 65 mph.
  • Tire Pressure & Winter Blend Fuel: Underinflated tires (down 5+ PSI) and US winter-grade E10/RVP gasoline mixtures naturally reduce winter highway fuel economy by 3% to 8%.

Uses US EPA 8,887 g/gal (19.59 lbs) CO2 gasoline emissions standard. See Editorial Policy.

Frequently Asked Questions

How do I calculate my car gas mileage (MPG) accurately?

Fill your tank completely and reset your trip odometer to zero. On your next fill-up, fill the tank to the automatic shutoff again and divide the miles driven by the exact gallons shown on the pump: MPG = Miles Driven / Gallons Used.

How do I estimate total gas cost for a road trip?

Divide total trip distance in miles by your highway MPG rating to get gallons required, then multiply gallons by the average gas price per gallon. For a 420-mile drive at 30 MPG ($3.45/gal), you need 14 gallons costing $48.30 one way.

How do you convert US MPG to metric L/100km or km/L?

Divide 235.215 by US MPG to get liters per 100 kilometers (L/100km). For example, 30 US MPG equals 7.84 L/100km. To convert US MPG into kilometers per liter (km/L), multiply US MPG by 0.425144 (30 MPG = 12.75 km/L).

Why does real-world MPG differ from the EPA window sticker?

Highway speeds above 65 mph sharply raise aerodynamic drag, while cold winter temperatures thicken engine oil and trigger longer warm-up cycles. Underinflated tires, cargo weight, roof racks, and stop-and-go AC usage also lower real-world fuel economy.

Does EPA CO2 per gallon change for diesel vs. gasoline?

Yes. The US EPA uses 8,887 grams (19.59 pounds) of CO2 per US gallon of standard E10 gasoline burned, whereas ultra-low-sulfur diesel releases roughly 22.45 pounds of CO2 per gallon due to higher carbon density per gallon.