Skip to content
C

Gas Mileage Calculator

MPG from distance and fuel.

Fuel economy

MPG
32.00
km/L
13.61
L/100km
7.35

About the Gas Mileage Calculator

MethodologyHome

A gas mileage calculator computes fuel efficiency in miles per gallon (or kilometers per liter / liters per 100 km) from miles driven and fuel used. MPG isn't constant — it varies meaningfully with speed, terrain, weather, vehicle load, tire pressure, and driving style — so tracking actual MPG over multiple fill-ups gives a more honest picture than the EPA estimate on the window sticker. The same calculation also reveals whether maintenance issues, route changes, or driving habits are quietly costing you fuel.

How real-world MPG diverges from the EPA estimate

The EPA's window-sticker MPG comes from standardized lab tests run on a dynamometer. The numbers are reasonable averages but they assume specific driving patterns: a particular acceleration profile, a fixed speed range, and lab-controlled conditions. Real-world MPG often runs 10–25% below the sticker, especially in stop-and-go urban driving, cold weather, or mountainous terrain.

The mismatch is widest for hybrids and EVs, whose efficiency depends heavily on regenerative braking opportunities (better in cities) and battery temperature (worse in cold). A Toyota Prius rated 56 MPG combined often returns 50–55 MPG in moderate climates and 40–45 MPG in cold-weather highway driving. Tracking your own car's actual MPG month over month tells you what to expect; the sticker is a rough starting point.

What actually moves MPG

Speed: most modern gasoline cars peak in efficiency at 45–55 mph. Above 60 mph, MPG drops noticeably from aerodynamic drag (which scales with the square of velocity). Going 75 instead of 65 mph typically reduces fuel economy by 10–15%, with no time savings on most real-world commutes.

Aggressive driving (rapid acceleration, hard braking) reduces MPG by 15–30% in city driving and 10–20% on highways. Smooth acceleration and anticipating stops matter more than most drivers realize — fleet operators routinely improve their fuel economy 10%+ through driver-coaching programs alone.

Tire pressure: under-inflated tires increase rolling resistance and reduce MPG. The effect is modest individually (~0.2% per 1 PSI under spec) but cumulative — chronically running 5–8 PSI low can cost several MPG, plus accelerate tire wear.

Weight and cargo: each 100 lbs of unnecessary cargo costs 1–2% in fuel economy. A roof rack adds aerodynamic drag worth 5–8% MPG even when empty. Removing both when not needed is one of the simplest efficiency wins.

Trip cost and break-even calculations

The basic trip-cost formula: cost = (distance / MPG) × fuel price. A 400-mile trip in a 25-MPG car at $3.50/gallon: 16 gallons × $3.50 = $56. The same trip in a 40-MPG car: 10 gallons × $3.50 = $35. Over 15,000 annual miles, the MPG difference is $787/year at that fuel price — meaningful when comparing vehicles to buy.

Hybrid and EV break-even: the higher upfront cost vs. typical sedan can be recouped through fuel savings, but the break-even depends on annual miles, fuel price, electricity rates, and how long you keep the vehicle. A $4,000 hybrid premium with $700/year fuel savings recoups in 5.7 years — fine if you keep the car 8–10 years, marginal if you sell at 5.

Maintenance and the MPG signal

An unexplained drop in MPG often signals a maintenance issue: a failing oxygen sensor, a stuck thermostat, dragging brakes, an engine air filter past its useful life, or a misfiring cylinder. Tracking MPG fill-up over fill-up reveals these problems early, sometimes before they trigger a check-engine light.

Routine maintenance — clean air filter, properly inflated tires, on-spec oil viscosity, working oxygen sensors — generally produces 5–10% better MPG than a neglected vehicle. The savings often pay for the maintenance.

Formula

MPG = miles driven / gallons used
  • miles driven = Distance covered between fill-ups (use trip odometer reset, then mileage at next fill)
  • gallons used = Amount of fuel needed to refill the tank to the same level
  • L/100km conversion = L/100km = 235.215 / MPG

Worked examples

Single tank

Drove 350 miles, refilled with 12.5 gallons. MPG: 350 / 12.5 = 28 MPG. Multiple-tank averaging gives a more reliable number than any single tank.

Trip cost comparison

1,200-mile road trip. 25-MPG car: 48 gallons × $3.50 = $168 fuel. 40-MPG car: 30 gallons × $3.50 = $105 fuel. Difference: $63 for one trip. Annualize to 15,000 miles: $787 fuel-cost difference per year.

Highway-speed cost

Same 1,200-mile trip. At 75 mph and 32 MPG: 37.5 gallons × $3.50 = $131.25. At 65 mph and 36 MPG: 33.3 gallons × $3.50 = $116.55. Time difference: ~16 hr vs. ~18.5 hr — 2.5 hr longer for $14.70 less fuel. Whether the time-money trade is worth it depends on your circumstance, but the cost is small.

Frequently asked questions

How do I calculate MPG?

Fill the tank, reset the trip odometer (or write down current mileage). Drive normally until next fill-up. Note miles driven and gallons added at the next fill. MPG = miles ÷ gallons. Average across 3–5 tanks for a reliable number.

Why is my MPG worse than the EPA rating?

EPA ratings come from standardized lab tests with specific assumptions about acceleration, speed, and conditions. Real-world MPG often runs 10–25% below the rating. The largest factors: cold weather, short trips (engine doesn't reach efficient operating temperature), aggressive driving, and high-speed highway driving over 65 mph.

Does premium gas improve MPG?

Only on engines that require or are tuned for premium. On engines tuned for regular, premium gas adds cost without performance or efficiency benefit. Check the owner's manual: 'recommended' premium often has small performance/efficiency trade-offs on regular; 'required' premium really means it.

How does cold weather affect MPG?

Significantly. Cold weather can drop MPG 15–30% from warm-weather norms due to: longer warm-up times (engine doesn't reach efficient temperature on short trips), winter-blend gasoline (slightly less energy density), increased rolling resistance from cold tires, and higher accessory loads (heater, defroster, headlights). EVs are even more affected — battery efficiency drops in cold.

Is it worth using cruise control for MPG?

On flat highways, yes — cruise control maintains a steady speed, which is more efficient than the small accelerations and decelerations most drivers produce. On hilly terrain, basic cruise can hurt efficiency by maintaining speed up grades; modern adaptive cruise often handles this better.

How can I improve my MPG?

The largest practical levers: drive 5–10 mph slower on highways (~10–15% improvement at 65 vs. 75 mph), avoid aggressive acceleration and braking (~10–25%), keep tires at spec pressure (~3% if previously well below), remove unused roof racks (~5–8%), and keep up with engine maintenance (~5–10%).

Concepts

Sources & methodology

  • U.S. Department of Energy / EPA — Fuel Economy guidesource