Car MPG Calculator (US / UK / Metric)
Calculate miles per gallon, fuel cost per mile and trip total from miles driven and gallons used. Toggle between US mpg, UK imperial mpg, and metric L/100km — same arithmetic, three labels. Live fuel-gauge dashboard SVG.
Quick Conversion
Formula: L/100km = 235.215 ÷ mpg-US
Dashboard Fuel-Efficiency Gauge
Enter your trip distance, gallons used, and price. The arrow needle and odometer update live.
EPA-Rated Vehicle Presets (2025)
MPG Cross-Unit Table
| mpg-US | mpg-UK | L/100km | km/L |
|---|---|---|---|
| 15 | 18.0 | 15.68 | 6.38 |
| 18 | 21.6 | 13.07 | 7.65 |
| 20 | 24.0 | 11.76 | 8.50 |
| 25 | 30.0 | 9.41 | 10.63 |
| 30 | 36.0 | 7.84 | 12.75 |
| 35 | 42.0 | 6.72 | 14.88 |
| 40 | 48.0 | 5.88 | 17.01 |
| 45 | 54.0 | 5.23 | 19.13 |
| 50 | 60.0 | 4.70 | 21.26 |
| 55 | 66.1 | 4.28 | 23.38 |
| 60 | 72.1 | 3.92 | 25.51 |
| 80 | 96.1 | 2.94 | 34.01 |
| 100 | 120.1 | 2.35 | 42.51 |
Need to convert European NEDC ratings? Use NEDC to EPA converter →
Formulas
MPG = miles ÷ gallons
Total cost = gallons × price-per-gallon
Cost per mile = total cost ÷ miles
L/100km = 235.215 ÷ mpg-USWorked: 300 mi ÷ 10 US gal = 30 mpg. Cost at $3.50/gal: 10 × 3.50 = $35.00. Per mile: $35/300 = $0.1167. L/100km: 235.215 / 30 = 7.84.
Why this calculator exists & the history of fuel-economy measurement
In 2026, a delivery-fleet manager in Cleveland tracking 47 Ford Transit vans needs to translate her drivers' tank-to-tank receipts (US gallons, $3.45/gal) into an apples-to-apples comparison against a European MAN TGE competitor quoted at 7.2 L/100km. Three unit systems, one decision. This calculator collapses that translation to a single click.
Fuel-economy measurement begins with Henry Ford's Model T in 1908, which advertised 25 mpg — a number derived from manufacturer testing on flat Detroit roads at constant speed. There was no standardised test, no regulator, no consumer protection. Manufacturer claims diverged from reality by 30-50% as cars added weight and accessories through the 1920s-30s.
The 1973 oil embargo made fuel economy a national-security issue. Congress passed the Energy Policy and Conservation Act in December 1975 (PL 94-163), creating the EPA window-sticker rating beginning model year 1975 and establishing the CAFE (Corporate Average Fuel Economy) regime under NHTSA. The initial 2-cycle test (FTP-75 city + HWFET highway) was an imperfect proxy but standardised — at last every manufacturer was measured the same way.
Through the 1980s-90s the gap between EPA window-sticker MPG and real-world fuel logs widened to 15-20%, partly because cars got heavier and partly because the cycles were too gentle. EPA responded in model year 2008with the 5-cycle methodology: FTP-75 city, HWFET highway, US06 high-load (aggressive 0-80 mph), SC03 air-conditioning (95 °F, 850 W solar load), and cold-start FTP at 20 °F. Raw test results are discounted by approximately 0.7 (city) and 0.78 (highway), producing the window-sticker number we see today. The change cut posted MPG by 10-15% across the fleet — and converged it back toward real-world experience.
Europe took a parallel path. The 1970 ECE-15 cycle for emissions testing expanded into the NEDC (New European Driving Cycle) by 1996, dominating fuel-economy labels until September 2017, when the Volkswagen diesel scandal forced a shift to WLTP (Worldwide Harmonised Light Vehicle Test Procedure). Europe's preferred dashboard metric, litres per 100 km, is "lower is better" — the opposite of MPG. Convert via L/100km = 235.215 ÷ mpg-US, or use this calculator's metric toggle.
The UK imperial gallon (4.54609 L, defined by the 1985 Weights and Measures Act after the 1824 Imperial Standards Act) is 20.095% larger than the US gallon (3.78541 L exactly per 1832 Treasury custom). The resulting mpg-UK number is 20.1% higher than mpg-US for the same car — a perpetual source of cross-Atlantic confusion. A 60 mpg-UK Toyota Yaris is only 49.9 mpg-US, not the "magic 60" UK buyers see on the window sticker.
Today, in May 2026, fuel-economy measurement spans four dominant cycles: EPA (US/Canada, real-world adjusted), WLTP (EU/UK/most Asia, 30-minute lab cycle, ~10% optimistic vs real), NEDC(legacy EU/UK/India), and CLTC (China, mandatory 2021, most optimistic — ~35% above EPA). For personal use, tank-to-tank arithmetic in this calculator remains the gold standard regardless of marketing labels. Apps like Fuelly, Drivvo, and built-in OBD-II dashboards automate the bookkeeping but the math has not changed since model year 1975: miles divided by gallons.
How to use this Car MPG Calculator
- Pick unit system: US mpg, UK imperial mpg, or metric L/100km — labels and conversions adjust automatically.
- Enter distance driven (miles or kilometres) into the yellow input — odometer updates live.
- Enter fuel used (gallons or litres) — the gauge needle swings to your MPG.
- Enter price per gallon/litre — total cost and cost-per-mile compute.
- Save the trip to localStorage history; compare seasonal fuel economy over time.
Related Fuel Tools
Trusted by Mechanics, Fleet Managers & Engineers
“Customers walk in claiming their car "suddenly drops to 18 mpg" — half the time it's a clogged MAF sensor, the other half it's tyre pressure. The MPG history feature lets me show them their baseline vs current. Saved a lot of expensive misdiagnoses.”
“I track 47 Ford Transit vans. Switching the calculator between US/UK/metric helps when I get spec sheets from European exporters. Cost-per-mile is the metric my CFO cares about, and this calculator surfaces it directly.”
“I've been comparing manufacturer NEDC/WLTP numbers to real-world MPG on customer cars for two decades. This tool is the cleanest non-dash app for the job — yellow input fields match my paper notes, fuel-gauge SVG is exactly the dashboard semantic.”
“Customers swap a 350 SBC for an LS3 and expect 25 mpg out of the gate. I plug their actual tank-to-tank into this calc, hand them the printout. Cured a lot of LS-swap optimism.”
Love using our calculator?
Related Articles
Dive deeper with our expert guides and tutorials related to Car MPG Calculator