Fuel economy

How to calculate MPG

To calculate your MPG, fill your tank completely, note your odometer (or reset the trip meter), drive normally until you need fuel, fill up completely again, and divide the miles driven by the gallons it took to refill. UK pumps sell litres, so divide the litres by 4.546 first. For example, 450 miles on 45.46 litres, which is 10 gallons, is 45 miles per gallon (MPG). Repeat this over several tanks and divide total miles by total gallons for a reliable average.

What is MPG?

MPG, miles per gallon, is the number of miles a vehicle travels on one gallon of fuel. Higher is better. In the UK it is quoted in imperial gallons of 4.546 litres, even though the pumps sell fuel by the litre. As Edmunds explains in its MPG guide, MPG is also the standard in the United States, where the gallon is the smaller US gallon, while most other countries use litres per 100 kilometres (L/100 km), where lower is better.

  • Fuel economy is the general name for how far a vehicle goes on a given amount of fuel. MPG and km/L are fuel economy units.
  • Fuel consumption is the inverse: how much fuel a vehicle burns over a set distance, such as L/100 km. The two describe the same thing from opposite directions, which is why a car with better fuel economy has a higher MPG but a lower L/100 km figure.

How do you calculate MPG step by step?

The most accurate manual method is the full-tank (or tank-to-tank) method. It measures exactly how much fuel your car used over a known distance, in six steps.

  • Fill the tank completely. Stop at the first automatic click of the pump. Don't top off, because squeezing in extra fuel makes each fill a slightly different size.
  • Record the odometer or reset the trip meter. Write down the total mileage, or zero out Trip A. A photo of the dashboard works too.
  • Drive normally. Use the car as you usually do until you need fuel again. The longer the stretch, the smaller the effect of small pump differences.
  • Fill the tank completely again, stopping at the first click, just like the first fill.
  • Record two numbers: the litres you just pumped (from the pump display or receipt) and the miles driven since the last fill-up (trip meter, or new odometer minus old odometer).
  • Divide miles by gallons. First turn the litres into imperial gallons (litres ÷ 4.546). The result is your MPG for that tank.

What is the formula for MPG?

The MPG formula is MPG = miles driven ÷ gallons used. Because UK pumps sell litres, convert first: gallons = litres ÷ 4.546, or in one step, MPG = miles driven × 4.546 ÷ litres. If you only have odometer readings, calculate the distance first: miles driven = current odometer − odometer at the last full fill-up.

Worked example: your odometer read 42,150 at your last full tank. Today it reads 42,462 and the pump says you added 32.8 litres. Miles driven: 42,462 − 42,150 = 312 miles. Gallons: 32.8 ÷ 4.546 = 7.22 gallons. MPG: 312 miles ÷ 7.22 gallons = 43.2 MPG.

The litres you use are the ones pumped at the end of the interval, not the beginning: that fill replaces exactly the fuel the car burned since the previous full tank. In metric units the same method gives fuel consumption: L/100 km = litres used ÷ kilometres driven × 100.

How do you calculate average MPG over several tanks?

One tank is a snapshot. A week of motorway driving and a week of school runs can differ by several MPG, so the number that tells you what your car really does is an average over several full tanks.

To calculate average MPG correctly, add up all the miles and all the litres, convert the litres to gallons, then divide total miles by total gallons. Don't average the individual MPG figures, because that gives a short tank the same weight as a long one. Across three tanks of 312, 180 and 405 miles, the gap between the two methods is just under one MPG, and it grows when tank sizes vary a lot, pointing in whichever direction the short tanks happen to lean. Weighting by distance is what makes the average match what you actually spent at the pump.

Average MPG over three full tanks
TankMiles drivenLitres addedMPG for that tank
Tank 131232.843.24
Tank 218021.338.42
Tank 340538.647.70
Total89792.743.99 (correct average)
  • Correct method: 92.7 litres ÷ 4.546 = 20.39 gallons, and 897 miles ÷ 20.39 gallons = 43.99 MPG.
  • Misleading shortcut: (43.24 + 38.42 + 47.70) ÷ 3 = 43.12 MPG.

How do you calculate MPG without filling up?

Sometimes you can't fill the tank: you're in a hurry, the petrol station is expensive, or you only need enough to get home. You can still get an accurate MPG figure if you treat partial fills correctly.

Pump shutoff points are not perfectly consistent either. Say you drove 300 miles and the refill took 30.1 litres at one pump, while a different pump might have clicked off at 31.3 litres. That is 45.3 MPG versus 43.6 MPG for the same driving. Over three or four tanks those small variations cancel out; on a single short tank, they don't.

  • Keep the chain going. Record every partial fill's litres, but don't calculate MPG at that point. At the next full fill, add up all the litres pumped since the last full tank (partials included), convert them to gallons and divide all the miles driven over that whole stretch by the result.
  • Never compute MPG from a partial fill alone. Twenty litres into a half-empty tank tells you nothing about how much fuel the car burned.
  • Missed a fill-up entirely? If you forgot to write one down, the interval that contains it is unreliable. Throw that interval out and restart from the next full tank rather than producing an impossible number.
  • Use the trip computer as a rough check. The dashboard reading is fine for spotting a trend, but it is an estimate, not a measurement.

Why doesn't my dashboard MPG match my calculation?

Most modern cars display an average MPG on the instrument cluster. It is convenient, but Edmunds notes that these onboard readouts tend to be overly optimistic, and that working MPG out by hand from fill-ups is more accurate.

The reason is simple: the car doesn't measure fuel directly. It estimates consumption from engine data such as injector activity, while your calculation uses the actual litres the pump delivered. Use the dashboard for quick feedback while driving, and fill-up maths when you want the true number.

To check your car's display, reset the dashboard average when you reset the trip meter at a full tank. At the next full tank, compare the display to your own calculation. The percentage gap tends to stay similar over time, so once you know it, you can mentally correct future readings.

Why is my MPG lower than the official figure?

The MPG quoted for a new car comes from standardised laboratory tests with fixed driving cycles: in the UK and Europe the WLTP cycle, in the US the EPA tests, which give separate city, highway and combined ratings. Edmunds explains that the EPA revised those tests in 2008 (adding higher speeds and air-conditioning use) and again for the 2017 model year, which lowered estimates overall. Even so, the official figure is a comparison tool, not a promise. Real-world results depend on how, where and when you drive, and the U.S. Department of Energy's fueleconomy.gov quantifies the biggest factors.

This is also why tracking your own MPG over time is useful: your history becomes the baseline. A drop of a few MPG in January is probably the weather. A drop of a few MPG in June, with the same commute, is worth a closer look at tyre pressure, a dragging brake or an overdue service.

What lowers real-world MPG, according to fueleconomy.gov
FactorEffect on MPGSource
Aggressive driving (speeding, hard acceleration and braking)Roughly 15% to 30% lower at motorway speeds, 10% to 40% lower in stop-and-go trafficDriving More Efficiently
Speed above 50 mphEach 5 mph over 50 is like paying an extra $0.30 per US gallon (a US price)Driving More Efficiently
Roof boxAbout 2% to 8% lower in town, 6% to 17% on the motorway, 10% to 25% at US Interstate speedsDriving More Efficiently
Extra weightAbout 1% lower per extra 100 pounds (45 kg)Driving More Efficiently
IdlingA quarter to a half US gallon (roughly 0.9 to 1.9 litres) of fuel per hour, depending on engine size and A/C useDriving More Efficiently
Cold weather, petrol car (-7°C / 20°F vs. 25°C / 77°F)Roughly 15% lower in town, up to 24% lower on short trips of 3-4 miles (5-6 km)Fuel Economy in Cold Weather
Cold weather, hybrid (-7°C / 20°F vs. 25°C / 77°F)About 30% to 34% lowerFuel Economy in Cold Weather

Figures as published by fueleconomy.gov, checked September 2026. The speed cost follows US fuel prices and changes over time.

How do you calculate MPG and fuel cost for a trip?

Calculating MPG for a trip usually means one of two things: figuring out how much fuel and money a trip will take before you leave, or measuring the MPG you actually got after the trip.

Before a trip, estimate fuel and cost: gallons needed = trip distance ÷ your MPG, litres needed = gallons × 4.546, and trip fuel cost = litres needed × price per litre. In one step, trip fuel cost = (trip miles ÷ MPG) × 4.546 × price per litre.

Example: a 450-mile road trip in a car that averages 45 MPG, with petrol at £1.38 per litre (an example price), needs 450 ÷ 45 = 10 gallons, which is 45.46 litres and costs 45.46 × £1.38 = about £62.73 one way. Use your own measured average MPG rather than the official figure, and knock a little off if the trip involves high motorway speeds, a roof box or a fully loaded car. For a round trip, double it.

After a trip, measure the MPG you got: fill up completely right before you leave and reset the trip meter. Fill up completely again when you get back, or at the last stop before home. Add up every litre you bought along the way, including the final fill, convert the total to gallons and divide the trip meter's miles by it. This is the same full-tank method, applied to one journey.

How do you calculate fuel cost per mile?

Cost per mile tells you what each mile of driving costs in fuel alone. To calculate it, turn the price per litre into a price per gallon and divide by your MPG: fuel cost per mile = price per litre × 4.546 ÷ MPG. At £1.38 per litre and 45 MPG, fuel costs 1.38 × 4.546 ÷ 45 = about 14p per mile.

You can also calculate it from your fill-up records over a period: add up everything you spent on fuel and divide by the miles driven. That version automatically reflects the real prices you paid.

Is fuel cost per mile the same as the IRS mileage rate?

No. The IRS standard mileage rate is an American tax figure, and it covers the full cost of operating a vehicle for business, including depreciation, insurance and maintenance, not just fuel. According to the Journal of Accountancy (July 2026), the IRS set the 2026 business rate at 72.5 US cents per mile for January through June and raised it to 76 cents per mile from 1 July 2026 (IRS Announcement 2026-11).

Your fuel-only cost per mile will be a fraction of that. If you drive for work in the US, what matters for the standard rate is an accurate log of business miles, not your MPG. This is general information, not tax advice.

How many miles is £20 of petrol?

Miles from a sum of money = (pounds ÷ price per litre) ÷ 4.546 × MPG. At £1.38 per litre, £20 buys about 14.49 litres, or 3.188 gallons. In a 45 MPG car, that is 3.188 gallons × 45 MPG ≈ 143 miles. Plug in your own price and your own average MPG for an accurate figure.

How do you convert MPG to L/100 km and km/L?

If you read a European review, or your car displays metric units, these conversions help: L/100 km = 282.48 ÷ MPG (UK), km/L = MPG (UK) × 0.354, and MPG (US) = MPG (UK) × 0.833. Starting from US MPG, as in an American review, L/100 km = 235.215 ÷ MPG (US).

Imperial gallons are larger than US gallons (about 4.55 litres versus 3.79 litres), so the same car shows a higher MPG figure in the UK than in an American review.

The L/100 km column shows something the MPG column hides. Going from 30 to 40 MPG saves about 2.4 litres every 100 km, but going from 60 to 70 MPG saves only about 0.7 litres. Edmunds makes the same point: improving a thirsty vehicle saves more fuel than improving an already efficient one.

Imperial MPG converted to L/100 km, km/L and US MPG
MPG (UK)L/100 kmkm/LMPG (US)
309.410.625.0
407.114.233.3
505.617.741.6
604.721.250.0
704.024.858.3

What mistakes make MPG calculations wrong?

Check these before you trust an MPG figure. Each one produces a number that looks plausible and is wrong.

  • Starting or ending on a partial fill. Both ends of the interval must be full tanks.
  • Topping off. Stop at the first click so every fill ends at roughly the same level.
  • Using the wrong litres. Use the litres from the fill at the end of the interval, plus any partial fills in between.
  • Forgetting a fill-up. One missing entry makes the interval impossible to compute. Discard it and restart.
  • Averaging MPG figures instead of totals. Divide total miles by total gallons.
  • Judging from one short tank. Use at least three full tanks before drawing conclusions.
  • Mixing units. US and imperial gallons are different sizes, so an American MPG figure is not comparable with a British one; litres and gallons don't mix.
  • Comparing winter numbers to summer numbers. Cold weather alone costs a petrol car roughly 15% in town driving, according to fueleconomy.gov.

Should you track MPG by hand or with an app?

Pen and paper work: a notebook in the glovebox with the date, odometer, litres and price for every fill-up is enough for every formula on this page. A spreadsheet adds automatic totals and charts.

The weak point of any manual log is the set of rules above. It's easy to forget one fill-up, compute a partial fill by mistake, or average the averages. An app built for fuel logging can apply those rules for you.

WrenchTime, an iOS app for tracking vehicle maintenance, fuel and EV charging logs, trips and running costs for cars and motorcycles, handles this with a few specific features: you mark each fill-up as a full tank or not, so consumption is computed tank to tank; you flag a missed fill-up, so that interval is excluded instead of producing an impossible figure; and it alerts you when your economy drops meaningfully against your own history. It shows efficiency in MPG (imperial or US), km/L or L/100 km, charts fuel cost per distance over time, and estimates per-trip fuel consumption from the fill-ups on either side of a recorded drive. The fuel economy tracker guide covers the details, and automatic mileage tracking records the distance side of the equation.

Your fuel log is also part of your car's history. A consistent record of fill-ups sits naturally alongside the service documents covered in our guide to which car maintenance records to keep, and a sudden MPG drop is often the first hint that something in that service history is overdue.

Key takeaways: how to calculate MPG

The whole method, and the rules that keep it honest, in seven lines.

  • MPG = miles driven ÷ gallons used, measured between two full tanks; at UK pumps, gallons = litres ÷ 4.546.
  • Average correctly: total miles ÷ total gallons over at least three tanks, never the average of individual MPG figures.
  • Partial fills are fine as long as you add their litres into the next full-tank calculation; a missed fill-up invalidates that interval.
  • Dashboard MPG is an estimate and tends to read high; the official WLTP figure is a lab-based comparison figure.
  • Driving style and weather matter: aggressive driving can cut MPG by 15% to 40%, and cold weather by roughly 15% in town, per fueleconomy.gov.
  • Trip cost = (miles ÷ MPG) × 4.546 × price per litre, and fuel cost per mile = price per litre × 4.546 ÷ MPG.
  • L/100 km = 282.48 ÷ MPG (UK). For US MPG, divide 235.215 instead.

Track your MPG without the maths

If you'd rather log a fill-up in a few seconds and let the app handle full tanks, missed fill-ups and averages, download WrenchTime on the App Store. The free version covers 1 vehicle with 3 fuel entries per month, and WrenchTime Pro removes those limits with unlimited vehicles and entries. The fuel economy tracker guide shows exactly how it computes your MPG.

Frequently asked questions

What is the formula for calculating MPG?

Divide the miles driven since your last full tank by the gallons it took to refill the tank. MPG = miles driven ÷ gallons used, and at UK pumps gallons = litres ÷ 4.546. For example, 450 miles on 45.46 litres, which is 10 gallons, is 45 MPG.

How many tanks should I use to calculate my real MPG?

Use at least three full tanks and divide total miles by total gallons. A single tank can be skewed by one long motorway trip, a cold week or an inconsistent pump shutoff.

Is the MPG shown on my dashboard accurate?

It is a useful estimate, but it is often somewhat optimistic because the car calculates fuel use from engine data rather than measuring it. Fill-up calculations based on the litres pumped are more accurate.

How do I calculate fuel cost for a trip?

Divide the trip distance by your average MPG to get gallons needed, multiply by 4.546 to get litres, then multiply by the price per litre. A 450-mile trip at 45 MPG and £1.38 per litre costs about £62.73 in fuel.

How do I convert MPG to L/100 km?

Divide 282.48 by the imperial MPG figure. For example, 45 MPG equals about 6.3 L/100 km. For US MPG, as quoted in American reviews, divide 235.215 by the MPG figure instead: 25 US MPG is about 9.4 L/100 km.

WrenchTime app icon, orange engine and wrench

Made for people who would rather know than guess.

Free to download. One vehicle, real features, no ads. Your garage will thank you.

Download WrenchTime on the App Store