MPG Calculator Formula: Measured the Right Way

If you want a straight answer on mpg calculator formula, start with the maths, not a guess. This page works through the formula step by step, runs a worked example with the assumptions stated in full, and gives you a table you can read your own numbers off. Everything here uses the same definitions throughout, so the figures in the table match the figures in the example.

The short version is that mpg calculator formula comes down to two measurements you can take yourself: how far you drove, and how much fuel you used. Get those two right and the rest is arithmetic. Get either one wrong — a half-full tank, a trip meter that was never reset, a gallon confused with a litre — and the answer is meaningless, however carefully you divide.

The formula — mpg calculator formula

Start with MPG = miles driven ÷ gallons used, and keep the units consistent. If you measure distance in miles and fuel in US gallons, the answer is US MPG. If you measure fuel in litres, convert first: divide litres by 3.785 to get US gallons, or by 4.546 to get imperial gallons, and say which one you used. In the example on this page, 400 miles on 10.0 gallons works out at 40 MPG, which is 5.88 L/100km (US) or 7.06 L/100km (UK). The same car on the same journeys will give a slightly different figure every tank, because traffic, temperature and driving style all move the result. That variation is normal, and it is why averaging several tanks matters more than chasing a single impressive number.

Worked example — mpg calculator formula

Suppose the car is used for a month of mixed driving. The trip meter reads 400 miles between fills, and the second fill takes 10.0 gallons. MPG = 400 ÷ 10.0 = 40 MPG. In metric terms that is 5.88 L/100km (US gallon) or 7.06 L/100km (UK imperial gallon). At an example fuel price of $3.85 per gallon, the fuel for that 400-mile stretch costs (400 ÷ 40) × $3.85 = $38.50, which is $0.10 per mile. That per-mile figure is the one worth remembering, because it turns any future journey into a cost: multiply the miles by $0.10 and you have the fuel bill for that trip at this example price. If your next tank gives a different MPG, do not be surprised — one tank is a sample, not a verdict. Log three or four tanks, add all the miles together, add all the gallons together, and divide the totals: that averaged figure is the one to trust.

MPG and fuel cost at a glance — mpg calculator formula

The first table converts common MPG figures to litres per 100 km in both gallon types. That is the point to carry into mpg calculator formula: the method is the same, but the numbers are yours, so the example here is only a starting point. The second turns the example economy of 40 MPG into fuel costs at three example prices across three distances — replace the example price with the one you pay and the maths is identical.

MPG L/100km (US gallon) L/100km (UK imperial gallon)
20 11.76 14.12
25 9.41 11.30
30 7.84 9.42
35 6.72 8.07
40 5.88 7.06
45 5.23 6.28
50 4.70 5.65
Distance $3.45/gal $3.85/gal $4.25/gal
100 miles $8.62 $9.62 $10.62
250 miles $21.56 $24.06 $26.56
500 miles $43.12 $48.12 $53.12

What changes the answer — mpg calculator formula

Your MPG is set by the car, the journey and the driver together. Read the figures on this page about mpg calculator formula as a worked illustration, and swap in your own miles, gallons and price to get your own answer. The car's contribution is its engine, weight and aerodynamics; the journey's is the mix of town and motorway, the hills and the weather; the driver's is speed, smoothness and anticipation. Change any one and the figure moves, which is why the same model can return very different numbers for different owners without anything being wrong. The practical consequence is that comparisons need care: compare your car with itself over time, on similar journeys, and treat a change in the averaged figure as the signal worth investigating — a slow decline often points to tyre pressures, a sticking brake or a change in journey mix before it points to a fault.

Common mistakes — mpg calculator formula

The most common mistake is mixing gallons: US and imperial gallons differ by about 20 percent, so a figure converted with the wrong gallon is wrong by the same margin. That is the point to carry into mpg calculator formula: the method is the same, but the numbers are yours, so the example here is only a starting point. Next is trusting a single tank — one short fill or one unusual journey can tilt it badly — instead of averaging several. Third is reading the trip meter without resetting it at the fill, which mixes miles from before the fill into the calculation. Fourth is using the tank's capacity instead of the gallons actually pumped; the capacity is not the amount you used. And fifth is comparing a dashboard figure with a brim-to-brim figure as if they were the same measurement: the dashboard estimates from the engine's data, the brim-to-brim method measures what actually went in, and they disagree by a few percent in either direction.

Related calculations — mpg calculator formula

If this page answered your question, these pages take the next step — the same method applied to a closely related question, or the calculator that does the arithmetic for you. Read the figures on this page about mpg calculator formula as a worked illustration, and swap in your own miles, gallons and price to get your own answer.

Putting your mpg calculator formula figure to work

Putting the figure to work is where the method pays off. Read the figures on this page about mpg calculator formula as a worked illustration, and swap in your own miles, gallons and price to get your own answer. Once you know your own MPG, measured brim-to-brim over several tanks, you can price any journey before you set off: multiply the miles by the fuel price divided by your MPG, and the answer is the fuel cost of that trip at that example price. You can also compare cars honestly, because you are comparing measured figures rather than brochure claims. Keep a simple log — date, miles, gallons, price — and review it monthly. Patterns show up quickly: a winter dip, a motorway improvement, a slow decline that points to tyre pressures or a change in routes. The log turns a vague feeling about fuel use into a number you can act on, and that is the whole point of measuring in the first place.

Using your mpg calculator formula figure day to day

A useful habit is to record the figure alongside the conditions. For mpg calculator formula, the same reasoning applies — measure brim-to-brim, average several tanks, and use your own figures rather than a quoted one. Note the kind of driving each tank covered — mostly town, mostly motorway, or a mix — and the season, because both move the result enough to matter. A tank that looks disappointing after a week of short cold trips is not a problem with the car; it is a problem with the comparison. Compare motorway tanks with motorway tanks and winter with winter, and the averaged figure becomes a reliable baseline. Once you have that baseline, a genuine change stands out: a sudden drop after nothing else changed is worth a look at tyre pressures, a roof box left fitted, or a brake that is dragging. The measurement is simple; the discipline of recording it is what makes it useful.

Frequently asked questions

What is a good MPG figure?

It depends on the car and how it is used. Read the figures on this page about mpg calculator formula as a worked illustration, and swap in your own miles, gallons and price to get your own answer. A small petrol car on mixed driving, a large SUV and a diesel on motorways all have different sensible ranges, so a single number cannot judge them all. The useful comparison is your car against itself: measure brim-to-brim over several tanks and see whether the averaged figure is stable on similar journeys.

How do I calculate MPG from litres?

Divide the litres by 3.785 to get US gallons or by 4.546 to get imperial gallons, then divide the miles driven by that gallon figure. For mpg calculator formula, the same reasoning applies — measure brim-to-brim, average several tanks, and use your own figures rather than a quoted one. Say which gallon you used, because the two give MPG figures about 20 percent apart.

Why is my MPG lower than the dashboard says?

The dashboard estimates from engine data and recent driving, while the brim-to-brim method measures the fuel that actually went into the tank. For mpg calculator formula, the same reasoning applies — measure brim-to-brim, average several tanks, and use your own figures rather than a quoted one. They commonly disagree by a few percent in either direction. Trust the brim-to-brim average over several tanks for planning and expenses.

How many tanks should I average for a reliable MPG?

Three or four tanks is a good minimum. Read the figures on this page about mpg calculator formula as a worked illustration, and swap in your own miles, gallons and price to get your own answer. One tank is noisy — a pump clicking off early or one unusual journey can tilt it — while averaging the totals over several tanks smooths those effects out and gives a figure you can rely on.

Does driving slower always improve MPG?

Up to a point. For mpg calculator formula, the same reasoning applies — measure brim-to-brim, average several tanks, and use your own figures rather than a quoted one. Very slow driving in low gears is inefficient, and very fast driving wastes fuel on aerodynamic drag. Most cars are at their most economical at a steady moderate cruise, with smooth acceleration and as little braking as possible. The exact sweet spot varies by car.