CalcSutra

Gas Mileage Calculator

Calculate fuel economy in MPG or L/100km from miles driven and gallons used. Track and improve your vehicle's efficiency.

Enter Values

Fill in the fields and press Calculate to see instant results.

$

Gas Mileage Calculator: Measure Your Vehicle's Real-World Fuel Economy

The Gas Mileage Calculator allows you to measure your vehicle's actual fuel efficiency in miles per gallon (MPG), liters per 100 kilometers (L/100km), or kilometers per liter (km/L). Unlike EPA estimates — which are measured in controlled lab conditions — this calculator uses your real fill-up data to show exactly how fuel-efficient your driving actually is.

Knowing your actual MPG is invaluable. It helps you budget fuel costs accurately, detect declining engine performance (a sudden MPG drop often indicates maintenance issues like dirty air filters, low tire pressure, or engine problems), compare different vehicles or driving routes, and quantify the fuel savings from adopting more efficient driving habits.

Whether you're tracking mileage for tax reimbursement, fleet management, or simply trying to understand your car better, this calculator transforms two simple measurements — miles driven and gallons used — into actionable fuel economy data. It also provides cost-per-mile analysis and annual fuel cost projections.

💡 Quick Formula: MPG = Miles Driven ÷ Gallons Used. L/100km = (Liters Used ÷ km Driven) × 100. For best accuracy, fill your tank completely at both the start and end of your measurement period.

When to Use This Gas Mileage Calculator

🔧 Vehicle Maintenance Tracking

Track MPG over time to detect engine problems early. A 10–15% drop in fuel economy often signals issues like dirty air filters, oxygen sensor failure, or improper tire inflation before they become expensive repairs.

🚗 New Vehicle Evaluation

Verify that a used vehicle achieves its claimed fuel economy. Calculate whether actual MPG matches the seller's claims. Compare real-world efficiency of different vehicles you're considering purchasing.

📊 Fleet Management

Track fuel efficiency across company vehicles to identify underperforming units, monitor driver behavior, and optimize fuel spending across large fleets. Benchmark against manufacturer specifications.

💸 Tax & Reimbursement Records

Accurately record fuel efficiency for business mileage claims. Some expense systems require actual MPG data to validate fuel reimbursement amounts separate from the IRS standard mileage rate.

🌱 Environmental Impact

Calculate your carbon footprint from driving. Every gallon of gas burned releases 8.89 kg (19.6 lbs) of CO₂. Knowing your MPG allows you to calculate your annual CO₂ emissions from driving.

📱 Hypermiling Challenge

Hypermilers use MPG tracking to gamify fuel efficiency. By measuring MPG across different routes and driving techniques, you can identify which habits most dramatically improve your fuel economy.

Gas Mileage Formulas

Imperial (US) Calculations

MPG = Miles Driven ÷ Gallons Used

Metric Calculations

L/100km = (Liters Used ÷ km Driven) × 100

km/L = km Driven ÷ Liters Used

Unit Conversion

L/100km = 235.215 ÷ MPG

MPG = 235.215 ÷ L/100km

Cost Analysis Formulas

  • Cost per mile: Gas Price ($/gallon) ÷ MPG
  • Annual fuel cost: (Annual Miles ÷ MPG) × Price per Gallon
  • Annual CO₂ emissions: (Annual Miles ÷ MPG) × 8.89 kg CO₂ per gallon

Step-by-Step: How to Measure Your MPG

  1. Start with a full tank. Fill your tank completely (until the pump clicks off automatically). Don't try to squeeze in extra — stop at the first click. Note your exact odometer reading. Alternatively, reset your trip odometer to 0.
  2. Drive normally. Drive your typical routes over at least 100 miles, ideally 200+ miles for more accurate data. The larger the sample size, the more representative the result.
  3. Fill up completely again. At the same type of pump (same grade of fuel), fill the tank completely again. Note the exact number of gallons (or liters) dispensed from the pump display.
  4. Record miles driven. Subtract your starting odometer from the current reading, or simply read your trip odometer.
  5. Calculate MPG. Divide miles driven by gallons added: MPG = Miles ÷ Gallons. Example: 285 miles ÷ 9.8 gallons = 29.1 MPG.
  6. Repeat for accuracy. A single measurement can be skewed by unusual driving conditions. Track MPG over 3–5 fill-up cycles and take the average for the most representative result.

Worked Examples

Example 1: Standard Fill-Up Method

Miles driven: 312 miles | Gallons added: 10.8 gallons

MPG: 312 ÷ 10.8 = 28.9 MPG

L/100km equivalent: 235.215 ÷ 28.9 = 8.14 L/100km

Assessment: Reasonable for a midsize sedan or compact SUV in mixed driving.

Example 2: Detecting a Maintenance Problem

Historical MPG: 34 MPG (3 previous measurements)

Current measurement: 285 miles ÷ 10.2 gallons = 27.9 MPG

Drop: (34 - 27.9) ÷ 34 = 17.9% decline

Action: 18% drop signals a potential issue. Check: tire pressure, air filter, spark plugs, O2 sensor, check engine light.

Example 3: Metric Calculation (European)

km driven: 480 km | Liters added: 36.5 L

L/100km: (36.5 ÷ 480) × 100 = 7.60 L/100km

MPG equivalent: 235.215 ÷ 7.60 = 30.9 MPG

Assessment: Good efficiency for a European family car (WLTP rating likely 6.5–8 L/100km).

Example 4: Highway vs. City Comparison

MeasurementMilesGallonsMPG
City commute week1807.524.0
Highway road trip42012.334.1

42% better on the highway — typical for gas engines due to elimination of stop-and-go inefficiency.

Example 5: Annual Savings from Fuel-Efficient Driving

Scenario: Improved from 24 MPG to 30 MPG, 15,000 mi/year, $3.50/gallon

Before: 15,000 ÷ 24 × $3.50 = $2,187.50/year

After: 15,000 ÷ 30 × $3.50 = $1,750.00/year

Annual savings: $437.50 ($36.46/month)

Advertisement

[After Results Ad — 728×90 leaderboard]

Factors That Affect Gas Mileage

🌡️ Temperature

Cold weather reduces MPG by 10–20% due to longer engine warm-up time, thicker fluids, and reduced battery effectiveness in hybrids. At 20°F, city MPG can drop by 30% vs. optimal conditions.

🚦 Traffic & Route

City driving with frequent stops uses 30–50% more fuel per mile than highway driving. Traffic congestion during idle reduces efficiency dramatically — idling gets 0 MPG.

🏎️ Driving Speed

Aerodynamic drag increases exponentially with speed. Each 5 mph over 60 mph reduces efficiency by 7–14%. Optimal highway speed for most vehicles is 45–55 mph.

🔧 Vehicle Maintenance

Under-inflated tires: -0.5% per PSI. Dirty air filter: -up to 10%. Worn spark plugs: -4%. Engine oil type: using recommended viscosity saves 1–2%. Regular maintenance directly impacts fuel economy.

Common Mistakes When Measuring Gas Mileage

❌ Not Filling Tank Completely Both Times

Consequence: If you add 8 gallons when 9 were actually needed (because you didn't fill fully the second time), your calculated MPG is artificially inflated. Even a 0.5-gallon error on a 10-gallon fill changes MPG by 5%.

✓ Solution: Always fill to the pump's first automatic click, at the same pump angle and position. Consistency in filling technique produces consistent results.

❌ Using a Sample Too Small

Consequence: A single tank measurement can vary by 10–20% from your true average due to unusual conditions (all city driving, headwinds, cold start). One data point is not representative of typical fuel economy.

✓ Solution: Track MPG for at least 3–5 consecutive fill-ups and calculate the average. This smooths out the variations from weather, traffic, and driving conditions.

Frequently Asked Questions About Gas Mileage

How do I calculate my car's gas mileage?

Fill tank completely, reset trip odometer, drive normally, fill completely again. MPG = Miles Driven ÷ Gallons Added. Example: 350 miles driven, 12 gallons added → 350 ÷ 12 = 29.2 MPG.

What is a good MPG?

Above 30 MPG is good; above 40 MPG is excellent. Compact cars: 30–38 MPG; midsize sedans: 28–35; SUVs: 22–28; trucks: 18–22; hybrids: 45–58 MPG.

What is the difference between MPG and L/100km?

MPG: higher = more efficient. L/100km: lower = more efficient. Convert: L/100km = 235.215 ÷ MPG. Example: 30 MPG = 7.84 L/100km.

Why is my actual MPG lower than EPA estimates?

EPA tests use controlled conditions. Real-world driving with AC, cold weather, aggressive acceleration, and traffic typically reduces efficiency by 10–20% vs. EPA ratings.

How does speed affect gas mileage?

MPG typically peaks at 45–55 mph. Each 5 mph over 60 mph reduces efficiency by 7–14% due to aerodynamic drag. Driving 80 mph instead of 65 mph can cut MPG by 15–25%.

Does AC hurt gas mileage?

Yes. AC can reduce city MPG by up to 25% in extreme heat. Highway impact is smaller (5–10%). In hot weather above 45 mph, AC is more efficient than open windows due to aerodynamic drag from open windows.

Related Calculators

People Also Calculate

Advertisement

[Bottom Article Ad — 728×90 leaderboard]

Conclusion

Your vehicle's actual gas mileage — measured from real fill-up data — is one of the most useful metrics you can track as a car owner. It reveals your true fuel costs, helps you budget for trips and commutes, and serves as an early warning system for maintenance issues. The simple formula (Miles ÷ Gallons) transforms two easily obtained numbers into powerful insight about your vehicle's health and your driving habits.

Track your MPG consistently over several fill-ups to establish a reliable baseline, then watch for significant deviations. A 10%+ drop from your average often indicates a maintenance issue worth investigating before it becomes a costly repair. And remember: a few simple habits — moderate speeds, smooth acceleration, proper tire pressure — can add 2–5 MPG to your real-world fuel economy.

⛽ Next Step: Now that you know your MPG, use the Fuel Cost Calculator to estimate your exact trip and commute expenses at current gas prices.

People Also Calculate

Calculators visitors commonly use alongside this one.