Fuel Mileage Calculator — Compare MPG, L/100 km, and estimated fuel cost
This Fuel Mileage Calculator turns actual distance and fuel use into US MPG, Imperial MPG, km/L, and L/100 km without mixing gallon definitions. It also calculates trip cost, cost per 100 miles or kilometres, projected fuel demand, and the difference between two vehicles or driving scenarios.
How to use
Enter the distance covered in Distance traveled, then choose Miles or Kilometres in Distance unit. Enter the fuel consumed during exactly that interval in Fuel used and select US gallons, Imperial gallons, or Litres in Fuel volume unit. For the strongest real-world measurement, use the odometer difference between consecutive full-tank fill-ups and the fuel quantity added at the second fill.
Enter Fuel price per selected volume unit using the same volume basis. If you selected litres, enter price per litre; if you selected US gallons, enter price per US gallon. Add a Currency symbol such as $, £, €, or a short label. The symbol is retained for display but no currency conversion occurs.
Projected distance is optional and uses the selected distance unit. Enter an annual, monthly, route, or ownership-period distance to estimate future fuel required and fuel cost. To compare another vehicle or scenario, enter Comparison efficiency and select its unit. The comparison can use US MPG, Imperial MPG, km/L, or L/100 km even when the measured trip used different units.
Results update immediately. Read the prominent result in the convention associated with your distance selection, then review all four converted efficiency measures. Measured trip cost and cost per 100 distance units summarize the observed interval. Projection outputs apply the measured rate to the future distance. Primary scenario savings is positive when the measured vehicle costs less than the comparison and negative when the comparison saves money. Use Reset calculator to restore the worked default example.
Formula
Step by step
Worked audit: suppose a vehicle travels 300 miles, uses 10.7142857 US gallons, and fuel costs $3.75 per US gallon. US economy is 300 ÷ 10.7142857 = 28.00 MPG. Convert distance to kilometres: 300 × 1.609344 = 482.8032 km. Convert fuel to litres: 10.7142857 × 3.785411784 = 40.557983 L. Metric consumption is 100 × 40.557983 ÷ 482.8032 = 8.40052 L/100 km. Metric economy is 482.8032 ÷ 40.557983 = 11.90402 km/L. Imperial economy is 282.480936 ÷ 8.40052 = 33.6266 MPG (Imperial). Trip cost is 10.7142857 × $3.75 = $40.17857, displayed as $40.18. Cost per 100 miles is $40.17857 ÷ 300 × 100 = $13.39286. Over 12,000 miles, projected fuel is 12,000 ÷ 28 = 428.57143 US gallons and projected cost is 428.57143 × $3.75 = $1,607.14. A 35-US-MPG comparison uses 12,000 ÷ 35 = 342.85714 gallons and costs $1,285.71, so the comparison saves 85.71429 gallons and $321.43.
Detailed calculation guide
A Fuel Mileage Calculator measures how far a vehicle travels for a given amount of fuel, converts that result among common economy and consumption units, and estimates fuel expense. Enter a matched distance and fuel quantity, select the correct units, and optionally add a price, future distance, and comparison efficiency. The most reliable result comes from fuel consumed across consecutive full-tank fill-ups rather than a dashboard snapshot.
Fuel mileage is the relationship between distance traveled and fuel consumed. MPG and km/L express distance per unit of fuel, so higher values mean better economy. L/100 km expresses fuel consumed per 100 kilometres, so lower values are better. Trip cost is fuel used multiplied by the price for the same volume unit.
Understanding the calculation
The calculator first converts the measured trip to kilometres and litres. That neutral internal representation prevents US gallons and Imperial gallons from being treated as equivalent. One US liquid gallon is 3.785411784 litres, while one Imperial gallon is 4.54609 litres. A mile is exactly 1.609344 kilometres. The calculator retains full internal precision and rounds only displayed results.
Measured economy is based on totals. US MPG equals miles divided by US gallons. Imperial MPG equals miles divided by Imperial gallons. Kilometres per litre equals kilometres divided by litres. Litres per 100 kilometres equals 100 times litres divided by kilometres. Because the two gallon sizes differ, the same physical trip always produces a larger numerical Imperial MPG value than US MPG.
Cost calculations require consistent volume units. If fuel used is entered in US gallons, the price must be per US gallon. If fuel is entered in litres, the price must be per litre. The currency field changes the displayed symbol only; it does not convert exchange rates or reconcile prices quoted in different currencies.
For projections, the measured consumption rate is applied to the future distance. A vehicle measured at 8 L/100 km is projected to consume 800 litres over 10,000 km. The projected quantity is converted back into the fuel-volume unit selected by the user, then multiplied by the entered unit price. This makes the cost trail auditable from measurement through conversion to projection.
Comparison logic
A fair comparison uses one projected distance, one fuel price, and consistent gallon definitions. The comparison efficiency may be entered as US MPG, Imperial MPG, km/L, or L/100 km. It is converted internally to L/100 km before projected fuel and cost are calculated. Positive primary-scenario savings mean the measured vehicle costs less to fuel; a negative result means the comparison scenario is more efficient.
This approach is more informative than comparing MPG values alone. A change from 15 to 20 MPG saves more fuel over a fixed distance than a change from 35 to 40 MPG, even though both changes equal five MPG. Fuel consumption per fixed distance exposes this nonlinear relationship directly. Comparing litres per 100 km, gallons per 100 miles, or projected cost therefore gives a clearer view of the practical difference.
Common Mistakes
- Mixing US and Imperial gallons. An Imperial gallon contains more liquid, so 30 Imperial MPG does not represent the same efficiency as 30 US MPG.
- Treating a higher L/100 km result as better. L/100 km is a consumption measure; lower is better. MPG and km/L are economy measures; higher is better.
- Entering a per-litre price while fuel volume is set to gallons. The calculator deliberately assumes the price matches the selected fuel unit.
- Using the amount from a partial fill as exact consumption. Fuel bought is a good proxy for fuel used only when the tank begins and ends at a comparable level.
- Averaging separate MPG readings arithmetically. Combine all distance and all fuel first, then divide the totals.
- Comparing different distances or prices. Scenario savings are meaningful only under a common projection and price assumption.
- Rounding a converted MPG or L/100 km value before estimating cost. Early rounding can become material across a fleet or a long annual distance.
- Confusing MPG with MPGe. MPGe compares energy equivalents and is not a direct measure of liquid gallons consumed by an electric vehicle.
Assumptions
The calculation assumes the entered distance and fuel belong to the same measurement interval. It assumes the selected units accurately describe the numbers and that the fuel price is quoted per selected volume unit. A projection assumes the measured average efficiency continues across the projected distance. That is a scenario, not a guarantee.
The calculator also assumes fuel density is irrelevant because it works with volume rather than mass. It does not distinguish gasoline, diesel, ethanol blends, or other liquid fuels. Those fuels may differ in energy content, price, emissions, and seasonal formulation, but the distance-per-volume arithmetic remains the same.
Limitations
A single tank can be noisy evidence. Pump shutoff behavior, parking angle, tank geometry, odometer accuracy, tire-size changes, and rounding at the pump can affect the observation. Short intervals magnify these errors. Several consecutive full-tank records usually give a more stable estimate, provided total distance is divided by total fuel.
Real-world efficiency varies with traffic, speed, acceleration, idling, ambient temperature, wind, precipitation, elevation, road surface, tire pressure, cargo, towing, roof racks, HVAC use, maintenance, and trip length. Cold starts can make short journeys especially unrepresentative. A projection based on mixed driving should not be treated as a precise prediction for a route with very different conditions.
Fuel prices are also variable. The projected cost holds the entered price constant and excludes tolls, maintenance, depreciation, financing, charging, parking, and other ownership costs. Savings therefore describe fuel expense only. They are not a complete total-cost-of-ownership comparison.
Practical Applications
Drivers can calculate real-world mileage from receipts, estimate the fuel budget for a road trip, compare winter and summer consumption, or check whether a change in tires or driving pattern coincides with a meaningful shift. Commuters can project monthly or annual fuel expense from a representative measured average. Vehicle shoppers can put two efficiency ratings on a common distance and price basis.
Fleet operators can use the same formulas for route budgeting, exception detection, and scenario planning. For fleet analysis, however, calculations should be performed on unrounded totals and segmented by vehicle, duty cycle, fuel type, and period. A sustained deterioration may justify investigating tire pressure, maintenance, routing, idle time, payload, or driver behavior, but this calculator alone cannot diagnose the cause.
Tips
- Record odometer readings and pump volume at every full fill-up.
- Use the same fill method and, where practical, the same pump orientation.
- Measure over a longer distance to reduce the influence of small filling differences.
- Separate towing, city, highway, winter, or heavily loaded operation when those regimes answer different questions.
- Keep the original unit definitions attached to every record, especially when data crosses US, UK, or Canadian contexts.
- Use a realistic current or scenario fuel price, and label projections with the price date.
- Compare cost per 100 distance units when evaluating trips of unequal length.
Interpretation
US MPG, Imperial MPG, and km/L rise as efficiency improves. L/100 km and fuel cost per 100 distance units fall as efficiency improves. These scales are reciprocals, so percentage changes need care. Improving from 20 to 25 US MPG reduces gallons per mile by 20%, not 25%. Conversely, moving from 10 to 8 L/100 km reduces consumption by 20%.
Do not over-interpret tiny displayed differences. Two values such as 31.42 and 31.55 MPG may be indistinguishable given pump and distance measurement uncertainty. Trends across multiple comparable intervals are generally more useful than a single decimal-rich result. The calculator displays enough precision for checking the arithmetic, but practical decisions should reflect the quality of the source data.
Related Formulas
The reciprocal link between common measures is central. US MPG converts to L/100 km using 235.214583 divided by US MPG. Imperial MPG converts using 282.480936 divided by Imperial MPG. Kilometres per litre converts to L/100 km using 100 divided by km/L. To reverse any of these relationships, divide the same constant by the consumption value.
Fuel required equals projected distance divided by a distance-per-volume economy measure. When using L/100 km, litres required equal projected kilometres multiplied by L/100 km and divided by 100. Cost equals required volume multiplied by matching price per volume. Cost per 100 distance units equals total trip cost divided by trip distance and multiplied by 100.
For combined records, use weighted totals: combined economy equals total distance divided by total fuel. For example, trips of 100 miles at 20 MPG and 100 miles at 40 MPG consume 5 and 2.5 gallons. Combined economy is 200 divided by 7.5, or 26.67 MPG—not the simple average of 30 MPG.
Best Practices
Use consecutive full-tank readings when accuracy matters. Fill the tank, record the odometer, drive normally, refill to a comparable shutoff point, and use the second receipt's volume with the odometer difference. Repeat for several tanks and aggregate the raw totals. Preserve more precision in stored data than you display.
Document context alongside the result: date range, route type, weather, fuel grade, tires, payload, towing, and any maintenance event. For comparisons, normalize the distance and price while keeping the efficiency source explicit. Distinguish measured real-world economy from an official test-cycle label, a dashboard estimate, or a manufacturer's claim.
When NOT to use this calculator
Do not use this tool to calculate electric-vehicle energy consumption, charging losses, or MPGe; those require electricity units such as kWh and an energy-equivalence method. Do not use it for aircraft dispatch, marine voyage planning, emergency fuel reserves, hazardous-material operations, or any situation where certified performance data and regulatory reserve rules apply.
It should not replace an onboard fuel-management system or professional diagnosis. A sudden mileage decline accompanied by warning lights, fuel odor, leakage, smoke, abnormal engine behavior, or safety concerns requires inspection. Do not rely on a projected fuel quantity as the amount to carry when route access, weather, terrain, or fuel availability creates operational risk.
Real-world examples
A driver travels 300 miles and replaces 10.714 US gallons. The result is 28 US MPG, approximately 33.62 Imperial MPG, 11.90 km/L, or 8.40 L/100 km. At $3.75 per US gallon, the measured trip costs about $40.18. At the same rate, 12,000 miles requires about 428.57 gallons and costs about $1,607.14.
A metric driver covers 600 km using 42 litres. Consumption is 7 L/100 km and economy is 14.29 km/L, equivalent to about 33.60 US MPG. If fuel costs €1.72 per litre, the trip costs €72.24. A 15,000 km projection uses 1,050 litres before any adjustment for changing conditions.
A shopper comparing a measured 28 US MPG vehicle with a 35 US MPG alternative over 12,000 miles at $3.75 per gallon finds that the first needs about 428.57 gallons and the second about 342.86 gallons. The more efficient comparison saves roughly 85.71 gallons and $321.43 over that scenario.
An Imperial record of 420 miles and 12 Imperial gallons equals 35 Imperial MPG, but only about 29.14 US MPG. Clearly naming the gallon definition prevents a seemingly large conversion error. At £1.65 per Imperial gallon, that measured fuel costs £19.80.
For a small fleet, the correct monthly figure comes from combined totals. If vehicles collectively travel 24,000 miles and consume 1,000 US gallons, fleet economy is 24 MPG. Averaging each vehicle's MPG without weighting by its fuel or distance can give a different and misleading result.
Used with careful measurements, this Fuel Mileage Calculator provides a transparent bridge between pump records, international efficiency units, and practical cost scenarios. Its value is not merely producing a converted number; it makes the unit assumptions, reciprocal relationships, and projection logic visible enough to audit.
Beginner: 300-mile gasoline trip
28.00 US MPG, 8.40 L/100 km, $40.18 trip cost, and approximately $1,607.14 projected cost over 12,000 miles.
The measured vehicle needs about 428.57 US gallons over the projection. A 35-US-MPG comparison needs about 342.86 gallons and costs roughly $321.43 less.
Intermediate: Metric consumption record
7.00 L/100 km, 14.29 km/L, approximately 33.60 US MPG, €72.24 trip cost, and €1,806.00 projected cost.
The 6.2-L/100 km comparison uses 120 fewer litres over 15,000 km and saves €206.40 at the entered price.
Advanced: Imperial-gallon comparison
35.00 Imperial MPG, approximately 29.14 US MPG, 8.07 L/100 km, and £19.80 measured trip cost.
Over 10,000 miles, the measured vehicle needs about 285.71 Imperial gallons. The 40-Imperial-MPG comparison needs 250 gallons and saves about £58.93.
Edge case: Short metric measurement
8.00 L/100 km, 12.50 km/L, approximately 29.40 US MPG, and $0.72 trip cost.
The arithmetic is valid, but a five-kilometre interval is highly sensitive to cold starts and filling error. A longer full-tank record is preferable.
Real-world: High-mileage annual projection
Approximately 30.24 US MPG, 7.78 L/100 km, $143.09 measured trip cost, and about $2,077.09 projected annual fuel cost.
At 38 US MPG, the comparison requires about 473.68 gallons over 18,000 miles and saves approximately $423.93 against the measured scenario.
Frequently asked questions
How do I calculate fuel mileage accurately?
Measure the distance between two comparable full-tank fill-ups and divide that distance by the fuel added at the second fill. For several tanks, divide total distance by total fuel rather than averaging the individual MPG readings.
What is the difference between US MPG and Imperial MPG?
US MPG uses the 3.785411784-litre US gallon, while Imperial MPG uses the 4.54609-litre Imperial gallon. The same vehicle therefore has a numerically higher Imperial MPG even though its physical fuel efficiency has not changed.
How do I convert US MPG to L/100 km?
Divide 235.214583 by the US MPG value. For example, 30 US MPG equals approximately 7.84 L/100 km. The relationship is reciprocal, so higher MPG corresponds to lower L/100 km.
Is higher or lower L/100 km better?
Lower L/100 km is better because the number reports how many litres the vehicle consumes to travel 100 kilometres. This is the opposite direction from MPG and km/L, where a higher value indicates better economy.
How is trip fuel cost calculated?
Trip fuel cost equals fuel used multiplied by price per matching volume unit. A trip using 40 litres at €1.70 per litre costs €68. The calculator does not convert between currencies or between per-litre and per-gallon prices.
Can I estimate annual fuel cost with this Fuel Mileage Calculator?
Yes. Enter a representative measured distance and fuel quantity, then place expected annual driving in Projected distance. The result assumes the measured efficiency and entered fuel price remain constant throughout the projection.
Why is my calculated mileage different from the dashboard display?
Dashboard estimates may use injector data and rolling averages, while a fill-up calculation depends on pump volume and odometer distance. Pump shutoff variation, idling, tire-size changes, rounding, and different measurement periods can produce differences.
Should I average several MPG readings?
Do not take a simple arithmetic average unless every reading represents equal fuel or appropriately weighted data. Add all recorded distances, add all fuel quantities, and divide combined distance by combined fuel for the correct overall economy.
Why did fuel economy change between winter and summer?
Cold starts, denser air, winter fuel blends, tire pressure, heater and defroster use, road conditions, and longer warm-up periods can increase consumption. Compare similar routes and aggregate multiple tanks before attributing the change to one cause.
Can I compare MPG with km/L or L/100 km?
Yes. The calculator converts every efficiency input through consistent distance and volume definitions. Remember that MPG and km/L are distance-per-volume measures, while L/100 km is a reciprocal consumption measure.
Does the calculator work for diesel vehicles?
Yes, provided fuel is measured by volume and the entered price matches that volume unit. The arithmetic is identical for gasoline and diesel, although fuel energy content, emissions, and real-world operating characteristics differ.
Is MPG the same as MPGe?
No. MPG directly measures miles traveled per liquid gallon. MPGe is an energy-equivalent comparison used for electric, plug-in hybrid, and alternative-fuel vehicles. This calculator is intended for measured liquid-fuel volume, not MPGe.
Related calculators
Browse all calculators in this category
Editorial review
Author: JD
Sources
Enable JavaScript to use interactive calculators.