Other

Gas Mileage Calculator

Calculate your car's MPG (miles per gallon) and estimate fuel costs for trips. Track and improve your fuel efficiency.

Calculate
miles
gal
$
/gal
Your MPG
25.0 mpg
Distance driven
300 miles
Gallons used
12.00 gal
Your MPG
25.0 mpg
Cost per mile
0.140/mi
Fill-up cost
$42.00

Track MPG over multiple fill-ups for a more accurate average.

How To Calculate MPG

Miles per gallon (MPG) measures how far your car travels on one gallon of fuel:

MPG=Miles DrivenGallons Used\text{MPG} = \frac{\text{Miles Driven}}{\text{Gallons Used}}

For example, if you drove 350 miles and used 12 gallons of gas, your fuel economy is 350 ÷ 12 = 29.2 MPG.

Calculating At The Pump

For accurate MPG tracking, use the fill-up method:

  1. Fill your tank completely
  2. Reset your trip odometer to zero
  3. Drive normally until you need fuel again
  4. Fill the tank completely again
  5. Record miles driven and gallons added
  6. Calculate: Miles ÷ Gallons = MPG

Repeat this process several times and average the results for a reliable estimate. Single fill-up calculations can vary due to pump differences and how full the tank was.

Trip Cost Calculation

To estimate fuel cost for any trip:

Trip Cost=DistanceMPG×Gas Price\text{Trip Cost} = \frac{\text{Distance}}{\text{MPG}} \times \text{Gas Price}

Example: Planning a 300-mile trip at 25 MPG with $3.50/gal gas:

30025×$3.50=$42.00\frac{300}{25} \times \$3.50 = \$42.00

For round trips, double the distance. For multi-day road trips, factor in estimated daily driving distances to plan fuel stops and budget accordingly.

Average MPG By Vehicle Type

Vehicle TypeAverage MPGAnnual Fuel Cost*
Compact car30-35$1,400-1,600
Midsize sedan25-32$1,500-1,900
Full-size sedan22-28$1,700-2,200
SUV20-28$1,700-2,400
Pickup truck17-24$2,000-2,800
Minivan20-25$1,900-2,400
Hybrid40-55$900-1,200
Electric (MPGe)100-130$500-700

*Based on 12,000 miles/year and $3.50/gallon (or equivalent electricity cost)

EPA Fuel Economy Ratings

The EPA tests all new vehicles using standardized procedures. When shopping for a car, you'll see:

RatingWhat It Measures
City MPGStop-and-go urban driving
Highway MPGSteady-speed highway driving
Combined MPGWeighted average (55% city, 45% highway)

Real-world vs. EPA estimates: Most drivers get 10-20% lower MPG than EPA ratings. The EPA tests in controlled conditions without A/C, with moderate acceleration, and at lower speeds than typical highway driving. Your driving style, terrain, and climate all affect actual results.

City Vs. Highway MPG

Highway driving is typically 20-30% more fuel efficient than city driving:

Driving TypeCharacteristicsFuel Impact
CityFrequent stops, idling at lights, acceleration from stopsUses most fuel
HighwaySteady speed, minimal braking, consistent throttleMost efficient
CombinedMix of both driving typesEPA weighted average

The efficiency gap is largest for conventional vehicles and smallest for hybrids, which recapture energy during braking.

What Affects Fuel Economy

Driving Habits

Your driving style has the biggest impact on fuel economy—potentially varying MPG by 30% or more:

  • Speed: Fuel economy drops significantly above 50 mph due to exponential increases in air resistance. Each 5 mph over 50 costs roughly 7% more fuel.
  • Acceleration: Aggressive acceleration can use 15-30% more fuel than gradual acceleration
  • Braking patterns: Anticipating stops and coasting reduces fuel waste
  • Idling: Modern engines use about 0.5-1 gallon per hour while idling. Turn off the engine for stops longer than 30 seconds.
  • A/C usage: Air conditioning can reduce MPG by 5-25% depending on conditions

Vehicle Condition

Regular maintenance directly impacts fuel economy:

  • Tire pressure: Under-inflated tires increase rolling resistance. Every 1 PSI drop below recommended pressure reduces MPG by 0.2%. Check monthly when tires are cold.
  • Engine oil: Using the manufacturer-recommended oil viscosity improves efficiency by 1-2%
  • Air filter: A severely clogged air filter can reduce MPG by up to 10% in older vehicles (modern fuel-injected cars compensate but still lose some efficiency)
  • Spark plugs: Worn or fouled spark plugs cause incomplete combustion
  • Oxygen sensors: Faulty sensors can reduce efficiency by up to 40%
  • Wheel alignment: Improper alignment creates drag and uneven tire wear

Vehicle Load

Extra weight forces the engine to work harder:

  • Every 100 lbs of extra weight reduces MPG by 1-2%
  • Roof racks and cargo boxes significantly increase aerodynamic drag—remove when not in use
  • A loaded roof rack can reduce highway MPG by 25%
  • Towing trailers dramatically reduces efficiency (often 30-50%)

External Factors

Conditions outside your control also affect fuel economy:

  • Temperature: Cold weather reduces MPG by 10-20% (cold engine, winter fuel blends, tire pressure drops)
  • Terrain: Hilly routes use more fuel than flat routes, even with regenerative braking
  • Traffic: Stop-and-go conditions dramatically reduce efficiency
  • Wind: Headwinds at highway speeds noticeably increase fuel consumption
  • Rain: Wet roads increase rolling resistance

Seasonal Fuel Economy Changes

Fuel economy varies significantly by season:

SeasonMPG ImpactPrimary Causes
Winter-10% to -20%Cold engine, winter fuel, tire pressure, A/C defrost
Spring/FallBaselineModerate temperatures, optimal conditions
Summer-5% to -10%A/C usage, summer fuel blends

Winter driving is hardest on fuel economy. Short trips in cold weather are especially inefficient since the engine never fully warms up.

Improving Your MPG

Quick Wins (No Cost)

  1. Check tire pressure monthly - Proper inflation improves MPG 3%+
  2. Remove excess weight - Clean out trunk, remove roof racks when not needed
  3. Smooth acceleration - Accelerate gradually rather than flooring it
  4. Use cruise control - Maintains steady speed on highways
  5. Coast to stops - Lift off the gas early when approaching stops
  6. Avoid excessive idling - Turn off engine for stops over 30 seconds
  7. Plan and combine trips - Cold starts use more fuel

Moderate Effort

  • Keep windows closed at highway speeds - Open windows create drag
  • Park in shade - Reduces A/C needs and fuel evaporation
  • Use recommended fuel grade - Premium doesn't help unless required
  • Maintain steady speeds - Avoid unnecessary speed fluctuations
  • Time your commute - Avoid rush hour traffic when possible

Maintenance Investments

  • Regular tune-ups - Maintain optimal engine performance
  • Timely oil changes - With recommended viscosity
  • Replace air filter - Per manufacturer schedule
  • Check oxygen sensors - If check engine light appears
  • Consider low rolling resistance tires - When replacing tires

Annual Fuel Cost Comparison

Understanding yearly costs helps when comparing vehicles or evaluating upgrades:

MPGGallons/Year*Annual Cost**
151,000$3,500
20750$2,625
25600$2,100
30500$1,750
35429$1,500
40375$1,312
50300$1,050

*Based on 15,000 miles/year **Based on $3.50/gallon

Cost Of Commuting

For typical commutes (22 working days per month):

Daily Round TripMPGGas PriceMonthly CostAnnual Cost
20 miles25$3.50$62$739
30 miles25$3.50$92$1,108
40 miles25$3.50$123$1,478
50 miles25$3.50$154$1,848
50 miles35$3.50$110$1,320
50 miles45$3.50$86$1,027

Improving from 25 to 35 MPG saves 44/month(44/month (528/year) on a 50-mile daily round-trip commute.

MPG Vs. Gallons Per Mile

MPG is intuitive but can be misleading when comparing fuel savings. Gallons per 100 miles shows the actual fuel consumed:

MPGGallons per 100 MilesSavings vs. Next Lower
1010.00-
156.673.33 gallons
205.001.67 gallons
254.001.00 gallons
303.330.67 gallons
402.500.83 gallons
502.000.50 gallons

Key insight: Upgrading from 15 to 20 MPG saves more fuel (1.67 gal/100mi) than upgrading from 35 to 50 MPG (0.83 gal/100mi). This is why replacing gas guzzlers provides the biggest environmental and economic benefit.

International Conversions

Most countries use liters per 100 kilometers (L/100km):

L/100km=235.215MPG\text{L/100km} = \frac{235.215}{\text{MPG}}
US (MPG)L/100kmEfficiency Level
2011.8Below average
259.4Average
307.8Good
356.7Very good
405.9Excellent
504.7Exceptional

Note: In L/100km, lower numbers indicate better efficiency (opposite of MPG).

UK gallons are larger than US gallons, so UK MPG figures are about 20% higher for the same efficiency. Multiply US MPG by 1.201 to convert to UK MPG.

Electric Vehicle Efficiency

EVs use MPGe (miles per gallon equivalent) to compare with gas vehicles:

MPGe=33.7 kWhkWh per mile\text{MPGe} = \frac{33.7 \text{ kWh}}{\text{kWh per mile}}

33.7 kWh equals the energy content of one gallon of gasoline.

EV EfficiencyMPGeComparison
0.25 kWh/mile135Very efficient EV
0.30 kWh/mile112Typical EV
0.35 kWh/mile96Larger EV/SUV
0.40 kWh/mile84Electric truck

Cost comparison: At 0.14/kWhelectricityand0.14/kWh electricity and 3.50/gallon gas, an EV getting 100 MPGe costs about 0.014/miletofuel,versus0.014/mile to fuel, versus 0.14/mile for a 25 MPG gas car—roughly 10x cheaper to fuel.

Fuel Grades And Octane

Using the right fuel grade matters:

OctaneUse WhenEffect of Wrong Choice
Regular (87)Manufacturer recommendsUsing premium wastes money
Mid-grade (89)Manufacturer recommends or requiresMarginal benefit if not required
Premium (91-93)Required by manufacturerUsing regular may cause knocking and reduced performance

Modern engines with knock sensors can adjust timing for lower octane fuel, but you'll lose some power and efficiency. Only use premium if your vehicle requires it—"recommended" means optional.

Common MPG Myths

Myth: Premium gas improves MPG in regular-fuel cars Reality: Unless your engine requires premium, you're just spending more money for no benefit.

Myth: Warming up the engine improves efficiency Reality: Modern fuel-injected engines need only 30 seconds. Extended idling wastes fuel.

Myth: A/C always uses less fuel than open windows Reality: At low speeds, open windows are more efficient. At highway speeds, A/C is better due to aerodynamic drag from open windows.

Myth: Fuel additives significantly improve MPG Reality: Most additives provide minimal measurable improvement. Stick to quality fuel and proper maintenance.

Myth: Manual transmissions always get better MPG Reality: Modern automatics with 8+ speeds often match or beat manual efficiency.

When To Consider A More Efficient Vehicle

Calculate whether a more efficient vehicle makes financial sense:

Annual Savings=Miles Driven×Gas Price×(1Old MPG1New MPG)\text{Annual Savings} = \text{Miles Driven} \times \text{Gas Price} \times \left(\frac{1}{\text{Old MPG}} - \frac{1}{\text{New MPG}}\right)

Example: Driving 15,000 miles/year at $3.50/gallon, upgrading from 20 MPG to 35 MPG:

15,000×$3.50×(120135)=$1,125 annual savings15,000 \times \$3.50 \times \left(\frac{1}{20} - \frac{1}{35}\right) = \$1,125 \text{ annual savings}

If the more efficient car costs $8,000 more, payback takes about 7 years from fuel savings alone. Factor in resale value, maintenance costs, and other benefits when deciding.