CCalcNest AI

Miles Per Gallon Calculator

Fuel economy.

1 mi2,000 mi
Enter values above — results appear instantly as you type.
AI Insight: Real-world MPG runs 10-30% below the EPA sticker, and the gap is widest in cold weather and city driving. Track several full tanks for your true number — a single fill-up is too noisy to trust.
Notice: This calculator is for general information and education only. Results are estimates based on standard formulas and the values you enter, and may not suit your specific situation. Verify anything important independently before relying on it. See our full disclaimer.
Written with AI assistance and checked by automated validation · Last updated: August 2026 · How we build and check this · Methodology
Looking for a different calculator? Try our AI Finder — describe what you need in plain English. Try AI Finder →

Formula

MPG = Miles/Gallons

Example

300 mi / 10 gal = 30 MPG.

Embed this calculator on your site

Add this free calculator to your own website with one line of code. The embedded version is responsive, ad-free, and includes a small attribution link back to CalcNest AI.

<iframe src="https://calcnestai.com/embed/miles-per-gallon-calculator.html" width="100%" height="700" frameborder="0" style="border: 1px solid #e5e5e5; border-radius: 12px; max-width: 720px;" loading="lazy" title="Miles Per Gallon Calculator — Free Tool by CalcNest AI"></iframe>

Understanding the Miles Per Gallon Calculator

A fuel economy calculator divides distance by fuel used and converts between the three systems in common use. Getting a reliable figure depends less on the arithmetic than on how the measurement was taken, and the tank-to-tank method is the only one that gives a trustworthy answer.

How it actually works

Enter distance travelled and fuel consumed. The calculator divides one by the other for miles per gallon, then converts to litres per 100 kilometres and kilometres per litre. Three hundred miles on 12 gallons gives 25 mpg, 9.4 L/100km, and 10.6 km/L.

The three conventions
MeasureDirectionUsed in
Miles per gallon (US)Higher is betterUnited States
Miles per gallon (imperial)Higher is betterUnited Kingdom
Litres per 100 kmLower is betterMost of Europe
Kilometres per litreHigher is betterJapan, India, others

The deeper context most people miss

The imperial gallon is about 20% larger than the US gallon, so a car achieving 30 US mpg achieves roughly 36 imperial mpg for identical consumption. This single difference makes cross-Atlantic comparisons of fuel economy misleading unless the gallon is specified, and it frequently is not.

Why measurement method matters more than arithmetic

A single tank measurement carries substantial error, and the sources are worth knowing. Fill level is the main one: how full a tank actually gets depends on the pump's automatic cutoff, the vehicle's angle on the forecourt, temperature, and whether you top up after the click, and a difference of a litre or two between two fills translates directly into an error in the calculation. The fix is to fill to the first automatic cutoff every time, at the same pump if possible, and never to top up, which makes the fill level consistent even if it is not maximal. Odometer accuracy is another, with vehicle odometers commonly reading slightly high, typically by a small percentage, which makes calculated economy slightly optimistic. Trip conditions vary enormously between tanks, so a tank consumed mostly on a motorway will show very different economy from one consumed in town, and comparing two tanks of different composition tells you about the driving rather than the vehicle. The response to all of this is to average across several tanks, which smooths fill variation and mixes driving conditions, and to record the numbers rather than relying on memory. A simple log of odometer reading and litres or gallons at each fill, kept over months, gives a genuinely useful picture and reveals changes over time that a single measurement cannot, including the gradual deterioration that indicates a maintenance issue developing.

A worked example: converting between systems

Twenty-five miles per gallon converts to 9.4 litres per 100 kilometres via the constant 235.215 divided by the mpg figure, and to 10.6 kilometres per litre. The relationship between the first two is reciprocal, which produces the counterintuitive effect discussed widely as the MPG illusion: equal improvements in miles per gallon do not represent equal fuel savings. Going from 15 to 20 mpg saves considerably more fuel over a given distance than going from 40 to 45, despite both being a five mpg gain, because fuel consumed is distance divided by economy. Over 10,000 miles, the first change saves about 167 gallons and the second about 28. Litres per 100 kilometres avoids this entirely by being linear in consumption, which is one reason most of the world uses it and why the US EPA added gallons per 100 miles to fuel economy labels alongside mpg. The practical implication is for decisions: replacing an inefficient vehicle with a moderately better one saves more fuel than replacing an efficient one with an excellent one, which runs against the intuition that upgrading a good car to a great one is the bigger win. It also means that in a two-car household, improving the thirstier vehicle matters more, and that fleet policies expressed in mpg terms weight improvements at the efficient end more heavily than the fuel savings justify.

Deciding what a change in economy means

A drop in fuel economy is one of the more useful diagnostic signals a car gives, and interpreting it requires a baseline, which is why keeping a log matters. Gradual decline over years is normal to a degree. A sudden drop of 10% or more with no change in driving pattern warrants attention, and the common causes are worth knowing. Underinflated tyres are the first thing to check and the easiest to fix. A dragging brake caliper causes a persistent drag and frequently produces a warm wheel that can be felt after a drive. A failing oxygen sensor causes the engine to run rich and is a common cause, often without triggering a warning light initially. A clogged air filter restricts intake. Fuel injector problems affect atomisation. Thermostat failure keeping the engine cool means it runs rich continuously, which is a classic cause of a persistent economy drop with no other symptom. Wheel alignment issues increase rolling resistance. Beyond mechanical causes, seasonal variation is substantial and expected, so comparing a winter tank against a summer one will show a difference that is not a fault. Roof accessories and load changes matter. And a change in who drives the car, or in the balance of urban and motorway use, explains many apparent problems that are not problems at all.

Why rated figures and real figures diverge

Official economy figures come from standardised laboratory test cycles rather than road driving, and every jurisdiction's figures reflect the assumptions in its test. The European NEDC cycle used until recently was widely criticised as unrepresentative, using gentle accelerations, low speeds, and permitting optimisations that had little relation to road use, and the gap between NEDC figures and real consumption widened substantially over the years it was in force. WLTP replaced it with more realistic speeds, accelerations, and durations, producing figures closer to reality though still generally optimistic. US EPA figures have been adjusted several times and are generally regarded as closer to achievable than European figures were. Real consumption then depends on things no test captures: individual driving style varies enormously, short trips where the engine never warms up consume substantially more per mile, ambient temperature affects economy through several mechanisms, traffic and terrain matter, and load and accessories change drag and mass. The diesel emissions scandal that emerged in 2015 concerned emissions testing rather than economy figures directly, and it prompted broader scrutiny of type approval testing that contributed to the move to WLTP. The practical position is that rated figures are useful for comparing vehicles against each other, since all were tested the same way, and poor predictors of what any individual driver will achieve.

Variations: units, fuel types, and electric equivalents

Three conventions dominate and mixing them causes real errors. US miles per gallon uses a gallon of 3.785 litres. Imperial miles per gallon uses 4.546 litres, making the same consumption look about 20% better. Litres per 100 kilometres is the reciprocal form used across most of Europe, where lower is better and comparisons are linear in fuel used. Kilometres per litre is used in Japan, India, and elsewhere. Converting between US mpg and litres per 100 kilometres uses 235.215 divided by the mpg figure, and between imperial mpg and the same metric uses 282.481. Diesel contains more energy per litre than petrol, so diesel vehicles show better volumetric economy partly for that reason independently of engine efficiency, and comparing fuels on cost per mile rather than economy accounts for it. For electric vehicles, consumption is expressed as miles per kilowatt-hour or kilowatt-hours per 100 kilometres, and the MPGe figure on US labels converts electricity to a petrol-equivalent energy basis, which compares efficiency usefully and running cost misleadingly since the price per unit of energy differs enormously between electricity and fuel.

Measuring fuel economy accurately

Use the tank-to-tank method, filling to the first automatic cutoff, recording the odometer, driving normally, refilling to the first cutoff, and dividing distance by fuel added. Never top up after the click, since inconsistent fill level is the largest source of error in single-tank measurements. Average across several tanks, which smooths fill variation and mixes driving conditions into something representative. Keep a log of odometer and fuel at each fill, which reveals gradual changes that a single measurement cannot and provides the baseline needed to spot a problem. Specify which gallon when comparing figures, since imperial is about 20% larger than US and the difference makes cross-border comparisons meaningless. Use litres per 100 kilometres or gallons per 100 miles when comparing vehicles, since miles per gallon distorts the relationship between improvement and actual fuel saved. Expect seasonal variation rather than treating it as a fault. And investigate a sudden 10% drop, checking tyre pressure first and then considering a dragging brake, failing oxygen sensor, or stuck thermostat.

What people get wrong

  • Calculating from a single tank, when inconsistent fill level between two stops introduces error larger than the differences people are trying to detect.
  • Topping up after the pump clicks off, which makes fill level inconsistent between measurements and is the main reason single-tank figures vary.
  • Comparing US and imperial miles per gallon without converting, when the imperial gallon is about 20% larger and makes identical consumption look substantially better.
  • Judging improvements by miles per gallon, when the reciprocal relationship means a five mpg gain at 15 saves roughly six times the fuel of the same gain at 40.

Where the math comes from

Miles Per Gallon = Distance / Fuel Used. Litres per 100 km = 235.215 / MPG for US gallons, or 282.481 / MPG for imperial gallons. Kilometres per litre = MPG × 0.425 for US gallons. Because fuel consumed is distance divided by economy, miles per gallon has a reciprocal relationship with fuel use, so equal mpg improvements do not represent equal fuel savings.

Questions and answers

How accurate is this?

As accurate as your inputs. Real-world deviations come from estimation error in the inputs, not the math.

What units does the calculator expect?

Read the input labels carefully - most calculators specify expected units. Mixing systems produces wrong answers.

Should I trust the result blindly?

Sanity-check against rough mental math. If the calculator says something obviously off, recheck inputs first.

Can I save the result?

Use the share buttons at the bottom of each calculator to copy a link or share via your preferred channel.

How often is this updated?

Calculators are reviewed at least annually; rapidly changing topics (tax rates, AI prices) more often.

How do I measure fuel economy accurately?

Fill to the first automatic cutoff, record the odometer, drive normally, then refill to the first cutoff and divide distance by fuel added. Never top up after the click, since inconsistent fill level is the largest error source. Average across several tanks for a representative figure.

Why do UK and US mpg figures differ?

Because the imperial gallon is about 20% larger than the US gallon. A car achieving 30 US mpg achieves roughly 36 imperial mpg for identical consumption, so comparing the two without converting substantially misrepresents one of them.

Why does litres per 100 km behave differently?

Because it measures fuel per distance rather than distance per fuel, making it linear in consumption. Miles per gallon is a reciprocal measure, which is why equal mpg improvements represent very different fuel savings depending on where you start.

Why is my economy worse than the rated figure?

Rated figures come from standardised laboratory cycles, and older European NEDC figures in particular were widely criticised as unrepresentative. Real consumption depends on driving style, short trips where the engine stays cold, temperature, traffic, terrain, and load, none of which the test captures.

My economy suddenly dropped. What should I check?

Tyre pressure first, since underinflation is common and free to fix. Then consider a dragging brake caliper, which often leaves a wheel warm after driving, a failing oxygen sensor causing a rich mixture, a clogged air filter, or a stuck thermostat keeping the engine cool.

Is seasonal variation normal?

Yes, and it's substantial. Winter reduces economy through denser air, winter fuel blends with slightly less energy, cold oil and transmission fluid increasing friction, electrical loads from heated seats and screens, and short trips where the engine never reaches operating temperature.

Can I compare diesel and petrol economy directly?

Not fairly on volume alone, since diesel contains more energy per litre and will show better volumetric economy partly for that reason independently of engine efficiency. Comparing cost per mile at current fuel prices accounts for both the economy and the price difference.

Related calculators

Window Replacement · Litter Box Cleaning · Brick Count · WiFi Speed Test Interpreter · Plant Watering Schedule