Gas Fuel Mileage Calculator: How to Use It
- Fuel consumption
- L/100km
- Result
- Distance
- 300 miles
- You entered
- Fuel used
- 12 gallons
- You entered
This gas fuel mileage calculator works out your vehicle’s fuel economy in miles per gallon (MPG) or liters per 100 kilometers (L/100 km). You enter the distance you traveled and the amount of fuel you used to refill the tank, and it returns your average fuel consumption and cost per mile or kilometer. It is the simplest and most accurate way to measure real-world efficiency without any special equipment.
Formula
The core formula for fuel mileage is straightforward:
MPG = Distance (miles) / Fuel used (gallons)
For metric users, the equivalent is:
L/100 km = (Fuel used in liters / Distance in kilometers) × 100
Where:
- Distance – the total miles or kilometers driven between fill-ups.
- Fuel used – the amount of fuel (gallons or liters) needed to refill the tank completely.
The calculator above uses the US gallon (3.785 liters) and the international mile (1.609 km). If you use imperial gallons (4.546 liters), the MPG figure will be about 20% higher, so always confirm which gallon your source uses.
Worked Example
Using the default values from the calculator:
- Distance = 300 miles
- Fuel used = 12 gallons
Step 1: Divide distance by fuel: 300 ÷ 12 = 25.0 MPG.
Step 2: Convert to L/100 km: (12 × 3.78541) / (300 × 1.60934) × 100 = 45.4249 / 482.802 × 100 = 9.41 L/100 km.
The calculator shows 25.00 MPG and 9.41 L/100 km, which are the same results.
How to Measure Fuel Mileage Accurately
The most reliable method is the “full tank to full tank� approach:
- 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 exact amount of fuel pumped.
- Subtract the first odometer reading from the second to get the distance.
- Enter those two numbers into the calculator.
For best results, use the same pump and fill until the nozzle clicks off automatically. This minimizes variation from different pump shut-off points.
Common Mistakes and How to Avoid Them
Many people get misleading numbers due to simple errors:
- Mixing units: If you enter miles but fuel in liters, the MPG figure will be wildly wrong. Convert liters to gallons (divide by 3.785) or use the metric output.
- Not filling completely: If you don’t fill the tank the second time, you’ll overestimate fuel used and get a lower MPG.
- Short trips: A single short trip (e.g., 20 miles) can be skewed by traffic, hills, or a cold engine. Over several hundred miles, the average becomes meaningful.
- Rounding too early: Rounding the distance to the nearest 10 miles can change the result by several MPG. Use the exact odometer reading.
When to Use This Calculator
Use it whenever you want a real-world efficiency figure, not the optimistic EPA or WLTP lab number. It is especially useful for:
- Tracking your vehicle’s health – a sudden drop in MPG can indicate a problem like low tire pressure, a dirty air filter, or a faulty oxygen sensor.
- Comparing driving habits – see how much difference highway vs. city driving makes.
- Budgeting for fuel costs – once you know your MPG, multiply by your annual miles and fuel price to estimate yearly fuel spend.
- Evaluating a used car before purchase – a quick test drive and fill-up can reveal its true efficiency.
Limitations of the Calculation
This simple formula gives an average over the distance you drove, but it doesn’t account for several factors:
- Driving conditions: Stop-and-go city traffic uses more fuel than steady highway cruising.
- Vehicle load and aerodynamics: Roof racks, trailers, or heavy cargo reduce MPG.
- Tire pressure: Under-inflated tires increase rolling resistance and fuel consumption.
- Fuel quality and ethanol content: Ethanol blends have lower energy density than pure gasoline, so MPG may drop slightly.
- Engine temperature and weather: Cold starts and winter fuel blends can lower efficiency.
For a more accurate picture, average the results over several fill-ups (e.g., 3–5 tanks). That smooths out variations from traffic, weather, and different drivers.
Frequently Asked Questions
What is a good MPG for a car?
For a typical modern gasoline car, 25–35 MPG (US) is considered good. Hybrids often achieve 45–60 MPG, while large trucks and SUVs may get 15–20 MPG. The “good� number depends on the vehicle class and your driving conditions.
How do I convert MPG to L/100 km?
Use the formula: L/100 km = 235.215 ÷ MPG (US). For example, 30 MPG equals 235.215 ÷ 30 = 7.84 L/100 km. The calculator above does this conversion automatically.
Why is my calculated MPG lower than the sticker says?
Sticker values come from controlled lab tests that don’t reflect real-world conditions like traffic, hills, air conditioning, and aggressive driving. It’s normal to see 10–20% lower MPG than the EPA estimate, especially in city driving.
Can I use this calculator for electric vehicles?
No, EVs measure efficiency in miles per kilowatt-hour (mi/kWh) or kilowatt-hours per 100 miles. The fuel-based formula doesn’t apply because electricity is measured in energy units, not volume.
Does idling affect my MPG calculation?
Yes, idling burns fuel without adding distance, so it lowers your average MPG. The calculator includes all fuel used, including idling, because it measures total fuel consumed over the distance driven.
How often should I check my fuel mileage?
For a reliable trend, check every fill-up and average the last 3–5 tanks. Checking once after a single tank can be misleading due to short-term variations. If you notice a consistent drop of more than 10% over several tanks, it’s worth investigating.
Related
Formula used
in d | Distance | miles | 300 | 0 in f | Fuel used | gallons | 12 | 0 out mpg | Fuel economy | MPG | d / f | 2 out l100 | Fuel consumption | L/100km | (f * 3.78541) / (d * 1.60934) * 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.