Gas Mileage Calculator

Compute your vehicle's fuel efficiency in MPG (US/UK) and L/100km, estimate trip costs, annual fuel expenses, and CO₂ emissions. Visualize your fuel consumption patterns, compare scenarios, and get actionable eco-driving insights.

$ / gal
mi/yr
? Sedan (avg) : 350 mi, 12.5 gal
? SUV : 280 mi, 14.0 gal
? Hybrid : 450 mi, 9.0 gal
? Pickup : 220 mi, 16.0 gal
? Europe (L/100km) : 600 km, 42 L
Privacy first: All calculations are performed locally in your browser. No data is sent to any server. Your driving data stays with you.

Understanding Fuel Economy & Gas Mileage

Gas mileage — commonly expressed as miles per gallon (MPG) in the US and liters per 100 kilometers (L/100km) in most other countries — is a measure of how efficiently a vehicle uses fuel. Higher MPG (or lower L/100km) means better fuel economy, which translates to lower fuel costs and reduced environmental impact. The fuel economy of a vehicle depends on many factors: engine design, vehicle weight, aerodynamics, driving habits, tire pressure, and even weather conditions.

MPG = Distance (miles) ÷ Fuel (gallons)   |   L/100km = 100 × Fuel (L) ÷ Distance (km)

Conversion: 1 MPG (US) ≈ 235.215 ÷ L/100km   |   1 MPG (UK) ≈ 282.481 ÷ L/100km

Why Fuel Efficiency Matters

Fuel efficiency is not just about saving money at the pump — it has far‑reaching implications for personal finance, energy security, and climate change. According to the U.S. Department of Energy, the average American driver spends over $2,000 per year on gasoline. Improving fuel economy by just 5 MPG can save hundreds of dollars annually. On a global scale, transportation accounts for roughly 24% of direct CO₂ emissions from fuel combustion, making fuel efficiency a critical lever in the fight against climate change.

This calculator helps you quantify your vehicle's efficiency, compare it against benchmarks, and identify opportunities for improvement. Whether you're a daily commuter, a long‑haul trucker, or a fleet manager, understanding your fuel consumption is the first step toward smarter, greener driving.

How to Use This Calculator

  1. Enter trip data: Input the distance you traveled and the amount of fuel consumed. You can use miles or kilometers, and gallons (US/UK) or liters.
  2. Add cost details: Enter the price per unit of fuel (e.g., $3.50 per gallon) and your estimated annual mileage to compute trip costs and yearly expenses.
  3. Click Calculate: The tool instantly computes MPG, L/100km, cost per mile, annual fuel cost, and CO₂ emissions.
  4. Visualize: The interactive bar chart compares your MPG and L/100km against benchmarks, and the efficiency rating gives you an at‑a‑glance assessment.
  5. Get tips: Personalized eco‑driving recommendations help you improve your fuel economy based on your results.

Real‑World Fuel Economy Data (EPA & EIA Benchmarks)

The data below are based on U.S. Environmental Protection Agency (EPA) and Energy Information Administration (EIA) averages. These benchmarks are updated regularly and reflect real‑world driving conditions.

Vehicle Class Avg. MPG (US) Avg. L/100km Annual Fuel Cost* CO₂ (g/mi)
Compact Car 32 7.35 $1,450 280
Midsize Sedan 28 8.40 $1,660 320
SUV / Crossover 22 10.69 $2,110 410
Pickup Truck 18 13.07 $2,580 500
Hybrid / EV (gas mode) 45 5.23 $1,030 200

* Based on 12,000 miles/year and $3.50/gal. Actual costs vary by region and driving habits.

Case Study: Commuter Cost Savings

Sarah drives a midsize sedan that gets 28 MPG. She commutes 45 miles round‑trip each day, 5 days a week — about 11,700 miles per year. At $3.50 per gallon, her annual fuel cost is approximately $1,462. By switching to a hybrid that averages 50 MPG, she could reduce her annual fuel spend to just $819 — saving over $640 per year. Over five years, that's more than $3,200 in savings, not including lower maintenance costs and tax incentives. This calculator helps you run similar scenarios to find the most cost‑effective vehicle for your needs.

The Science Behind Fuel Economy

Fuel economy is governed by the laws of physics and thermodynamics. The energy required to move a vehicle is determined by:

  • Rolling resistance: Tires, road surface, and vehicle weight.
  • Aerodynamic drag: Air resistance increases with the square of speed.
  • Engine efficiency: Internal combustion engines typically operate at 20–30% thermal efficiency.
  • Drivetrain losses: Friction in transmission, differential, and axles.

The EPA's fuel economy tests (city, highway, and combined) are designed to simulate real‑world driving conditions. However, your actual mileage may vary based on driving style, traffic, weather, and vehicle maintenance. This calculator uses standard conversion factors and formulas that are consistent with EPA and international (ISO) standards.

Common Misconceptions About Gas Mileage

  • Myth: Idling uses less fuel than restarting. Fact: Modern engines use about 0.2–0.4 gallons per hour at idle. If you're stopped for more than 10 seconds, turning off the engine saves fuel.
  • Myth: Premium fuel always improves mileage. Fact: Unless your vehicle requires premium (as specified in the owner's manual), using higher‑octane fuel provides no benefit.
  • Myth: Air conditioning always reduces mileage. Fact: At highway speeds, open windows create drag that can reduce MPG more than using AC.
  • Myth: Older cars are always less efficient. Fact: Many older cars with manual transmissions and simple engines can achieve respectable MPG, though modern vehicles generally have better overall efficiency due to advanced engine management and aerodynamics.

Advanced Features & Applications

  • Fleet Management: Track and compare fuel economy across multiple vehicles to identify underperforming assets.
  • Trip Planning: Estimate fuel costs for road trips and factor them into your budget.
  • Vehicle Selection: Compare potential new vehicles by their fuel economy ratings and projected annual costs.
  • Environmental Impact: Calculate your CO₂ footprint and set reduction goals.
  • Educational Tool: Teach students about energy conversion, efficiency, and environmental science using real‑world data.

Rooted in authoritative data – This tool is built on formulas and conversion factors recognized by the U.S. Environmental Protection Agency (EPA), the U.S. Department of Energy (DOE), and the International Energy Agency (IEA). Our calculations are verified against official fuel economy guides and peer‑reviewed literature on automotive efficiency. The interactive chart and eco‑driving tips are informed by research from the National Renewable Energy Laboratory (NREL) and the American Council for an Energy‑Efficient Economy (ACEEE). Reviewed by the GetZenQuery tech team, last updated July 2026.

Frequently Asked Questions

A "good" MPG depends on your vehicle class. For a sedan, 25–30 MPG is average; 30+ MPG is good; 40+ MPG is excellent. For SUVs, 20–25 MPG is typical; hybrids often exceed 35 MPG. Use our comparison bar to see how your MPG ranks against the US fleet average of about 25 MPG.

The conversion is: L/100km = 235.215 ÷ MPG (US). For example, 30 MPG = 235.215 ÷ 30 = 7.84 L/100km. Our calculator does this automatically for you.

EPA ratings are laboratory estimates. Real‑world MPG varies due to driving style, traffic, terrain, weather, tire pressure, vehicle load, and maintenance. Aggressive acceleration and high speeds can reduce MPG by 15–30% on the highway.

The calculator uses double‑precision floating‑point arithmetic and standard conversion factors, so results are accurate to many decimal places. However, actual fuel economy depends on many variables; use this tool as a reliable estimate, not a guarantee.

This tool is designed for gasoline/diesel vehicles. For EVs, we recommend our Electric Vehicle Cost Calculator, which computes cost per mile based on electricity rates and battery efficiency.

Key tips: maintain proper tire pressure, remove excess weight, avoid aggressive acceleration and hard braking, use cruise control on highways, combine trips, and keep up with regular engine maintenance (air filters, spark plugs, oil changes). For more personalized advice, see the tips generated after your calculation.