Related Expert Tools
More precision tools in the same niche.
0-60 Calculator
The 0-60 Calculator estimates the time a vehicle takes to accelerate from 0 to 60 mph (0 to 96.6 km/h) using horsepower, vehicle weight, and drivetrain type. It applies the power-to-weight ratio formula alongside real-world drivetrain loss coefficients to produce an estimate close to track-tested results. Use it to compare acceleration potential between vehicles or evaluate the effect of weight reduction and engine upgrades.
Boat Speed Calculator
The Boat Speed Calculator works out actual boat speed in knots, mph, and km/h from a distance and time you enter, and separately estimates the theoretical hull speed of a displacement-hull boat from its waterline length. It supports nautical miles, statute miles, and kilometres. Use it to check your average speed on a passage or to see the practical top speed a displacement hull can reach efficiently.
Boost Horsepower Calculator
The Boost Horsepower Calculator estimates how much horsepower a turbocharger or supercharger adds at a given boost pressure, starting from your engine's naturally aspirated baseline. It applies an adjustable efficiency factor to account for intercooling, heat, and tuning quality rather than assuming a perfect, lossless gain. Use it to sanity-check a boost target before committing to a turbo, injector, or fuel system upgrade.
MPG Calculator Logic
MPG = Miles Driven / Gallons Used | L/100km = 235.215 / MPG(US) | UK MPG = US MPG x 1.20095What Is MPG and How Is It Calculated?
MPG, miles per gallon, measures how far a vehicle travels on a single gallon of fuel: MPG = Miles Driven ÷ Gallons Used. Driving 320 miles on 11.5 gallons works out to 27.8 MPG, a figure that tells you far more about a vehicle's real running cost than the sticker rating alone, since actual fuel economy depends on driving conditions, load, and habits that a lab test can't fully capture. Investopedia's explainer on MPG as a metric covers why it became the standard measure for comparing running costs across different vehicles despite these real-world variables.
This calculator handles two separate jobs: calculating your actual MPG from a real fill-up, and converting a known MPG figure between the US and UK/Imperial standards plus liters-per-100km, since fuel economy is reported differently depending on where you are.
The Miles-Between-Fill-Ups Method
The most accurate way to measure real-world MPG is the miles-between-fill-ups method: reset your trip odometer immediately after filling the tank completely, drive normally until the next fill-up, then record the trip miles and the gallons it took to top the tank back off. FuelEconomy.gov's guidance on tracking real MPG recommends averaging this over several fill-ups rather than trusting a single tank, since one short trip in cold weather or heavy traffic can skew a single reading well below your car's typical performance.
A single fill-up calculation is still useful as a quick check, but averaging three or more consecutive tanks smooths out the noise from short trips, idling, and seasonal temperature swings that affect any one reading in isolation.
What Counts as Good Fuel Economy?
Typical fuel economy varies enormously by vehicle class. the EPA's explanation of MPG ratings notes that compact sedans commonly land in the 30 to 40 MPG range, midsize SUVs often run 20 to 28 MPG, and full-size trucks frequently sit in the high teens to low twenties, meaning "good" MPG only makes sense relative to a vehicle's class rather than as one fixed number across every car on the road.
Hybrids and smaller engines regularly clear 40 MPG or more, while larger engines built for towing or hauling trade fuel economy for capability, a tradeoff worth knowing before comparing your own number against a generic benchmark.
US MPG vs UK MPG vs L/100km
The same car reports a different fuel economy number depending on which country's standard is used, and this isn't a units bug, it's a genuinely different gallon. A US gallon is 3.785 liters while an Imperial (UK) gallon is 4.546 liters, so converting the identical fuel efficiency into UK MPG produces a noticeably higher number than the US MPG figure for the same car. the RAC's guide to fuel consumption figures covers why UK and European sources increasingly report liters per 100km instead, since it avoids this cross-country confusion entirely.
Liters per 100km works in the opposite direction from MPG, a lower number means better efficiency, which trips up drivers used to reading a higher MPG figure as the better outcome.
Why Real-World MPG Differs from the Window Sticker
The EPA-rated MPG on a new car's window sticker comes from standardized lab testing, not everyday driving, and Consumer Reports' analysis of real-world MPG gaps found that actual fuel economy commonly runs several MPG below the rated figure once aggressive acceleration, cold starts, air conditioning, and short urban trips enter the picture, factors the standardized test doesn't fully replicate.
Highway cruising at a steady speed typically comes closest to matching the rated figure, while stop-and-go city driving and short trips that never let the engine reach full operating temperature tend to produce the widest gap below it.
Ways to Improve Your Actual MPG
Tire pressure, driving style, and vehicle load all move the needle more than most drivers expect. FuelEconomy.gov's driving tips for better mileage notes that underinflated tires increase rolling resistance and can measurably reduce MPG, while smooth, gradual acceleration instead of hard throttle inputs consistently improves real-world fuel economy across nearly every vehicle type. Removing unused roof racks, cargo boxes, and excess weight from the trunk also reduces drag and load, both of which quietly eat into fuel economy on longer trips.
If you're budgeting fuel spending around a specific MPG figure rather than just measuring it, our Gas Calculator turns that number into a weekly or monthly cost estimate, and our Fuel Cost Calculator handles the cost of a single trip.
Common Mistakes When Calculating MPG
The most common mistake is calculating MPG from a single, unrepresentative tank, a short commute week or a mostly-highway road trip, and treating that one number as the car's permanent fuel economy rather than one data point in a range. Edmunds' guide to why MPG readings vary confirms fuel economy naturally shifts with season, load, and driving pattern, so a single reading 15 percent above or below your car's typical average doesn't necessarily indicate anything is wrong.
The second common mistake is comparing a US MPG figure directly against a UK MPG figure without converting first, since the two numbers describe genuinely different gallon sizes and aren't interchangeable without the conversion this calculator's second mode handles.
Frequently Asked Questions
Muhammad Shahbaz Siddiqui
Founder, TheCalculatorsHub
How I used the MPG Calculator to show a coworker his "bad gas mileage" was actually a bad measurement
A coworker complained in the break room in early 2026 that his new sedan was getting "barely 19 MPG" despite an EPA sticker rating of 32, and he was seriously considering a dealership visit to have the engine checked before his warranty ran out.
When I asked how he'd measured it, he'd calculated it off a single short tank, mostly cold starts on a two-mile commute with the AC running, exactly the driving pattern Consumer Reports' analysis of real-world MPG gaps flags as producing the widest deviation from a rated figure. Running his next three fill-ups, mostly highway miles from a longer weekend trip, through the calculator's averaging approach put him at 29.4 MPG, close enough to the 32 rating that FuelEconomy.gov's guidance on tracking real MPG would call unremarkable. He skipped the dealership visit and started tracking mileage over several tanks instead of one.
