Gas Mileage Calculator

Calculate your fuel economy (MPG or L/100km) and trip costs

Total distance traveled

Total fuel consumed

Enter price to calculate cost per distance

Note: Fuel economy can vary based on driving conditions, vehicle condition, weather, and driving habits. CO₂ emissions are estimates based on standard gasoline combustion.

How to Use the Gas Mileage Calculator

Understanding Fuel Economy

Fuel economy measures how efficiently your vehicle uses fuel. In the United States, it's measured in miles per gallon (MPG), while most other countries use liters per 100 kilometers (L/100km). Understanding your vehicle's fuel economy helps you:

  • Budget for fuel expenses
  • Identify potential vehicle problems (sudden drops in MPG)
  • Compare vehicle efficiency when shopping for a new car
  • Reduce your environmental impact
  • Plan road trip costs accurately

How to Calculate Your MPG

Follow these steps to accurately calculate your vehicle's fuel economy:

  1. Fill your gas tank completely and reset your trip odometer to zero
  2. Drive normally until you need to refuel (at least 100 miles for accuracy)
  3. Fill the tank completely again and note the gallons added
  4. Record the miles driven from your trip odometer
  5. Enter these values into the calculator: MPG = Miles ÷ Gallons

For metric users: L/100km = (Liters Used ÷ Kilometers Driven) × 100

MPG Calculator Example

If you drive 300 miles on 10 gallons, your gas mileage is 300 ÷ 10 = 30 MPG. At $3.50 a gallon, that costs about $0.12 per mile, so a 500-mile road trip would cost about $58 in fuel. Enter your own distance, fuel and gas price above to get the same figures for your car.

How to Calculate Combined MPG

EPA's combined rating weights city driving at 55% and highway driving at 45%. You can't just average the two numbers, because the formula works on fuel used:

Combined MPG = 1 ÷ (0.55 ÷ city MPG + 0.45 ÷ highway MPG)

For example, a car rated 25 MPG city and 35 MPG highway has a combined rating of about 29 MPG.

Converting MPG to L/100 km

MPG measures distance per unit of fuel, and L/100 km measures fuel per unit of distance. One is the reciprocal of the other, so a single number converts both ways. NIST, the US standards agency, gives it as 235.215:

L/100 km = 235.215 ÷ MPG
MPG = 235.215 ÷ L/100 km

A car that gets 30 MPG uses 235.215 ÷ 30 = 7.84 litres per 100 km. A European car rated at 6.5 L/100 km gets 235.215 ÷ 6.5 = 36.2 MPG. Lower is better for L/100 km, and higher is better for MPG.

UK mpg is a different number. A UK (imperial) gallon is 4.54609 litres and a US gallon is 3.785 litres, so the same car shows about 20% more miles per gallon in the UK: the 30 MPG car above is 36.0 mpg on the UK scale. Check which gallon a figure uses before you compare cars from the two countries.

MPG to L/100km and Fuel Cost Chart

Costs assume 12,000 miles a year at $3.50 a gallon.

MPG L/100km Cost per Mile Fuel per Year
15 15.7 $0.23 $2,800
20 11.8 $0.17 $2,100
25 9.4 $0.14 $1,680
30 7.8 $0.12 $1,400
35 6.7 $0.10 $1,200
40 5.9 $0.09 $1,050
50 4.7 $0.07 $840

Tips to Improve Your Gas Mileage

  • Maintain Steady Speed: Use cruise control on highways to avoid unnecessary acceleration.
  • Reduce Weight: Remove unnecessary items from your vehicle; extra 100 lbs reduces MPG by ~1%.
  • Check Tire Pressure: Keeping tires properly inflated improves MPG by 0.6% on average, and up to 3% in some cases. Check monthly.
  • Avoid Idling: Idling can use a quarter to a half gallon of fuel per hour, depending on engine size and AC use.
  • Use Recommended Oil: Using the manufacturer's recommended motor oil can improve MPG by 1-2%.
  • Plan Routes: Combine errands and avoid rush hour traffic to reduce stop-and-go driving.
  • Drive Gently: Aggressive driving can lower MPG by roughly 15% to 30% at highway speeds and 10% to 40% in stop-and-go traffic.
  • Slow Down: Gas mileage drops quickly above 50 mph.

When to Be Concerned About Low MPG

If your fuel economy suddenly drops, it may indicate a vehicle problem. Common causes include:

  • Dirty or clogged air filter (on older carbureted engines)
  • Faulty oxygen sensor
  • Worn spark plugs
  • Dragging brakes
  • Low tire pressure
  • Malfunctioning thermostat
  • Fuel system issues (injectors, fuel pump)

If you notice a large drop in fuel economy that can't be explained by driving conditions, have your vehicle inspected by a qualified mechanic.

Environmental Impact of Fuel Consumption

Understanding the environmental impact of your fuel consumption:

  • Each gallon of gasoline burned produces approximately 19.6 pounds (8.9 kg) of CO₂
  • A typical passenger vehicle emits about 4.6 metric tons of CO₂ per year
  • Driving 50 miles at 20 MPG emits ~2.5 gallons = 49 lbs of CO₂
  • Driving 50 miles at 40 MPG emits ~1.25 gallons = 24.5 lbs of CO₂

Comparing Vehicles Before Buying

Use this calculator to compare the real-world cost difference between vehicles with different fuel economies:

Example: 12,000 miles/year at $3.50/gallon

  • • 20 MPG vehicle: $2,100/year in fuel
  • • 30 MPG vehicle: $1,400/year in fuel ($700 savings)
  • • 40 MPG vehicle: $1,050/year in fuel ($1,050 savings)

Over 5 years, the difference between 20 MPG and 40 MPG is $5,250 in fuel costs!

Accuracy Note: This calculator provides estimates based on the data you enter. Actual fuel economy can vary significantly based on driving conditions, vehicle maintenance, weather, terrain, and driving habits. CO₂ emissions are approximate calculations based on standard gasoline combustion. For EPA fuel economy ratings and more detailed vehicle comparisons, visit fueleconomy.gov.

Sources

Last reviewed November 2026. How the calculators are built and checked

Frequently Asked Questions

How do I calculate my gas mileage (MPG)?

MPG = miles driven ÷ gallons used. Fill the tank, reset your trip odometer, drive normally, then on your next fill-up note the miles driven and gallons added. Divide miles by gallons. For accuracy, average over multiple fill-ups since one tank can be skewed by terrain or driving style.

What's a good MPG for a car?

It depends on the vehicle, so compare your result with the EPA combined rating for your year, make, and model on FuelEconomy.gov. For context, EPA's estimate for a typical passenger vehicle assumes about 22 MPG.

How does the EPA estimate MPG?

EPA tests vehicles on standardized dynamometer cycles simulating city and highway driving in a controlled lab. Combined MPG is a weighted average (55% city, 45% highway). Real-world MPG often differs based on driver behavior, climate, and traffic.

Why is my real MPG lower than the sticker?

Common causes: hard acceleration, short trips that never let the engine warm up, under-inflated tires, air conditioning in hot weather, roof racks adding drag, and ethanol blends. FuelEconomy.gov says cars typically go 3% to 4% fewer miles per gallon on E10 than on pure gasoline.

Does driving style affect fuel economy?

Yes. FuelEconomy.gov says aggressive driving can lower gas mileage by roughly 15% to 30% at highway speeds and 10% to 40% in stop-and-go traffic, and mileage drops quickly above 50 mph. Smooth acceleration, anticipating stops and steady speeds make the biggest difference.