How to use this calculator
- Choose your measurement preference under Units.
- Enter the distance traveled between fill-ups in Distance driven.
- Enter the fuel added at the pump in Fuel used.
- Enter the pump price in Fuel price per gallon or litre.
- Read Miles per gallon (MPG), Litres per 100 km, Fuel cost, and Cost per mile.
How gas mileage and fuel economy are calculated
Gas mileage measures the distance a vehicle travels per unit of fuel consumed. In the United States, fuel efficiency is expressed in miles per gallon (MPG). To find your MPG manually, divide the total miles driven by the gallons of fuel needed to refill the tank.
MPG = Distance driven ÷ Fuel used- Distance driven = miles traveled between two full fill-ups
- Fuel used = gallons purchased on the second fill-up
- Cost per mile = Fuel cost ÷ Distance driven
- Litres per 100 km = 235.215 ÷ Miles per gallon (US)
The most accurate measurement is the fill-up method. Fill your fuel tank completely and record your odometer reading or reset your trip meter. Drive normally until the next fill-up, then fill the tank completely again. The gallons needed for the second fill represent the exact fuel used for that distance.
Conversions between measurement systems use exact standards: 1 mile equals 1.609344 km, 1 US gallon equals 3.785411784 L, and 1 imperial (UK) gallon equals 4.54609 L. Because litres per 100 km measures fuel volume rather than distance, it converts inversely: 235.215 divided by US MPG.
Worked example: 350 miles on 12.5 gallons
The calculator opens with default values for a passenger car. You enter a Distance driven of 350 miles and Fuel used of 12.5 gallons, with Units set to Miles and US gallons. At a Fuel price per gallon or litre of $3.50, the vehicle achieves 28 Miles per gallon (MPG).
At that rate, total Fuel cost is $43.75, resulting in a Cost per mile of $0.13. Across other standards, the engine reports 33.63 Miles per gallon (UK), 8.4 Litres per 100 km, and 11.9 Kilometres per litre at a Cost per km of $0.08.
If you drive 412 miles on 13.2 gallons at $3.25 per gallon, gas mileage rises to 31.21 Miles per gallon (MPG). Total Fuel cost drops to $42.90, and the Cost per mile falls to $0.10.
How to interpret your gas mileage and fuel costs
Calculated MPG provides a benchmark for monitoring vehicle health. A sudden drop in mileage often signals low tire pressure, dragging brakes, or engine issues. Tracking fuel use over time helps identify mechanical problems early.
Cost per mile helps compare operating costs when choosing a vehicle. Pair your fuel numbers with the auto loan calculator or the car lease calculator to evaluate monthly loan or lease payments alongside fuel spending.
When planning a road trip, use the fuel cost calculator to project fuel required for specific routes. For monthly spending plans, incorporate fuel costs into the budget calculator.
Tips for accurate tracking and common mistakes
The most common mistake is calculating mileage from a single partial fill-up. Fuel nozzles shut off at varying levels depending on pressure and temperature. Estimating without a full tank distorts results. Average several fill-ups for a reliable figure.
Another mistake is confusing US and UK gallons. An imperial gallon is about 4.55 litres, while a US gallon is about 3.79 litres. A UK vehicle rated at 35 MPG covers less distance per US gallon, so confirm your vehicle units.
Aggressive driving, excessive idling, and extra cargo increase fuel use. Maintaining proper tire pressure and steady highway speeds keeps consumption closer to vehicle ratings.
Assumptions and limits of the calculation
The calculator isolates fuel costs only. Cost per mile reflects what you spend on fuel for the logged distance. It does not include maintenance, insurance, depreciation, replacement tires, or registration fees. Total vehicle ownership cost is higher than fuel alone.
The tool assumes a constant fuel price and steady driving conditions across the logged distance. It does not separate city from highway driving, nor does it model cargo weight, trailer towing, or terrain elevation changes.
Frequently asked questions
How can you calculate gas mileage manually?
Divide miles driven between fill-ups by the gallons needed to refill the tank. For example, 350 miles divided by 12.5 gallons equals 28 MPG.
Why does calculated MPG differ from the dashboard display?
Dashboard computers estimate mileage from fuel injection timing and wheel rotation. The fill-up method tracks actual fuel pumped into the tank.
What is the difference between US MPG and UK MPG?
A UK imperial gallon contains 4.546 litres, which is about 20% larger than a 3.785 litre US gallon. The same vehicle therefore records a higher MPG number in the UK.
Why average gas mileage over multiple fill-ups?
Pump shut-off levels vary slightly due to fuel foaming and nozzle sensitivity. Averaging several fill-ups smooths out variations for a reliable figure.
How does L/100 km compare to MPG?
Litres per 100 km measures fuel volume per fixed distance, so lower numbers indicate better efficiency. MPG measures distance per volume, so higher numbers are better.