Calculate average mileage to see how far a vehicle travels per unit of fuel, or how many miles it covers over a period. Enter the distance and fuel used for fuel economy, or the distance and time for average travel speed; use matching units to get a meaningful result.
Formula
For fuel economy in miles per US gallon, divide the distance traveled in miles by the fuel used in US gallons:
Average mileage (mpg) = distance (miles) ÷ fuel used (US gallons)
Here, d is the distance driven in miles and f is the fuel consumed in US gallons. The calculator also converts the same data to metric fuel consumption: liters per 100 kilometers (L/100 km). It converts gallons to liters and miles to kilometers, then divides liters by kilometers and multiplies by 100. Lower L/100 km means less fuel is used to cover a given distance; higher mpg means more distance is covered per gallon.
This page calculates fuel mileage, a common meaning of “average mileage.” If you mean average distance per day, month, or year, divide the total distance by the number of days, months, or years instead. If you mean average speed, divide distance by elapsed driving time; speed is not the same as fuel economy.
Worked Example
Using the calculator’s default values, the vehicle travels 300 miles and uses 10 US gallons.
- Calculate US fuel economy: 300 miles ÷ 10 gallons = 30.00 mpg.
- Convert fuel used: 10 US gallons × 3.785411784 = 37.85411784 liters.
- Convert distance: 300 miles × 1.609344 = 482.8032 kilometers.
- Calculate metric consumption: (37.85411784 ÷ 482.8032) × 100 = 7.84 L/100 km.
The results describe the same trip in two different ways: 30.00 miles per US gallon, or 7.84 liters per 100 kilometers.
When to Use Average Mileage
Use this calculation to compare a vehicle’s fuel economy across trips, estimate how efficiently a vehicle is using fuel, or check whether a change in route or driving conditions corresponds with a different result. For a useful comparison, gather complete records over a reasonably representative distance rather than drawing a conclusion from a very short drive.
You can calculate mileage for one trip or for a longer period. For a long-period average, add the distance and fuel from all included trips, then divide the combined distance by the combined fuel. This gives a fuel-weighted average. Do not simply average the mpg figures from separate trips unless each trip used the same amount of fuel; an arithmetic average of trip readings can give a misleading result.
Step-by-Step
- Choose the period or trip. Decide which driving you want to measure. For a single trip, use its start and end readings. For a multi-trip average, include all the distance and fuel for the period.
- Record the starting distance. Note the odometer reading before driving, or record the trip meter at zero. Use the same vehicle and distance unit throughout.
- Record the ending distance. At the end of the trip or measurement period, note the odometer or trip-meter reading. Subtract the starting reading from the ending reading to get distance traveled. For example, an ending reading of 12,450 miles minus a starting reading of 12,150 miles gives 300 miles.
- Measure the fuel used. For a practical tank-to-tank calculation, fill the tank consistently, note the fuel added, drive, then refill under comparable conditions and record the amount needed to return to the same fill level. The fuel added at the second fill estimates the amount consumed since the first. Follow the vehicle’s normal refueling instructions and do not overfill.
- Keep the units consistent. This calculator expects miles and US gallons. If your distance is in kilometers and fuel is in liters, calculate km/L as kilometers ÷ liters, or convert the measurements before using the mpg result. An Imperial gallon is larger than a US gallon, so do not enter Imperial gallons as US gallons.
- Enter distance and fuel. Type the total distance driven into Distance traveled and the corresponding total fuel consumed into Fuel used. Use positive values, and ensure that both values cover the same trips and dates.
- Read both results. Average mileage is shown in mpg, while the second result is L/100 km. Compare like units with like units. Round only the displayed result; use the unrounded readings when combining additional trips.
Common Mistakes
- Mixing up US and Imperial gallons: The calculator uses US gallons. A value measured in Imperial gallons will produce a different mpg result unless converted.
- Combining unmatched records: Distance and fuel must describe the same period. Do not pair one trip’s mileage with fuel from a different period.
- Using fuel purchased as fuel consumed without a consistent method: A partial fill does not necessarily match the fuel burned since the previous reading. Tank-to-tank records are more useful when the fill level and method are consistent.
- Taking a single reading as a dependable long-term figure: Short trips, traffic, weather, idling, terrain, and driving style can affect a result. One trip may not represent typical use.
- Confusing mpg with L/100 km: Higher mpg indicates better fuel economy, while lower L/100 km indicates better fuel economy. The scales move in opposite directions.
- Rounding too early: Keep the original distance and fuel figures for calculations. Rounding each trip before adding them can introduce avoidable error.
Tips
- Use the same method for each fill and record odometer readings and fuel amounts promptly.
- For a longer-term figure, calculate total miles divided by total gallons rather than averaging individual mpg results.
- Use enough data to include ordinary driving conditions. If you want to compare two periods, use similar routes and measurement practices where possible.
- Keep a simple log with the date, distance, fuel amount, and units. This makes it easier to spot typing errors or unusual readings.
- Check which gallon your source uses. US mpg and Imperial mpg are not interchangeable; km/L is another valid measure but is not L/100 km.
Troubleshooting
The calculator rejects a value: Distance cannot be negative, and fuel must be greater than zero. Check for a misplaced decimal, a unit label entered as part of the number, or a zero fuel amount. If no fuel was used or recorded, mpg cannot be calculated by division.
The mpg result seems unusually high or low: Check whether the distance is in kilometers rather than miles, whether the fuel is in liters or Imperial gallons rather than US gallons, and whether the two figures cover the same interval. Confirm that the ending odometer reading is greater than the starting reading.
The result changes a lot from one fill to another: Short intervals magnify small differences in fill level and measurement. Record several consistent tank-to-tank intervals, then divide total distance by total fuel. Do not treat a change in the estimate alone as proof of a mechanical problem.
You do not know the fuel used: Mileage cannot be calculated accurately from distance alone. Start recording fuel amounts at consistent fills, or use a reliable trip record that reports both distance and fuel consumed.
Frequently Asked Questions
What is the formula for average mileage?
For US mpg, divide miles traveled by US gallons used. For example, 300 miles ÷ 10 gallons equals 30 mpg.
Is higher or lower mileage better?
Higher mpg means more miles per gallon and generally better fuel economy. For L/100 km, lower is better because it means fewer liters are used for each 100 kilometers.
How do I calculate mileage from two odometer readings?
Subtract the starting reading from the ending reading to find distance traveled. Divide that distance by the fuel consumed over the same interval.
Can I calculate average mileage over several trips?
Yes. Add the miles from all trips and add the gallons used for those trips, then divide total miles by total gallons. This is more accurate than averaging the trips’ mpg figures.
Can I use kilometers and liters?
Yes, but use matching metric units. Divide kilometers by liters for km/L, or calculate liters per 100 kilometers as liters ÷ kilometers × 100. The calculator converts miles and US gallons to display L/100 km.
Does average mileage mean average speed?
Not necessarily. Fuel mileage measures distance per amount of fuel. Average speed measures distance per unit of time, so it requires elapsed time rather than fuel used.
Related
Formula used
in d | Distance traveled | miles | 300 | 0 | 100000 in f | Fuel used | US gallons | 10 | 0.01 | 100000 out mpg | Average mileage | mpg | d / f | 2 out l100 | Fuel consumption | L/100 km | (f * 3.785411784) / (d * 1.609344) * 100 | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.
More cards in this drawer
- Work Done Calculator With Angle: Formula and Examples25.00 J
- RPM, Torque and Motor Power Calculator1,833 W
- Quarter Mile Gear Calculator for Cars: Estimate ET13.21 s
- Motor Efficiency Formula Calculator for Cars90.00 %
- HP to Torque Calculator: Formula and Examples175.07 lb-ft
- HP to RPM Calculator: What You Need to Know2,626 rpm