All calculators

General calculator

Gas Mileage Calculator

Calculate your vehicle's gas mileage (MPG, L/100km, Km/L) and fuel costs. Easily track your fuel efficiency and save money on gas.

Introduction

The Gas Mileage Calculator is an easy-to-use tool designed to determine your vehicle's fuel efficiency. By entering the distance traveled and the amount of fuel consumed, you can immediately find your fuel economy in Miles per Gallon (MPG), Liters per 100 Kilometers (L/100km), or Kilometers per Liter (Km/L). If you provide the fuel price, the calculator will also determine your total fuel cost and cost per mile, giving you a clear picture of your vehicle's operating costs.

How to Use

Enter the distance traveled (in miles or kilometers) and the amount of fuel used (in gallons or liters). Optionally, enter the price of fuel per unit to calculate costs. Press the Calculate button to view your fuel economy metrics and financial breakdown.

Formula

MPG Formula: Miles / Gallons. L/100km Formula: (Liters / Kilometers) * 100. Cost per Mile: Total Fuel Cost / Total Distance.

Examples

Example 1: Driving 300 miles using 10 gallons of gas yields 30 MPG. Example 2: If fuel costs $3.50 per gallon, total cost is $35.00, resulting in a cost per mile of $0.1167.

Results Explained

The results show your Miles per Gallon (MPG), along with equivalent metrics in metric units. If pricing is provided, it breaks down your total expenditure and cost per unit of distance, allowing you to estimate budgets for road trips.

What Is Gas Mileage & Fuel Efficiency?

Gas mileage, or fuel economy, is a measure of how far a vehicle can travel per unit of fuel consumed. In the United States and the United Kingdom, this is typically measured in Miles per Gallon (MPG). In countries using the metric system, efficiency is represented either as Kilometers per Liter (Km/L) or Liters per 100 Kilometers (L/100km).

Understanding and tracking your vehicle's gas mileage is crucial for several reasons. First, it directly impacts your wallet. A car with poor gas mileage costs significantly more to operate than an efficient hybrid or compact car. Second, fuel economy is directly linked to environmental impact. Burning fuel releases carbon dioxide and other greenhouse gases; the more fuel your vehicle uses, the larger its carbon footprint. Finally, sudden drops in gas mileage can serve as early warning signs of mechanical issues, such as failing sensors, low tire pressure, or engine trouble.

How to Measure Gas Mileage Manually

While dashboards in modern vehicles show real-time fuel efficiency estimates, they are often slightly inaccurate. The most reliable way to calculate your actual gas mileage is the "fill-up method." Here is how you do it step-by-step:

  1. Fill the Tank: Go to the gas station and fill your vehicle's fuel tank completely.
  2. Reset the Odometer: Record your current mileage or reset your trip odometer to zero. Let's call this point A.
  3. Drive Normally: Drive your vehicle as you normally would until you need to refuel (ideally when the tank is at least half empty to get a reliable average).
  4. Refill and Record: Go back to the station, fill the tank completely again, and note down two numbers: the exact number of gallons (or liters) required to refill the tank, and the odometer reading. Let's call the new mileage point B.
  5. Calculate: Subtract point A from point B to find your total distance traveled. Then, divide that distance by the number of gallons or liters used.

Mathematical Formulas for Fuel Efficiency

Depending on where you live, you might use different units. Here are the core math formulas used by our Gas Mileage Calculator:

1. Miles per Gallon (Imperial/US System)

This is the standard metric used in the United States:

MPG = Distance (miles) / Fuel Used (gallons)

2. Liters per 100 Kilometers (Metric System)

This is the standard metric in Europe and Canada. Unlike MPG, where higher numbers are better, with L/100km, lower numbers indicate better efficiency because it measures the volume of fuel required to travel a fixed distance:

L/100km = (Fuel Used (liters) / Distance (kilometers)) * 100

3. Converting MPG to L/100km

To convert from MPG (US) to L/100km, use the constant 235.215:

L/100km = 235.215 / MPG

Worked Examples & Financial Breakdown

Let's look at three detailed scenarios showing how our calculator performs the math:

Example 1: Standard Commute (US Units)

A driver travels 350 miles on a road trip. When they fill up their tank, it takes 11.5 gallons of gasoline. The cost of gas is $3.65 per gallon.

  • Distance: 350 miles
  • Fuel Used: 11.5 gallons
  • MPG Calculation: 350 / 11.5 = 30.43 MPG
  • Total Cost: 11.5 gallons * $3.65 = $41.98
  • Cost per Mile: $41.98 / 350 miles = $0.1200 (12 cents per mile)

Example 2: Daily Driver (Metric Units conversion)

You drive 500 kilometers and consume 40 liters of fuel. Fuel price is $1.50 per liter.

  • Distance: 500 km (convert to miles: 500 * 0.621371 = 310.69 miles)
  • Fuel Used: 40 liters (convert to US gallons: 40 * 0.264172 = 10.57 gallons)
  • MPG: 310.69 / 10.57 = 29.39 MPG
  • L/100km: (40 / 500) * 100 = 8.0 L/100km
  • Total Cost: 40 liters * $1.50 = $60.00

Key Factors That Affect Your Gas Mileage

Many drivers wonder why their car's actual MPG is lower than the manufacturer's EPA rating. A vehicle's efficiency is highly dynamic and influenced by several factors:

  • Driving Habits: Rapid acceleration and hard braking (aggressive driving) can lower your gas mileage by up to 33% on highway trips and 5% in city traffic.
  • Speed: Fuel economy usually peaks between 50 and 60 mph. Traveling at higher speeds significantly increases aerodynamic drag, dragging down MPG. For instance, driving at 75 mph uses about 15% more fuel than driving at 65 mph.
  • Tire Pressure: Under-inflated tires increase rolling resistance, forcing the engine to work harder. For every 1 PSI drop in pressure in all four tires, fuel economy drops by roughly 0.2%.
  • Weight and Cargo: Carrying heavy loads or using roof-mounted cargo boxes increases vehicle weight and drag, cutting fuel efficiency. An extra 100 pounds in the trunk can reduce mileage by up to 1%.
  • A/C Usage: Operating the air conditioner on high loads the engine and reduces fuel economy. However, at highway speeds, driving with windows open can cause more aerodynamic drag than running the A/C.

Practical Tips to Improve Fuel Efficiency

If you want to reduce your fuel costs, implementing these simple tips can make a significant difference:

  1. Maintain Your Vehicle: Regular oil changes, spark plug replacements, and air filter checks keep the engine running at peak efficiency.
  2. Check Tire Pressure Monthly: Keep your tires inflated to the manufacturer's recommended level (usually found on a sticker inside the driver's door).
  3. Drive Smoothly: Practice progressive acceleration and anticipate stops to minimize braking. Use cruise control on highways.
  4. Reduce Excess Weight: Clean out your trunk and remove roof racks when they are not in use.
  5. Avoid Excess Idling: Idling can burn a quarter to a half-gallon of fuel per hour. Modern cars do not need to be warmed up in winter for more than 30 seconds.

Frequently Asked Questions

What is a good MPG rating?

Generally, an MPG rating above 30 is considered good for standard gasoline-powered cars. Hybrids regularly achieve 45 to 55 MPG, while larger SUVs and trucks often average between 15 and 22 MPG.

How does MPG differ from L/100km?

MPG (Miles per Gallon) measures distance per unit of fuel (higher is better). L/100km (Liters per 100 Kilometers) measures fuel volume per unit of distance (lower is better).

Why does my car get worse gas mileage in winter?

Cold weather increases fuel consumption due to longer engine warm-up times, increased friction from cold fluids, lower tire pressure, and winter-blend fuels which contain less energy per gallon.

Does air conditioning reduce gas mileage?

Yes, running the air conditioning can reduce fuel economy by 5% to 25% depending on the vehicle and temperature. At high speeds, however, closing the windows and using A/C is often more efficient than opening windows due to aerodynamic drag.

What is the most fuel-efficient speed?

For most passenger vehicles, the sweet spot for fuel efficiency is between 50 and 60 mph. Speeds higher than 60 mph dramatically increase wind resistance, reducing fuel economy.

How does tire pressure affect gas mileage?

Under-inflated tires increase rolling resistance. Keeping tires properly inflated can improve gas mileage by up to 3%.

Does cruise control improve gas mileage?

Yes, on flat or gently rolling terrain, cruise control helps maintain a constant speed, which reduces unnecessary acceleration and saves fuel. Avoid it on steep hills.

What is the difference between city and highway MPG?

City driving involves frequent starting, stopping, and idling, which burns more fuel. Highway driving allows the vehicle to run in top gear at constant speeds, which is much more efficient.

Why do EPA ratings differ from real-world mileage?

EPA tests are conducted in controlled laboratory environments with standardized acceleration patterns, which do not fully replicate real-world driving habits, traffic, terrain, and weather.

How do roof racks affect MPG?

Roof-mounted cargo boxes or racks create substantial aerodynamic drag, reducing fuel economy by 2% to 20% depending on speed and vehicle design.

Does using premium gas improve gas mileage?

Only if your vehicle is specifically designed and tuned for premium fuel. In standard cars designed for regular octane, premium fuel provides no benefit to fuel economy or performance.

How much fuel does idling consume?

An idling vehicle can burn 0.2 to 0.5 gallons of fuel per hour. If you are stopped for more than 10 seconds (except in traffic), turning off the engine is generally more efficient.

Can a dirty air filter reduce gas mileage?

In older carbureted cars, yes. In modern fuel-injected engines, a dirty filter restricts airflow but the engine computer adjusts fuel delivery accordingly, which reduces maximum power rather than fuel economy.

How do heavy loads affect gas mileage?

An extra 100 pounds of cargo reduces fuel economy by roughly 1%. The effect is greater in smaller, lighter vehicles.

How does high altitude affect MPG?

At higher elevations, the air is less dense, which reduces engine power. In older cars, this could lower efficiency, but modern engine control units adjust the air-fuel ratio to maintain efficiency.