Fuel Mileage Calculator: How to Use It
- Fuel consumption
- L/100km
- Result
- Distance traveled
- 300 mi
- You entered
- Fuel used
- 10 gal
- You entered
A fuel mileage calculator works out how many miles or kilometers your vehicle travels per gallon or liter of fuel. You enter the distance driven and the fuel used, and it returns your average fuel economy (MPG or km/L) plus the complementary fuel consumption figure (L/100km). This tells you how efficiently your vehicle uses fuel over a real trip or tankful.
Formula
The core formula for fuel mileage is simple:
Fuel Mileage (MPG) = Distance Traveled (miles) ÷ Fuel Used (gallons)
Where:
- Distance traveled is the number of miles driven (or kilometers, if you use the metric system).
- Fuel used is the amount of fuel consumed, in gallons (US or imperial) or liters.
To convert MPG to liters per 100 kilometers (the common metric measure), use the conversion factor 235.215. For example, 30 MPG equals 235.215 ÷ 30 = 7.84 L/100km. The calculator above does this conversion automatically.
Worked Example
Suppose you drive 300 miles on a full tank and then fill up with 10 gallons of fuel. Using the formula:
- Divide distance by fuel: 300 ÷ 10 = 30
- Your fuel mileage is 30 MPG.
- Convert to L/100km: 235.215 ÷ 30 = 7.84 L/100km
The calculator shows 30.00 MPG and 7.84 L/100km for these inputs.
How to Measure Your Own Fuel Mileage
The most reliable way to get real-world fuel economy is the “full tank� method:
- Fill the tank completely and note the odometer reading (or reset the trip meter).
- Drive normally until you need fuel again.
- Fill the tank completely again, and note the gallons (or liters) shown on the pump.
- Subtract the first odometer reading from the second to get the distance driven.
- Enter those two numbers into the calculator.
For accuracy, use the same pump and fill method each time. Do this over several tankfuls and average the results to smooth out variations from traffic, terrain, and weather.
When to Use a Fuel Mileage Calculator
You might use one to:
- Track your vehicle’s fuel economy over time to spot gradual declines that could indicate maintenance issues.
- Compare your real-world mileage to the EPA or manufacturer rating.
- Estimate fuel costs for a trip by combining the mileage with current fuel prices.
- Evaluate a used car before buying, or check if a new route or driving habit changes efficiency.
The calculator is also useful for fleet managers or anyone who wants to reduce fuel expenses and emissions.
Common Mistakes and Misconceptions
A frequent error is mixing up US gallons, imperial gallons, and liters. The US gallon is 3.785 liters, while the imperial gallon is 4.546 liters. If you use imperial gallons but the formula assumes US gallons, your MPG will be about 20% too high. Always check which gallon your fuel pump uses (in the US and most of the world, it’s US gallons; in the UK and some other countries, it’s imperial).
Another mistake is using the odometer’s total miles instead of the miles driven during that tank. If you don’t reset the trip meter, subtract the starting odometer reading.
Also, don’t expect the calculator’s result to match the EPA window sticker exactly. Real-world driving includes idling, short trips, cold starts, and varying speeds—all of which lower efficiency. The EPA ratings are based on standardized tests, not your commute.
Fuel Mileage vs. Fuel Consumption
Fuel mileage (MPG or km/L) and fuel consumption (L/100km) are two ways of expressing the same thing. MPG is a measure of distance per unit of fuel—higher is better. L/100km is a measure of fuel used per distance—lower is better. The relationship is not linear: improving from 15 to 20 MPG saves more fuel than improving from 35 to 40 MPG, even though both are a 5 MPG gain. That’s why many countries use L/100km for comparisons.
To convert between them, use these formulas (for US gallons):
- MPG = 235.215 ÷ L/100km
- L/100km = 235.215 ÷ MPG
Limitations of the Formula
The basic fuel mileage formula assumes the fuel you bought is exactly what you used. In practice, you might not fill to the exact same level each time, which introduces error. Also, the formula gives an average over the whole tank; it doesn’t show how your mileage varies on the highway versus in city traffic.
For a more detailed picture, you could calculate separate city and highway numbers by driving a known distance under those conditions and measuring fuel use. But for most purposes, the simple tank-average is sufficient.
Frequently Asked Questions
How do I calculate fuel mileage without a calculator?
Divide the distance driven by the fuel used. For example, if you drive 250 miles and use 10 gallons, your mileage is 25 MPG. If you use kilometers and liters, the result is km/L.
What is a good fuel mileage number?
It depends on the vehicle. A compact car might get 30–40 MPG, an SUV 20–30 MPG, and a pickup truck 15–25 MPG. Compare your number to the EPA rating for your specific model, or to your own historical average.
Why is my actual MPG lower than the EPA rating?
EPA tests are done in a lab with controlled conditions. Real-world factors like aggressive acceleration, high speeds, cold weather, air conditioning, and carrying heavy loads all reduce efficiency. Short trips where the engine doesn’t warm up are especially fuel-hungry.
How can I improve my fuel mileage?
Maintain proper tire pressure, remove excess weight, avoid rapid acceleration and braking, and keep your speed moderate on highways. Regular maintenance—like changing air filters and spark plugs—also helps. Each of these can improve mileage by a few percent.
Does the calculator work for electric vehicles?
No, this calculator is for vehicles that use liquid fuel. EVs use kilowatt-hours per 100 miles (or km), which is a different measure. You would need a separate calculator that accounts for electricity consumption.
Related
Formula used
in d | Distance traveled | mi | 300 | 0 in f | Fuel used | gal | 10 | 0 out mpg | Fuel mileage | MPG | d / f | 2 out l100 | Fuel consumption | L/100km | 235.215 / (d / f) | 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.