Compute MPG, L/100km, cost projections, and more from your real fill-up data
The mileage calculator is an essential tool for any driver who wants to understand how efficiently their vehicle is using fuel. Unlike simple estimators, this calculator works from your actual fill-up data — either the odometer readings at your last two fuel stops or the direct trip distance — to give you a precise measurement of how many miles (or kilometers) your vehicle travels on each unit of fuel. Knowing your real-world fuel economy matters for several reasons. First, the EPA or manufacturer rating on the window sticker is a laboratory estimate, and most drivers see 10–20% lower numbers in everyday driving depending on traffic, weather, tire pressure, vehicle load, and driving habits. Measuring your actual MPG from fill-up data is the only way to know where you truly stand. Second, fuel costs are one of the largest ongoing expenses for vehicle owners. The average American driver travels about 15,000 miles per year; at $3.50 per gallon and 25 MPG that's $2,100 annually just for fuel. Improving your efficiency by even 5 MPG — say, from 25 to 30 — saves over $300 per year. Over a 10-year vehicle lifetime that adds up to more than $3,000. Third, fuel economy directly affects your carbon footprint. Burning one US gallon of gasoline releases approximately 8,887 grams of CO2 into the atmosphere. A vehicle getting 20 MPG driving 15,000 miles per year emits about 6,665 kg of CO2 annually, while one getting 35 MPG emits roughly 3,800 kg — a difference of nearly 3 tonnes per year. This calculator offers four distinct tools in one interface. The Fill-Up Calculator is the core feature: enter your odometer readings before and after a fill-up (or simply the trip distance) along with how many gallons or liters you added, and it instantly computes your fuel economy in all four international units simultaneously — US MPG, Imperial MPG, km/L, and L/100km. It also rates your efficiency on a six-level scale from Very Poor to Excellent and estimates your CO2 emissions. The Unit Converter tab lets you instantly translate any efficiency value between all four unit systems. This is especially useful for international travelers or when comparing a North American MPG rating to a European L/100km specification. The Cost Projector tab takes your fuel economy and a fuel price to project your daily, weekly, monthly, and annual fuel spending based on how much you drive. It also computes your cost per mile or kilometer and how far each dollar of fuel takes you. Finally, the Vehicle Comparison tab lets you enter fuel economy figures for two different vehicles and see exactly how much cheaper one is to operate annually, the five-year savings total, and — if you provide the price difference between the vehicles — how many months it would take for the fuel savings to pay back the higher purchase price. A built-in fill-up history tracker lets you log multiple fill-ups in a session and automatically computes the running average MPG using the mathematically correct harmonic-mean approach (total distance divided by total fuel), which is the same method used by vehicle manufacturers and the EPA. A line chart visualizes your MPG trend over consecutive fill-ups, helping you spot improvements after maintenance or identify drops that might signal a mechanical issue.
Understanding Fuel Economy
What Is Fuel Economy?
Fuel economy measures how efficiently a vehicle uses fuel to travel a given distance. In North America it is expressed as miles per gallon (MPG), which tells you how many miles the vehicle can travel on one gallon of fuel — higher is better. In Europe and most of the world, the measure is liters per 100 kilometers (L/100km), which tells you how many liters are consumed for every 100 km traveled — lower is better. The UK uses Imperial MPG based on the larger Imperial gallon (4.546 L vs. the US gallon of 3.785 L), so Imperial MPG values are always higher than US MPG for the same vehicle. A fourth unit, km/L (kilometers per liter), is common in Japan and parts of Asia. All four units measure the same thing; they are just expressed differently, and this calculator shows all four simultaneously so you can compare international specifications without confusion.
How Is Fuel Economy Calculated?
The fundamental formula is simple: fuel economy equals distance traveled divided by fuel consumed. In practice, you record your odometer reading when you fill up, then record it again at the next fill-up. The difference is the distance driven on that tank. Divide by the fuel added and you have your MPG. The key accuracy tip is to fill the tank to the brim both times so you know exactly how much fuel was consumed. Conversions between units use fixed constants: 1 US gallon = 3.785412 liters, 1 Imperial gallon = 4.54609 liters, 1 mile = 1.609344 km. From these, L/100km = 235.2145 ÷ MPG(US), and km/L = MPG(US) × 0.425144. The blended city/highway formula uses harmonic averaging: blended MPG = 1 ÷ ((city fraction ÷ city MPG) + (highway fraction ÷ highway MPG)), which gives a more accurate result than a simple arithmetic average.
Why Does Fuel Economy Matter?
Fuel economy affects your wallet, your environment, and your energy security simultaneously. On the financial side, the difference between a 25 MPG and a 35 MPG vehicle driving 15,000 miles per year at $3.50/gallon is $600 annually — and over a typical 10-year ownership period that grows to $6,000. On the environmental side, every 1 MPG improvement across the entire US car fleet saves billions of gallons of fuel per year and eliminates millions of tonnes of CO2 emissions. For individual drivers, knowing your actual fuel economy lets you benchmark against the manufacturer's rating, detect early signs of mechanical problems (a sudden 15% drop in MPG can indicate a clogged air filter, low tire pressure, or failing sensors), compare vehicles before purchase using real-world data rather than sticker estimates, and make informed decisions about route choices, driving speed, and vehicle maintenance.
Limitations and Accuracy Tips
Single fill-up measurements can vary by 5–10% due to how full the tank actually was, ethanol content variations in the fuel (E10 vs. E15 contain different energy densities), temperature effects on fuel volume, and slope of the ground while filling. For a reliable baseline, track at least 3–5 consecutive fill-ups and use the harmonic average. Short trips measured from a cold engine will show lower efficiency than highway driving. Hybrid vehicles with regenerative braking may show significant variation between city and highway fill-ups. Note that fuel economy typically drops in cold weather (10–20% below optimal below 20°F/−7°C) due to engine warm-up time, denser air, and increased rolling resistance. The CO2 estimates in this calculator assume standard US gasoline (approximately 8,887 g CO2/gallon) or diesel (approximately 10,150 g CO2/gallon) and do not account for upstream extraction and refining emissions.
How to Use the Mileage Calculator
Choose Your Unit System and Input Mode
Select US (miles, US gallons), UK (miles, Imperial gallons), or Metric (km, liters) at the top. Then choose whether you want to enter your start and end odometer readings or just the trip distance directly. The odometer method is more accurate because you always fill the tank to the brim.
Enter Distance and Fuel Data
If using odometer mode, type your current and previous odometer readings — the calculator subtracts them automatically. Then enter how many gallons or liters you pumped into the tank. Optionally, enter the price per gallon or liter to unlock cost-per-mile and total fill-up cost results.
Read All Four Efficiency Units at Once
Results appear instantly showing US MPG, Imperial MPG, km/L, and L/100km simultaneously. An efficiency rating badge (Very Poor through Excellent) and a visual gauge show where your vehicle falls on the spectrum. CO2 emissions per mile and per kilometer are also shown.
Track History, Project Costs, and Compare Vehicles
Click 'Add to History' after each fill-up to build a session log. Two or more entries generate a line chart of your MPG trend. Switch to the Cost Projector tab to forecast daily, weekly, monthly, and annual fuel spending. Use the Vehicle Comparison tab to calculate annual savings and payback period between two vehicles.
Frequently Asked Questions
What is the difference between US MPG and Imperial MPG?
The US gallon equals 3.785 liters while the Imperial (UK) gallon equals 4.546 liters — about 20% larger. This means that for the same vehicle, Imperial MPG is always roughly 20% higher than US MPG. A car rated at 30 MPG US would show approximately 36 MPG on an Imperial scale. When comparing UK car reviews to US EPA ratings, always check which gallon standard is being used. The conversion factor is exactly 1.20095: Imperial MPG = US MPG × 1.20095. This calculator shows both simultaneously so you never have to second-guess which standard applies.
Why should I use odometer readings instead of a trip odometer?
Both methods give the same result if done accurately, but odometer readings have two advantages. First, the main odometer is harder to accidentally reset, so you always have a reliable starting point. Second, using odometer readings forces you to measure from one full-tank fill-up to the next, ensuring you capture exactly the fuel used for that distance. Trip odometers can be reset at any point, introducing error if you forget to reset at the beginning of the interval. For the most accurate results, always fill the tank completely at both measurement points and fill slowly at the end to allow accurate topping off.
How accurate is the CO2 emissions estimate?
The estimate uses EPA-standard emission factors: 8,887 grams of CO2 per US gallon of gasoline burned, and 10,150 grams per US gallon of diesel. These reflect the CO2 released from combustion only (tailpipe emissions) and do not include upstream emissions from fuel extraction, refining, or transportation. The annual estimate assumes 15,000 miles per year (the US average) when no annual mileage is entered. For personalized accuracy, use the Cost Projector tab and enter your actual annual mileage. Note that CO2 per gallon is relatively constant regardless of vehicle type — what changes your footprint is the MPG, not the fuel chemistry.
What is the correct way to average MPG across multiple fill-ups?
The mathematically correct method is the harmonic mean: divide total distance by total fuel. Do NOT average individual MPG values arithmetically — that gives a biased result. For example, if fill-up 1 gives 20 MPG over 200 miles and fill-up 2 gives 40 MPG over 200 miles, the arithmetic average is 30 MPG, but the true average is 200+200 miles ÷ (200÷20 + 200÷40) gallons = 400 ÷ 15 = 26.7 MPG. The fill-up history tracker in this calculator automatically uses the harmonic-mean method, which is the same approach used by vehicle manufacturers and the EPA. Always track at least 3–5 fill-ups for a reliable baseline.
How do I convert MPG to L/100km?
The conversion from US MPG to L/100km uses the formula: L/100km = 235.2145 ÷ MPG. This constant comes from 100 km × 3.785412 liters per gallon ÷ 1.609344 km per mile = 235.2145. For example, 30 MPG = 235.2145 ÷ 30 = 7.84 L/100km. Going the other direction: MPG = 235.2145 ÷ (L/100km). The Unit Converter tab in this calculator lets you enter any value in any unit and instantly see all four equivalents without memorizing these formulas. For Imperial MPG the constant is 282.481 instead of 235.2145.
Why does my fuel economy drop in winter?
Cold weather reduces fuel economy for several interconnected reasons. First, gasoline engines need to warm up before reaching efficient operating temperature; short cold-weather trips spend a larger fraction of total driving time in warm-up mode. Second, winter-blend gasoline (which refiners switch to in cold months) has slightly less energy per gallon. Third, cold air is denser and creates more aerodynamic drag at highway speeds. Fourth, rolling resistance increases as tires become stiffer and roads become rougher with snow and ice. The EPA estimates cold weather can reduce real-world fuel economy by 10–25% depending on trip length. Longer highway trips in winter see smaller drops than short city trips. Keeping your vehicle garaged, using the recommended motor oil viscosity, and ensuring tires are properly inflated all help minimize the cold-weather penalty.