MPG Calculator
The MPG Calculator computes your vehicle's actual fuel economy based on distance driven and fuel used, so you can compare it to the manufacturer estimate. Works in U.S. units (miles/gallons → MPG) or metric (kilometers/liters → L/100km). Filling the tank to the same point — usually the first automatic click-off of the pump nozzle — at both the start and end of the measurement period removes the most common source of error in a fill-to-fill MPG calculation. Very short trips also tend to show worse-than-typical fuel economy, since a cold engine and catalytic converter burn more fuel before reaching normal operating temperature.
Switch between U.S. Customary and Metric units.
How This Tool Works
Pick your units, fill your tank completely, reset your trip odometer, drive normally, then refill and enter the distance driven and fuel used since the last fill-up.
Formula & Method
U.S.: MPG = miles driven ÷ gallons used. Metric: L/100km = (liters used ÷ kilometers driven) × 100, and km/L = kilometers ÷ liters.
Example Calculation
U.S. example: You fill up, reset your trip odometer, drive 412 miles, then refill using 13.75 gallons. MPG = 412 ÷ 13.75 ≈ 29.96 MPG (rounds to 30.0 MPG), or about 3.34 gallons per 100 miles. Metric example: 685 km driven on 52 liters gives L/100km = (52 ÷ 685) × 100 ≈ 7.59 L/100km, equivalent to about 13.17 km per liter.
About the MPG Calculator
The number on a window sticker is a laboratory-style estimate; the number you get by dividing the miles you actually drove by the fuel you actually burned is the truth about your car. This calculator performs that division. Enter the distance covered between two fill-ups and the amount of fuel it took to top the tank back up, and it returns your real fuel economy as miles per gallon, along with gallons per 100 miles, or as liters per 100 kilometers and kilometers per liter in metric mode.
Tracking real fuel economy is more than curiosity. A gradual drop of a few MPG over several months can be the first visible sign of underinflated tires, a dragging brake, a worn spark plug, a clogged air filter, or a change in how and where you drive. A reading far below the rated figure on a vehicle you are thinking of buying is a prompt to ask questions. And when you need an input for budgeting tools, a measured figure from your own tank is far more trustworthy than a brochure number.
The method is simple but sensitive to how carefully you fill the tank. Both fill-ups need to stop at the same point, typically the first automatic click of the pump nozzle, because stopping at different levels shifts a half gallon or more into or out of your measurement. Measuring over several tanks and averaging smooths out the noise, which is why many careful drivers keep a short log rather than relying on a single reading.
When to Use It
Verifying a used car before buying
A buyer on a long test drive or a trial weekend can fill the tank at the start, drive a mix of city and highway, then refill and enter the distance and fuel. Comparing the result with the car's original rating helps reveal engine, tire, or alignment problems that a short drive around the block would never expose.
Spotting a developing maintenance problem
A commuter who logs the same route every fill-up sees a steady 31 MPG for months, then 28 MPG for two consecutive tanks without any change in driving. That pattern is a reason to check tire pressure, the air filter, and whether a warning light has been quietly stored, long before a breakdown forces the issue.
Measuring the effect of a habit or accessory
Someone who installed a roof cargo box, switched to winter tires, or started driving more gently can measure the change by comparing one tank before and one after. Entering both tanks one at a time shows whether the modification costs or saves real fuel rather than relying on forum folklore.
Producing an input for budget and trip tools
Trip-cost and fuel-cost calculators ask for an MPG figure. A driver who measured 33.1 MPG over a tank gets a more reliable fuel budget than one who typed in the rated number, since real driving habits, loads, and climate are already baked into the measurement.
How to Use It, Step by Step
- Select your unit system with the toggle. U.S. mode computes miles per gallon from miles and gallons; metric mode computes liters per 100 kilometers and kilometers per liter from kilometers and liters.
- Fill the tank completely at the pump and stop at the first automatic click-off. Reset the trip odometer to zero right then, or write down the odometer reading, so your distance is measured from this exact fill.
- Drive normally. For the cleanest reading, let the tank drop at least halfway, and ideally close to the lower quarter, so that one gallon more or less at the pump is a small share of the total.
- Refill at the same kind of pump if possible, stopping at the first click-off again without topping off, and record how many gallons or liters the pump dispensed.
- Enter the number from your trip odometer in the Distance driven field. If you used the main odometer instead, subtract the starting reading from the ending reading first.
- Enter the amount from the pump in the Fuel used field. Use the volume of fuel, not the dollar amount, and make sure the unit matches the toggle: gallons in U.S. mode, liters in metric mode.
- Press Calculate Fuel Economy and read the highlighted result: Miles per gallon in U.S. mode or Liters per 100 km in metric mode. The secondary line shows the same efficiency in the inverse unit.
- Repeat for at least three tanks and average the results. Compare that average with the manufacturer rating and with your earlier readings to see whether your efficiency is holding steady.
Understanding Your Results
In U.S. mode, the headline result is Miles per gallon, shown to one decimal. The second line, Gallons per 100 miles, expresses the same efficiency the other way around: how much fuel it takes to travel a fixed distance. This second form is surprisingly useful, because it makes improvements easier to compare. Going from 15 to 20 MPG saves far more fuel over 10,000 miles than going from 40 to 45, even though both are a five-MPG gain, and the gallons-per-100-miles figure shows exactly why.
In metric mode, the highlighted result is Liters per 100 km, where a lower number is better, and the secondary result is Kilometers per liter, where a higher number is better. If you want to move between systems, dividing 235.21 by an MPG value gives L/100km, and the same constant works in reverse. A reading of 7.5 L/100km, for example, corresponds to about 31.4 MPG.
To judge whether a figure is reasonable, compare it with the official combined rating for your model year and engine. Real-world results within roughly 10 percent of the rating are common; a result well below it deserves a look at tire pressure, cargo, short-trip driving, towing, and winter fuel blends. Remember that a single tank is a noisy sample, so look for trends across several fill-ups instead of reacting to one unusually low number.
More Worked Examples
Commuter sedan on a mixed tank
Scenario: U.S. units: you drove 318.4 miles on the trip odometer and the pump then added 9.62 gallons to refill the tank.
Enter 318.4 for Distance driven and 9.62 for Fuel used. The tool divides miles by gallons and reports 33.1 MPG. The secondary line shows 3.02 gallons per 100 miles, meaning the car burns about three gallons for every hundred miles traveled. If the car's combined rating is around 34 MPG, this result is only a little under the rating, which is perfectly normal for mixed driving.
Pickup truck while towing a small trailer
Scenario: U.S. units: a truck traveled 205 miles with a trailer attached and then took 11.3 gallons to refill.
Enter 205 and 11.3. The result is 18.1 MPG with 5.51 gallons per 100 miles. That figure is far lower than what the same truck might achieve unloaded, which illustrates why a single rating cannot describe every use. For a trip budget involving the trailer, this measured figure is a better input than the unloaded number, because it already includes the added weight and drag.
Metric reading on a regional drive
Scenario: Metric units: 512 km driven, and the refill took 38.4 liters.
Switch to Metric, then enter 512 in Distance driven and 38.4 in Fuel used. The tool computes (38.4 divided by 512) times 100 and returns 7.5 L/100 km. The secondary line shows 13.33 km/L. Converting that to U.S. terms, 235.21 divided by 7.5 is about 31.4 MPG, so this vehicle is similar in efficiency to the first example.
Tips for Better Results
- Use the same gas station and, if possible, the same pump for both fill-ups. Pumps can click off at slightly different points, and sloping pavement can change how much fits in the tank.
- Do not top off after the nozzle clicks. Adding extra fuel after the first click makes each fill-up inconsistent, and it can also force fuel vapor into the evaporative emissions system.
- Measure over a full tank or more. Short measurement windows such as 50 miles give noisy results because a small difference in how full the tank was matters a lot when the amount of fuel is small.
- Log tire pressure on the day you measure. Underinflated tires are among the most common and most fixable reasons for a worse-than-expected reading, and the log lets you connect cause and effect later.
- Keep summer and winter readings separate. Cold air, winter-blend fuel, longer warm-up periods, and snow tires can all lower fuel economy, so comparing a January tank with a July tank is not a fair test.
- Do not trust the dashboard average blindly. Many trip computers read slightly optimistic, and checking them once against a pump-based calculation tells you whether to apply a mental correction.
Common Mistakes to Avoid
- Stopping at different fullness levels at each fill-up. If one fill ends at the first click and the other after topping off, the fuel volume is skewed; use the first click both times.
- Using the total odometer reading instead of the trip distance. If you type 54,321 miles instead of the 318 miles since the last fill, the tool will return an impossible MPG, so enter the distance for the interval only.
- Entering the money spent instead of the volume of fuel. The Fuel used field expects gallons or liters, not dollars, and the pump display shows both, so read the correct one.
- Judging a vehicle from a single tank. One tank can include a long idle, a tow, or a cold spell, so average at least three readings before drawing conclusions about a problem.
- Applying this tool to a plug-in hybrid or electric vehicle and treating the result as the whole story. Gasoline-only MPG ignores the electricity used, so the figure can look misleadingly high or low for a plug-in.
Assumptions and Limits
- The tool assumes the distance and the fuel volume you enter cover exactly the same interval. Any mismatch, such as a fill-up you forgot to record, makes the answer wrong by the amount of the missing segment.
- Results are displayed to one decimal for MPG and two decimals for the other figures, but they are calculated at full precision. A different rounding of your inputs can shift the displayed value by a tenth of an MPG.
- The calculation reflects whatever conditions occurred during that interval, including temperature, terrain, speed, cargo, and idling. It describes how your vehicle behaved on that tank, not a guaranteed long-run average.
- A reading that is persistently far below the rated figure is a symptom, not a diagnosis. Consult a qualified technician for anything involving engine performance, emissions, or safety systems.
Key Terms
- Miles per gallon (MPG)
- Distance traveled divided by fuel used, expressed in U.S. gallons. A higher value means the vehicle goes farther on the same amount of fuel.
- Gallons per 100 miles
- The fuel needed to travel 100 miles. It is the reciprocal of MPG scaled by 100, and it makes differences in efficiency easier to translate into actual fuel savings.
- L/100km
- Liters of fuel used per 100 kilometers driven, the standard efficiency measure in most of the world. Smaller numbers indicate a more efficient vehicle.
- Fill-to-fill method
- A technique where you refill completely, drive, refill completely again, and divide distance by the volume the second fill added. It is accurate because the pump measures the fuel for you.
- EPA combined rating
- A figure published for new vehicles that weights city and highway test results together. It is useful for comparing vehicles but will not match every driver's real results.
- Trip odometer
- A resettable distance counter separate from the main odometer. Resetting it at each fill-up gives you the interval distance directly without subtraction.
Frequently Asked Questions
Why is my calculated MPG different from the EPA estimate?+
EPA estimates are based on standardized test conditions. Real-world fuel economy varies with driving style, terrain, weather, tire pressure, and vehicle load.
Can I calculate fuel economy in L/100km?+
Yes — switch the unit toggle to Metric and enter your distance in kilometers and fuel used in liters. The result is shown in L/100km and kilometers per liter.
How can I improve my fuel economy?+
Maintaining proper tire pressure, avoiding aggressive acceleration, reducing excess weight, and keeping up with maintenance can all meaningfully improve fuel economy.
Should I calculate over multiple tanks?+
Yes, averaging over several fill-ups gives a more reliable number than a single tank, which can be skewed by a mix of highway and city driving.
Why should I use the trip odometer instead of subtracting total odometer readings?+
The trip odometer is built for exactly this — resetting it to zero at a fill-up eliminates the risk of a subtraction error from writing down two large total-odometer numbers and doing the math later. It also makes it easy to isolate a single fill-to-fill period cleanly.
Can I use this to sanity-check a used car's advertised fuel economy?+
Yes — during a test drive or trial period, do a fill-to-fill measurement and compare the result to the EPA or manufacturer rating. A real-world figure that comes in more than 15–20% below the rated MPG on normal mixed driving can be a sign of engine, transmission, tire pressure, or alignment issues worth investigating before you buy.
How many tanks should I average before I trust the number?+
Three to five tanks is a sensible minimum, and more is better if your driving varies. A single tank can be skewed by a road trip, a stretch of idling, or a pump that clicked off early. Averaging several fill-ups smooths out those one-off effects, and it also lets you spot a trend, which is more informative than any individual reading. Keep notes on conditions so you can explain unusual tanks.
Does the trip computer in my dashboard give the same answer?+
Often it comes close but not exactly. Trip computers estimate fuel use from injector pulses and speed sensor data rather than measuring fuel at the pump, and many read a little optimistic. Doing one careful fill-to-fill calculation with this tool and comparing it to the dashboard figure tells you how much correction to apply when you rely on the built-in display later.
Why did my MPG drop suddenly in winter?+
Cold weather typically lowers fuel economy for several reasons: engines take longer to reach operating temperature, winter-blend gasoline has slightly less energy, tires lose pressure when it is cold, denser air increases drag, and many drivers idle more. Heating, defrosters, and snow tires add to the effect. Compare winter readings to earlier winters rather than to summer numbers, and check tire pressure as temperatures fall.
Can I use this for a motorcycle, boat, or lawn equipment?+
The arithmetic works for any engine where you know distance and fuel volume, so a motorcycle is fine. For boats and equipment, distance is not the natural measure; hours of operation matter more, so a gallons-per-hour figure would be more useful. This tool only covers distance-based fuel economy, and its input limits are set with passenger vehicles in mind.
What is a good MPG for a car or truck?+
It depends on vehicle type. Compact gasoline cars often land in the 30s, large SUVs and trucks frequently fall in the high teens to low 20s, and hybrids go well beyond that range. Rather than chasing a universal good number, compare your measured result with the combined rating for your exact model and engine. Being within about 10 percent of the rating on mixed driving is a healthy sign.
Found this useful? Share it
Help someone else out — or link to it from your own site.
Link to this tool
Writing about mpg calculator? Paste this on your site to link here.
<a href="https://everyfix.net/tools/mpg-calculator/">MPG Calculator</a> by <a href="https://everyfix.net">EveryFix</a>Related Tools
Fuel Cost Calculator
Calculate the fuel cost for any trip based on distance and fuel economy.
Use tool →Road Trip Cost Calculator
Estimate total road trip costs including fuel, food, and lodging.
Use tool →Gas vs EV Cost Calculator
Compare annual fuel costs between a gas vehicle and an electric vehicle.
Use tool →EV Charging Cost Calculator
Estimate how much it costs to charge your electric vehicle.
Use tool →