Audited ·Last updated 27 Jul 2026·6 citations·Tier 1·0 uses

MPG Calculator

Free MPG calculator. Convert miles and gallons into US MPG, UK MPG, km/L, and L/100km. Built on NIST-exact conversion factors.

MPG Calculator

Miles or kilometres covered since the last full tank. Use a fill-to-fill measurement (see the steps below) for the cleanest result.
mi
Distance unit
Volume of fuel added at the second fill-up — the amount it took to top the tank back to the same mark. Pick the unit below to match the pump receipt.
gal
Fuel unit
US MPG
25
Miles per US gallon — the unit on every EPA window sticker and the figure CAFE standards are written against. This is the headline metric for US drivers.
Kilometres per litre
10.6286 km/L
Litres per 100 km
9.4086 L/100km
UK MPG (imperial)
30.0237 mpg UK
Gallons per 100 miles
4 gal/100mi

Background.

This MPG calculator turns a fill-to-fill distance and a fuel volume into every fuel-economy unit a driver might be asked for: US miles per gallon, UK (imperial) miles per gallon, kilometres per litre, litres per 100 km, and US gallons per 100 miles. The arithmetic is one division — distance divided by fuel — but the unit story is where most people get tripped up. The US gallon (3.785411784 L, fixed exactly by NIST SP 811) and the UK (imperial) gallon (4.54609 L, fixed exactly by the UK Weights and Measures Act 1985) are not the same volume; the imperial gallon is roughly 20% larger, which means a car advertised at 50 mpg in a British magazine is actually delivering about 41 mpg by the US definition, with no change in real-world efficiency. That single mismatch is responsible for more confused new-car buyers than any other number on the window sticker.

The EU and most of the rest of the world side-step the gallon problem entirely by publishing fuel economy in litres per 100 km (L/100km) — a 'consumption' unit rather than an 'economy' unit, where lower is better. The EU prefers L/100km for a reason that matters here: it is linear in fuel cost. Doubling the L/100km figure doubles your fuel bill and doubles your CO2 emissions. MPG, by contrast, is a reciprocal unit, which produces the well-documented 'MPG illusion' (Larrick and Soll, Science, 2008): consumers consistently overvalue a 10-mpg jump at the top of the scale (40 → 50 mpg) and undervalue the same 10-mpg jump at the bottom (15 → 25 mpg), even though the second case saves more than three times as much fuel and CO2 over the same distance.

That finding is the reason the EPA added 'gallons per 100 miles' as a co-equal metric on the redesigned 2013 window sticker, and it is why this calculator outputs every standard unit side by side — so you can read the one that maps to the question you are actually trying to answer (how much fuel will I burn this year, how much will it cost, how does it compare to the car on the next lot, how does it compare to the rating my friend in London just quoted).

The conversion math itself is anchored on three exact constants: 1 mile = 1.609344 km (NIST SP 811, by international yard-and-pound agreement of 1959), 1 US gallon = 3.785411784 L (NIST SP 811), and 1 UK gallon = 4.54609 L (UK statute). Every output is computed in Decimal arithmetic from those exact factors — no float drift, no rounding-induced disagreement between the US MPG and the L/100km figures.

Below the calculator you will find sections on the MPG illusion (and why the EPA fixed it with gallons-per-100-miles), how CAFE standards translate to a fleet-average MPG target (54.5 mpg by 2026 in the original Obama-era rule, with subsequent NHTSA revisions), why hybrid combined MPG is the number that actually matters for cost-of-ownership math (and why the city/highway split flips for hybrids vs conventional cars), how the EPA's MPGe figure converts kWh of electricity into an MPG-equivalent for EVs (the 33.7 kWh-per-gallon energy reference), and the well-documented gap between EPA-rated and real-world fuel economy in cold weather, on short trips, and at sustained highway speeds above the EPA test cycle's 48 mph average. The goal is the same as the EPA window sticker's: give you a number you can plug into a budget or a CO2 estimate without first having to recompute the units in your head.

What is mpg calculator?

MPG — miles per gallon — is the ratio of distance driven to fuel consumed, the unit the United States has used to rate vehicle fuel economy since the EPA began publishing window-sticker ratings under the Energy Policy and Conservation Act of 1975. A car that travels 300 miles on 12 US gallons of gasoline has an MPG of 25. The reciprocal is L/100km, the unit used by the EU, Canada, Australia, and most of the rest of the world: a car that consumes 12 litres of fuel over 100 km has a rating of 12 L/100km (and an equivalent US MPG of about 19.6). Mathematically MPG and L/100km are inverses — MPG × L/100km ≈ 235.215 — and that inverse relationship is the entire reason the EPA added gallons-per-100-miles to the window sticker in 2013: it makes fuel savings track linearly with the rating change, where the raw MPG number does not. CAFE — Corporate Average Fuel Economy — is the regulatory programme NHTSA administers that requires each manufacturer's new-vehicle fleet to meet a sales-weighted MPG floor; CAFE has been the principal driver of US fuel-economy improvement since 1978, when the original passenger-car standard of 18 mpg took effect. UK and EU window-sticker MPG figures, when they appear, are measured against the imperial gallon (4.54609 L), which is about 20% larger than the US gallon, so a British 'mpg' figure is roughly 20% higher than the US figure for the same car burning the same amount of fuel over the same distance. None of these ratings is a measurement of how efficiently your car turns chemical energy into motion — that is thermodynamic efficiency, measured in percent — they are simply distance-per-fuel ratios, useful precisely because distance and fuel are the two numbers a driver can actually observe at the pump.

How to use this calculator.

  1. Fill the tank completely at the first stop. Click the pump off, wait a few seconds for the fuel to settle, and top up gently until the auto-shutoff trips a second time. Reset the trip odometer to zero. This is the start of your fill-to-fill measurement window.
  2. Drive normally for at least one full tank — ideally two — so that variation in starting fuel level averages out. Long single-tank measurements (mixed city and highway) match the EPA combined rating most closely.
  3. Refuel at the same pump (or at least the same pump model) using the same shutoff technique. The number on the pump display when it auto-stops is your fuel consumed, in gallons or litres. Record the trip-odometer reading before resetting it — that is your distance driven.
  4. Enter the distance and select its unit (miles for US or UK drivers, kilometres for metric). Enter the fuel volume and select the matching unit — US gallons for a US pump, UK gallons for a UK pump, or litres if your receipt is metric.
  5. Read the five outputs side by side. US MPG is the headline figure for an American window-sticker comparison. L/100km is the one to plug into a fuel-cost or CO2 estimate (because it is linear). UK MPG is the figure to use when comparing against British magazine reviews — and the gap from US MPG to UK MPG should be roughly 20%, confirming the calculator is reading the units correctly.
  6. For trend tracking, log the result for every tank in a spreadsheet. The single-tank figure is noisy (weather, traffic, terrain, fuel batch), but the rolling 10-tank average is the cleanest real-world rating you will get without dyno equipment — and it is the number to compare against the EPA combined rating, not the highway-only figure.

The formula.

MPG = mi ⁄ gal ; L/100km = 235.215 ⁄ MPG

The core relationship is:

US MPG = distance (mi) / fuel (US gal)

From the US MPG figure every other standard unit is one exact conversion away. Using the NIST SP 811 (2008 ed.) constants — 1 mile = 1.609344 km exactly, 1 US gallon = 3.785411784 L exactly — the canonical conversions are:

L/100km = 235.214583 / US MPG km/L = US MPG × 1.609344 / 3.785411784 = US MPG × 0.4251437 UK MPG = US MPG × (4.54609 / 3.785411784) = US MPG × 1.20095 gal/100mi = 100 / US MPG

The constant 235.214583 in the L/100km conversion is not magic — it is (3.785411784 L/gal × 100) / 1.609344 km/mi, the exact product of the two NIST constants. The 1.20095 ratio between UK and US MPG is the same imperial-to-US gallon ratio (4.54609 / 3.785411784), fixed by UK statute and NIST. The calculator's engine does the math internally in Decimal arithmetic to avoid float drift, but a desk-calculator estimate from these formulas will match the on-screen figure to four significant digits in every case. The reverse direction — going from L/100km to MPG — is the EU's preferred frame, because L/100km is linear in fuel cost and CO2: doubling the L/100km figure doubles your fuel bill. MPG is reciprocal, which is why two cars rated five mpg apart at the bottom of the scale (15 vs 20 mpg) differ in actual fuel consumption by three times more than two cars rated five mpg apart at the top (40 vs 45 mpg) — the well-documented MPG illusion. The L/100km frame removes that illusion entirely; the gallons-per-100-miles output on this calculator is the US equivalent of the same fix.

A worked example.

Example

You drive 300 miles between fill-ups and the pump shuts off after adding 12 US gallons. Dividing 300 by 12 gives 25 US MPG — the headline figure, and almost exactly the EPA combined rating for a mid-size sedan like a 2025 Honda Accord or Toyota Camry. The calculator then converts that 25 mpg into every other standard unit using the exact NIST factors. Litres per 100 km comes out to 235.214583 / 25 = 9.41 L/100km — the figure you would see on the EU window sticker for the same car. Kilometres per litre comes out to 25 × 0.4251437 = 10.63 km/L — the figure used in Japan, India, and Kenya. UK (imperial) MPG comes out to 25 × 1.20095 = 30.02 mpg UK, because the imperial gallon is about 20% larger than the US gallon and the same fuel goes 20% further when you measure it that way. US gallons per 100 miles comes out to 100 / 25 = 4 gal/100mi — the EPA's secondary metric that lets you reason linearly about fuel cost (at a $3.75/gal pump price, this car burns $15 of fuel per 100 miles, full stop, no MPG-illusion gymnastics required). The single 25-mpg headline is what most drivers quote in conversation, but for budgeting a road trip, comparing two cars at a dealership, or estimating CO2 emissions, the L/100km figure (9.41) and the gal/100mi figure (4.00) are the ones that scale the way your wallet and the atmosphere actually scale.

distance Unitmi
distance300
fuel12
fuel Unitgal-us

Frequently asked questions.

What is the difference between a US gallon and a UK (imperial) gallon?
A US gallon is 3.785411784 litres exactly (NIST SP 811); a UK imperial gallon is 4.54609 litres exactly (UK Weights and Measures Act 1985). The imperial gallon is roughly 20.095% larger than the US gallon. For fuel economy that means a car burning the same amount of fuel over the same distance will be rated about 20% higher in UK MPG than in US MPG — a Honda Civic rated at 36 mpg combined on the EPA window sticker is roughly 43 mpg in UK terms, with no change in real-world efficiency. The reason is purely historical: the US adopted the Queen Anne wine gallon in 1707 (231 cubic inches), and the UK redefined its gallon in 1824 to equal the volume of 10 pounds of water at 62°F. Both definitions persist in their respective statutes. When you read a British car magazine quoting MPG figures, multiply by 0.833 to get the US-equivalent MPG.
What is the 'MPG illusion' and why does it matter?
The MPG illusion is the well-documented finding (Larrick and Soll, 'The MPG Illusion', Science vol. 320, p. 1593, 2008) that consumers consistently misjudge the fuel savings from MPG improvements because the unit is reciprocal rather than linear. People generally believe that upgrading from a 34-mpg car to a 50-mpg car saves more fuel than upgrading from a 18-mpg car to a 28-mpg car, when the second upgrade actually saves nearly twice as much fuel over the same distance. Over 10,000 miles: 18 → 28 mpg saves 198 gallons; 34 → 50 mpg saves only 94 gallons. The illusion arises because MPG = miles / gallons, and equal absolute increases in MPG do not correspond to equal absolute reductions in fuel consumption. The fix is to express fuel economy as gallons per 100 miles (or L/100km), which is linear in fuel use and cost. The EPA adopted gallons-per-100-miles as a co-equal metric on the redesigned 2013 window sticker in direct response to this research, and it is one of the standard outputs on this calculator.
How do I convert an EV's MPGe rating to a real cost per mile?
MPGe — miles per gallon equivalent — is the EPA's adapter for plugging EVs into the MPG framework drivers already understand. The conversion uses an energy reference: 33.7 kilowatt-hours of electricity contains the same chemical energy as one US gallon of gasoline. So a Tesla Model 3 rated at 132 MPGe combined is really consuming 33.7 / 132 = 0.255 kWh per mile, or 25.5 kWh per 100 miles. To convert that to a cost, multiply by your electricity rate: at the US residential average of about $0.16/kWh (EIA, 2025), 0.255 kWh × $0.16 = $0.041 per mile, compared to about $0.13 per mile for a 28-mpg gasoline car at $3.75/gal. MPGe is useful for cross-shopping fuel-economy ratings on a single axis, but for actual cost-of-ownership math you want kWh per mile times your electricity rate — full stop. MPGe overstates the cost advantage of EVs in regions with expensive electricity (Hawaii, California) and understates it in regions with cheap electricity (the Pacific Northwest).
Why does the EPA combined MPG figure matter more than city or highway for hybrids?
For a conventional gasoline car, the EPA highway figure is usually higher than the city figure — the engine runs at a steadier, more efficient load on the highway. For a hybrid, the relationship often flips: the Toyota Prius, for example, is rated 57 mpg city and 56 mpg highway, because regenerative braking actually helps the city-cycle figure while sustained highway driving runs the gasoline engine more continuously. The combined figure (an EPA-weighted average of 55% city + 45% highway) is the single number that most closely tracks real-world annual fuel use for a typical commuting driver, and it is the figure to plug into a five-year cost-of-ownership comparison. Picking a hybrid based on highway MPG alone — or a conventional car based on city MPG alone — biases the comparison in a way the EPA combined rating is specifically designed to prevent.
Why does my real-world MPG drop so much in cold weather and on short trips?
Two effects compound. First, an internal-combustion engine is most efficient when its coolant and oil are at full operating temperature (around 90°C / 195°F); from a cold start it takes several miles to get there, and during the warm-up phase fuel mixture is richer (more fuel per unit air), catalytic converters do not yet light off, and friction in cold oil is higher. The EPA's cold-start FTP-75 test captures part of this, but real winter mornings are colder. Second, gasoline winter blends have lower Reid Vapor Pressure (mandated for cold-weather drivability) and slightly lower energy density per gallon than summer blends, costing roughly 1.5–3% in MPG. Short trips magnify the cold-start penalty because a larger fraction of the drive is in the warm-up phase — a five-mile commute in 0°C weather can deliver 25–35% lower MPG than the EPA combined rating; the same car on a one-hour highway run at 20°C will often beat its EPA highway figure. Fueleconomy.gov publishes both effects in its 'Gas Mileage Tips' section, and the EPA's adjustment factor was the basis for the 2008 MPG rating overhaul that lowered virtually all window-sticker numbers by 10–25%.

References& sources.

  1. [1]U.S. Environmental Protection Agency. Fuel Economy Guide (model year 2025). The authoritative annual publication of EPA combined, city, and highway MPG ratings for every US-market vehicle, plus the gallons-per-100-miles secondary metric introduced in 2013.
  2. [2]U.S. National Highway Traffic Safety Administration. Corporate Average Fuel Economy (CAFE) Standards — official regulatory text and history. The federal programme that sets the sales-weighted MPG floor each automaker's new-vehicle fleet must meet, beginning with the 18-mpg passenger-car standard of 1978.
  3. [3]Thompson, A. & Taylor, B. N. (2008). NIST Special Publication 811: Guide for the Use of the International System of Units (SI). U.S. Department of Commerce. The authoritative source for the exact conversion constants used in this calculator: 1 mile = 1.609344 km and 1 US gallon = 3.785411784 L, both fixed by international agreement.
  4. [4]International Energy Agency. Global Fuel Economy Initiative — annual report on light-duty vehicle fuel-economy trends across IEA member countries. The authoritative cross-country reference for how the US, EU, Japan, China, and India each express and regulate vehicle fuel economy.
  5. [5]Larrick, R. P. & Soll, J. B. (2008). 'The MPG Illusion'. Science, vol. 320, no. 5883, pp. 1593–1594. The peer-reviewed paper that documented systematic consumer misperception of fuel savings from MPG improvements, and which motivated the EPA's 2013 addition of gallons-per-100-miles to the window sticker.
  6. [6]United Kingdom. Weights and Measures Act 1985, Schedule 1. The statute that fixes the imperial gallon at 4.54609 litres exactly — the legal definition behind every UK window-sticker MPG figure and the source of the roughly 20% gap between UK and US MPG ratings.

In this category

Embed

Quanta Pro

Paid features are coming later.

  • All 313 calculators remain free
  • No billing is enabled
Coming soon