Last updated March 2026

Fuel Economy Calculator

Calculate your vehicle's miles per gallon, cost per mile, L/100km equivalent, and estimated annual fuel cost based on distance driven and fuel consumed.

How to Calculate MPG (Miles per Gallon)

Fuel economy is a critical metric for every vehicle owner. It tells you how efficiently your car converts gasoline into miles driven, directly affecting how much you spend on fuel each month and each year. Whether you are comparing two vehicles at a dealership, tracking the performance of your current car, or planning the fuel budget for a road trip, understanding how to calculate miles per gallon is an essential skill.

The formula for calculating MPG is straightforward: divide the total distance traveled by the total amount of fuel consumed. If you drove 300 miles and used 10 gallons of gasoline, your fuel economy is 30 MPG. This simple division gives you a concrete number you can use to compare with EPA estimates, track changes over time, and identify when your vehicle might need maintenance.

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

To get an accurate MPG reading, fill your tank completely, reset your trip odometer (or note the mileage), drive normally until you need to refuel, fill the tank completely again, and note how many gallons it took. The miles driven divided by the gallons added gives you the true MPG for that tank. Repeating this over several fill-ups gives you an average that accounts for different driving conditions.

Many modern vehicles display an instantaneous MPG reading on the dashboard, but these numbers are often optimistic. They use fuel injector flow rate estimates rather than actual fuel consumed and can be off by 5 to 15 percent. The manual fill-up method described above is the most reliable way to determine your real-world fuel economy.

Understanding Cost per Mile

Cost per mile is another way to think about fuel economy that ties directly to your wallet. Instead of knowing how many miles you get per gallon, cost per mile tells you exactly how many cents you spend for each mile driven. This metric makes it easy to calculate the fuel cost of any trip, commute, or errand.

Cost per Mile = Gas Price ($/gallon) / MPG

For example, if gas costs $3.50 per gallon and your car gets 30 MPG, your cost per mile is approximately $0.117, or about 11.7 cents per mile. A 20-mile commute each way costs roughly $4.67 per day in fuel, which adds up to about $1,167 per year assuming 250 working days. Understanding this number helps you budget for fuel and evaluate whether a more fuel-efficient vehicle would save you money over time.

The cost per mile varies significantly with gas prices and vehicle efficiency. A large SUV getting 18 MPG at $3.50 per gallon costs about 19.4 cents per mile, while a hybrid sedan getting 50 MPG costs only 7 cents per mile at the same gas price. Over 12,000 miles per year, the SUV would cost $2,333 in fuel compared to $840 for the hybrid, a difference of nearly $1,500 annually. These calculations become even more significant with longer commutes and higher fuel prices.

Keep in mind that cost per mile for fuel is only part of the total cost of vehicle ownership. Insurance, depreciation, maintenance, tires, and registration all contribute to the total cost per mile, which averages about 60 to 70 cents per mile for a typical sedan according to AAA's annual driving cost study. However, fuel is the most variable component and the one drivers have the most control over through driving habits and vehicle choice.

Converting MPG to L/100km

While the United States uses miles per gallon to measure fuel economy, most of the world uses liters per 100 kilometers (L/100km). If you are comparing vehicles from different markets, reading international automotive reviews, or traveling abroad and renting a car, knowing how to convert between these units is valuable.

L/100km = 235.215 / MPG

The conversion constant of 235.215 comes from the relationship between gallons and liters (1 US gallon equals 3.78541 liters) and between miles and kilometers (1 mile equals 1.60934 kilometers). When you divide 235.215 by an MPG value, you get the equivalent fuel consumption in liters per 100 kilometers. Note that L/100km is an inverse measure compared to MPG: lower numbers are better for L/100km, while higher numbers are better for MPG.

Here are some common reference points for the conversion. A vehicle that gets 20 MPG consumes about 11.76 L/100km. At 25 MPG, fuel consumption drops to 9.41 L/100km. A 30 MPG vehicle uses 7.84 L/100km, and a highly efficient 40 MPG car uses only 5.88 L/100km. European fuel economy ratings often target below 6 L/100km for compact cars, which corresponds to about 39 MPG or better.

It is important to note that US gallons and Imperial (UK) gallons are different sizes. One US gallon equals 3.785 liters, while one Imperial gallon equals 4.546 liters. This means that MPG figures quoted in the UK are about 20 percent higher than US MPG figures for the same vehicle. When comparing international fuel economy data, always verify which gallon measurement is being used to avoid confusion.

Annual Fuel Cost Estimation

One of the most practical uses of a fuel economy calculator is estimating your annual fuel spending. The average American drives approximately 12,000 to 15,000 miles per year according to the Federal Highway Administration. By knowing your MPG and the price of gas, you can project your yearly fuel costs and compare the financial impact of different vehicles or driving habits.

Annual Cost = (Annual Miles / MPG) × Gas Price per Gallon

At 12,000 miles per year with gas at $3.50 per gallon, a vehicle averaging 25 MPG would consume 480 gallons and cost $1,680 per year in fuel. The same driver in a vehicle averaging 35 MPG would use only about 343 gallons, costing $1,200 annually. That $480 difference represents a meaningful savings that compounds year after year, especially as gas prices rise.

This annual cost calculation is also useful when shopping for a new vehicle. Many buyers focus on the sticker price without considering the lifetime fuel costs. A vehicle that costs $2,000 more upfront but saves $500 per year in fuel pays for itself in four years and continues saving money for the rest of its life. The EPA includes estimated annual fuel cost on every new car window sticker to help consumers make this comparison.

Gas prices fluctuate significantly over time and vary by region. The national average has ranged from under $2.00 to over $5.00 per gallon in recent years. When using the annual cost estimate, consider using a price slightly above the current average to build in a buffer for price increases. You can also run the calculation at several different gas prices to see how sensitive your fuel budget is to price changes.

Tips to Improve Your Fuel Economy

Driving habits have a dramatic effect on fuel economy. Studies by the Department of Energy and various automotive organizations have shown that aggressive driving, which includes rapid acceleration, speeding, and hard braking, can lower fuel economy by 15 to 33 percent on the highway and 10 to 40 percent in stop-and-go traffic. Adopting smoother driving habits is one of the quickest and easiest ways to save money on gas.

Maintain steady speeds. Using cruise control on the highway helps maintain a consistent speed and can improve fuel economy by 7 to 14 percent compared to constantly varying your speed. Each 5 mph you drive above 50 mph is roughly equivalent to paying an additional $0.20 to $0.30 per gallon of gas. Reducing highway speed from 70 mph to 60 mph can improve fuel economy by 10 to 15 percent.

Keep tires properly inflated. Under-inflated tires increase rolling resistance, which makes the engine work harder and burn more fuel. The Department of Energy estimates that properly inflated tires can improve fuel economy by up to 3 percent. Check tire pressure monthly and keep them inflated to the level recommended on the driver's door jamb sticker, not the maximum pressure printed on the tire sidewall.

Reduce excess weight and drag. Every 100 pounds of extra weight in your vehicle reduces fuel economy by about 1 percent. Remove unnecessary items from the trunk and cargo area. Roof racks and cargo carriers create aerodynamic drag that can reduce fuel economy by 2 to 8 percent in city driving and 6 to 17 percent on the highway. Remove roof accessories when not in use.

Keep up with maintenance. A properly tuned engine operates more efficiently. Replace air filters according to the manufacturer's schedule, as a clogged filter can reduce fuel economy by up to 10 percent on older vehicles with carbureted engines. Use the recommended grade of motor oil because using the wrong viscosity can lower fuel economy by 1 to 2 percent. Fix any check engine light issues promptly, as a faulty oxygen sensor alone can reduce MPG by up to 40 percent.

Plan and combine trips. Cold starts consume significantly more fuel than warm-engine driving because the engine is less efficient and the catalytic converter is not yet operating at full temperature. Combining several short errands into one trip reduces the number of cold starts and total miles driven. Planning your route to avoid traffic congestion and unnecessary stops also saves fuel.

EPA Fuel Economy Ratings Explained

The Environmental Protection Agency (EPA) tests every new vehicle sold in the United States for fuel economy and assigns city, highway, and combined MPG ratings. These numbers appear on the window sticker of every new car and are available on the fueleconomy.gov website. While EPA ratings provide a useful basis for comparing vehicles, real-world fuel economy often differs from the official numbers.

EPA testing uses a standardized driving cycle on a dynamometer in a laboratory, not on actual roads. The city cycle simulates urban driving with frequent stops and an average speed of about 20 mph. The highway cycle represents free-flowing traffic at an average of about 48 mph. The combined rating is a weighted average, typically 55 percent city and 45 percent highway, reflecting the driving patterns of the average American.

Most drivers find their real-world fuel economy is 5 to 15 percent lower than the EPA combined rating. This gap exists because real driving involves more aggressive acceleration, higher highway speeds, air conditioning use, cold weather operation, and short trips that the EPA test does not fully capture. However, some drivers who practice hypermiling techniques and drive primarily on flat highways may actually exceed the EPA rating.

When comparing vehicles, use the EPA numbers as relative benchmarks rather than absolute predictions. A vehicle rated at 30 MPG will almost certainly get better fuel economy than one rated at 25 MPG under similar driving conditions, even if neither achieves its exact EPA number. The fuel economy calculator on this page helps you determine your actual real-world MPG so you can see how your driving compares to the EPA estimate.

Frequently Asked Questions

What is a good MPG for a car?

A good fuel economy rating depends on the vehicle type. For sedans, 30 to 40 MPG is considered good, and above 40 MPG is excellent. SUVs averaging 25 to 30 MPG are considered fuel-efficient for their class. Pickup trucks that achieve 20 to 25 MPG are above average for the segment. Hybrid vehicles typically reach 45 to 60 MPG, and plug-in hybrids can exceed 100 MPGe in electric-only mode. The EPA provides average fuel economy ratings for each vehicle class so you can compare your vehicle to similar models. The overall average new car fuel economy in the US is approximately 26 MPG as of 2025, though this number continues to rise as manufacturers introduce more efficient engines and hybrid powertrains.

How do I convert MPG to L/100km?

To convert miles per gallon to liters per 100 kilometers, divide 235.215 by the MPG value. For example, 30 MPG equals approximately 7.84 L/100km. The conversion works because one US gallon is 3.78541 liters and one mile is 1.60934 kilometers. Lower L/100km values indicate better fuel economy, which is the opposite of MPG where higher numbers are better. Some common reference points include 20 MPG equaling 11.76 L/100km, 25 MPG equaling 9.41 L/100km, and 40 MPG equaling 5.88 L/100km. Be aware that Imperial (UK) gallons are 20 percent larger than US gallons, so UK MPG figures will be higher for the same vehicle.

How can I improve my car's fuel economy?

You can improve fuel economy through several proven strategies. Maintain proper tire pressure, as under-inflated tires can reduce MPG by up to 3 percent. Drive at moderate speeds since fuel economy drops significantly above 50 mph, with every 5 mph over that threshold costing roughly an extra $0.20 to $0.30 per gallon. Avoid rapid acceleration and hard braking, which can lower MPG by 15 to 33 percent on the highway. Remove excess weight and roof racks when not in use. Use cruise control on highways to maintain steady speeds. Keep up with regular maintenance like air filter replacement, oil changes, and spark plug services. Finally, combine short trips to reduce cold-start fuel waste and plan routes to avoid congestion.

Related Calculators