How to Calculate Gas Mileage (MPG) & Save Fuel
Learn how to calculate gas mileage with the simple MPG formula, see worked examples and US vs UK gallon conversions, and discover proven ways to improve fuel economy and cut costs.
Knowing exactly how much fuel your vehicle burns is one of the easiest ways to take control of your driving costs. Whether you call it gas mileage, fuel economy, or miles per gallon (MPG), the underlying idea is the same: how far can your car travel on a fixed amount of fuel? Learning how to calculate MPG takes about two minutes, requires no special equipment, and gives you a reliable benchmark you can use to spot mechanical problems, compare vehicles, and budget for your commute. This guide walks through the exact formula, shows you how to do it by hand and with our gas mileage calculator, and shares proven techniques to squeeze more miles out of every tank.
What gas mileage actually measures
Gas mileage is a ratio of distance travelled to fuel consumed. In the United States it is almost always expressed as miles per gallon (MPG), while most of the rest of the world uses litres per 100 kilometres (L/100km). The two describe the same physical reality from opposite directions: MPG rewards higher numbers (more distance per unit of fuel), whereas L/100km rewards lower numbers (less fuel per fixed distance).
The figure on a manufacturer's window sticker is an idealised laboratory result. Your real-world fuel economy depends on driving style, traffic, terrain, weather, tyre pressure, cargo weight, and how well the engine is maintained. That is why measuring your own MPG matters: it reflects your actual conditions rather than a controlled test track.
The MPG formula
The core MPG formula is refreshingly simple:
MPG = Miles Driven ÷ Gallons Used
To use it accurately you need two measurements taken between two fill-ups:
- Miles driven β the distance covered since your last fill-up, read from your trip odometer or calculated from total odometer readings.
- Gallons used β the amount of fuel it took to refill the tank back to full.
For example, if you drove 320 miles and it took 10 gallons to top up the tank, your fuel economy is 320 ÷ 10 = 32 MPG.
Step-by-step: how to calculate MPG by hand
Follow this method to get an accurate, repeatable reading. The key is to start and end at the same fuel level β a full tank both times.
- Fill the tank completely. Drive to a petrol station and fill up until the pump clicks off. Do not keep topping it past the first click, as the extra fuel skews the result.
- Reset your trip odometer to zero. If your car lacks a trip meter, write down the main odometer reading instead.
- Drive normally. Use the car as you usually would for a few hundred miles. A longer sample smooths out the effect of one unusual journey.
- Fill up again at the same pump style. When the tank is empty enough to need refuelling, fill it to full once more and note exactly how many gallons the pump dispensed.
- Read the miles travelled. Note the trip odometer figure (or subtract the old odometer reading from the new one).
- Divide. Miles ÷ gallons = your MPG.
If you would rather skip the arithmetic, enter your numbers into the MPG calculator and it returns your fuel economy instantly, along with cost-per-mile if you add the fuel price.
Worked examples
The table below shows how different distance and fuel combinations translate into miles per gallon. It is a handy reference for sanity-checking your own results.
| Miles driven | Gallons used | MPG | Typical vehicle type |
|---|---|---|---|
| 250 | 12.5 | 20.0 | Large SUV or pickup |
| 300 | 12.0 | 25.0 | Midsize sedan |
| 330 | 11.0 | 30.0 | Compact car |
| 360 | 10.0 | 36.0 | Efficient compact |
| 440 | 10.0 | 44.0 | Hybrid |
| 600 | 10.0 | 60.0 | Plug-in hybrid / diesel |
US gallons vs UK (imperial) gallons
One common source of confusion is that a US gallon and a UK gallon are not the same size. A UK imperial gallon is about 20% larger than a US gallon (4.546 litres versus 3.785 litres). That means the same car will show a higher MPG figure when measured in imperial gallons than in US gallons, even though nothing about the vehicle has changed.
To convert between the two:
- US MPG to UK MPG: multiply by 1.201.
- UK MPG to US MPG: multiply by 0.833.
So a car rated at 30 US MPG is roughly 36 UK MPG. Always check which gallon a quoted figure refers to before comparing vehicles across the Atlantic.
Converting between MPG and L/100km
If you are comparing a US-spec car against a European one, you will need to bridge MPG and litres per 100 kilometres. Because they run in opposite directions, the conversion uses division rather than a simple multiplier.
| From | To | Formula |
|---|---|---|
| US MPG | L/100km | 235.215 ÷ MPG |
| L/100km | US MPG | 235.215 ÷ (L/100km) |
| UK MPG | L/100km | 282.481 ÷ MPG |
For instance, 30 US MPG equals 235.215 ÷ 30 = 7.84 L/100km. A car that uses 6 L/100km returns 235.215 ÷ 6 = 39.2 US MPG.
Why your real MPG differs from the sticker
Manufacturers publish fuel economy estimates derived from standardised dynamometer tests. Your day-to-day figure almost always lands somewhere different because of the factors below.
- Driving style: hard acceleration and heavy braking can cut economy by 15β30%. Smooth, anticipatory driving is the single biggest lever you control.
- Speed: aerodynamic drag rises sharply above roughly 50 mph. Cruising at 75 mph instead of 65 mph can drop MPG noticeably.
- Cold weather: engines run rich until warm, winter fuel blends carry less energy, and heaters and defrosters add load. Short winter trips suffer most.
- Tyre pressure: under-inflated tyres increase rolling resistance. Every few PSI low can shave a percentage point or two off economy.
- Weight and cargo: roof boxes and heavy loads force the engine to work harder, especially when accelerating or climbing.
- Idling: a stationary engine returns zero miles per gallon, so traffic and long warm-ups drag the average down.
Proven ways to improve fuel economy
Once you know your baseline MPG, you can measure whether changes actually help. Track a few tanks before and after each tweak to see the real effect.
- Inflate tyres to the recommended pressure. Check the door-jamb sticker, not the figure moulded into the tyre, and check when tyres are cold.
- Lighten the load. Remove roof racks and clear out heavy items you do not need to carry.
- Ease off the accelerator. Gentle starts and coasting toward red lights save measurable fuel.
- Maintain a steady speed. Use cruise control on the motorway where it is safe to do so.
- Keep up with servicing. Fresh air filters, correct oil grade, and healthy spark plugs all support efficient combustion.
- Combine errands. A warm engine is far more efficient than a cold one, so one longer trip beats several short cold starts.
- Avoid excessive idling. If you will be stationary for more than a minute or two, switching off saves fuel.
After making changes, re-run your numbers through the fuel economy calculator to confirm the improvement in real terms rather than guessing.
Turning MPG into running costs
MPG becomes truly useful when you translate it into money. To work out cost per mile, divide the price of a gallon by your MPG:
Cost per mile = Price per gallon ÷ MPG
If fuel costs $3.60 a gallon and your car returns 30 MPG, each mile costs 3.60 ÷ 30 = $0.12. Over a 12,000-mile year that is about $1,440 in fuel. Improving from 30 to 33 MPG drops the annual bill to roughly $1,309 β a saving of around $131 for the same driving. Small efficiency gains add up over time, which is exactly why tracking your numbers pays off.
Tank-to-tank vs trip-computer MPG: which number to trust
There are two everyday ways to know your fuel economy, and they rarely agree to the last decimal. The first is the manual tank-to-tank method, where you fill up, reset the trip odometer, drive until you refill, and divide the miles covered by the gallons it took to top off. The second is the dashboard trip computer, which estimates consumption continuously by measuring fuel-injector pulses and vehicle speed. Each has strengths, and understanding the gap between them stops you from chasing phantom changes in economy.
The tank-to-tank figure is the ground truth over a long enough sample. It captures every drop you actually paid for, including idling, cold starts, and the fuel burned warming up. Its weakness is the fill line: pumps shut off at slightly different points, and the angle your car sits on can change how full "full" really is, so any single tank can be off by a few percent. The trip computer is smooth and immediate but is famously optimistic on many vehicles, often reading 2β5% better than reality because of how it models injector flow. The fix is simple: trust the trip computer for instant feedback on driving habits, but trust a multi-tank manual average for the true number.
| Method | Best for | Main weakness |
|---|---|---|
| Tank-to-tank | True long-run average | Sensitive to fill-up variation |
| Trip computer | Instant driving feedback | Often optimistic by a few percent |
| App with GPS/OBD | Trend tracking, logging | Setup and data quality |
The reliable habit is to log several consecutive tanks and average them. One tank tells you almost nothing because of fill-line noise; five tanks reveal your genuine economy and make any real change, a new air filter, a season shift, a different commute, stand out clearly above the noise.
How temperature and seasons quietly change your numbers
Drivers often panic when winter economy drops 10β20% and assume something has broken. Usually nothing has. Cold weather attacks fuel economy from several directions at once, and the effect is large enough to dominate a winter's worth of tanks.
- Longer warm-up: A cold engine runs a richer mixture and is less efficient until it reaches operating temperature, and short winter trips may finish before that ever happens.
- Thicker fluids: Cold engine oil and transmission fluid create more drag until they warm.
- Denser, draggier air: Cold air is denser, slightly increasing aerodynamic drag at speed.
- Tire pressure drops: Pressure falls roughly 1 psi for every 10 Β°F drop, raising rolling resistance unless you top up.
- Winter fuel blends and accessories: Seasonal fuel formulations carry slightly less energy, and heated seats, defrosters, and headlights add electrical load.
Summer brings its own smaller penalty through air-conditioning load, particularly in stop-start city traffic where the compressor runs while the engine produces little power. The practical lesson is to compare like with like: judge your economy against the same month last year, not against your best tank from a mild spring.
City, highway, and combined: why one car has three MPG figures
Official window stickers list separate city and highway figures because the two driving environments stress a vehicle in opposite ways. In the city, frequent stops mean energy is repeatedly wasted as brake heat and then spent again accelerating from rest, while idling at lights burns fuel to move zero distance. On the highway, the car settles into a steady cruise where the engine operates near its efficient sweet spot, so highway economy is usually higher for conventional vehicles.
Hybrids invert part of this story. Because they recover braking energy and shut the engine off at rest, hybrids often post a higher city figure than highway figure, the reverse of a normal petrol car. Knowing which pattern your vehicle follows helps you interpret your own logs: a road-trip tank and a week of school runs are simply not comparable, and averaging them hides what each is telling you. If you want to convert miles and fuel used into a clean MPG for any single trip, our gas mileage calculator handles US and imperial gallons and the metric equivalent in one place.
| Driving type | Conventional car | Hybrid |
|---|---|---|
| City | Lower MPG | Often highest MPG |
| Highway | Higher MPG | Slightly lower than city |
| Combined | Weighted blend | Weighted blend |
Towing, payload, roof boxes, and the aerodynamics penalty
Few things wreck fuel economy as fast as adding drag and weight. Towing a caravan or trailer can cut MPG by a third or more, because the engine must overcome both the extra mass on every hill and the large flat frontal area pushing through the air. Roof boxes and roof-mounted bikes are sneakier offenders: they add little weight but a great deal of aerodynamic drag, and because drag rises with the square of speed, the penalty balloons at motorway and interstate speeds.
A useful habit is to remove roof racks and boxes when you are not using them rather than leaving them on year-round. The same applies to dead weight in the boot or bed; carrying a few hundred pounds of clutter you forgot about costs real fuel over a year. Payload matters most in stop-start driving, where every kilogram must be accelerated repeatedly, while aerodynamic add-ons matter most at sustained high speed. Matching your fix to your driving, declutter for city use, de-rack for highway use, gets the biggest return.
Diesel, petrol, hybrid, and EV equivalents
MPG was built around liquid fuel, but the comparison gets interesting once different powertrains share the road. Diesel typically returns more miles per gallon than petrol because diesel fuel is more energy-dense and diesel engines run at higher compression, though the per-gallon price and emissions picture complicate the running-cost comparison. Hybrids stretch each gallon further in town through regeneration. Fully electric cars have no gallons at all, so regulators express their efficiency as MPGe (miles per gallon of gasoline-equivalent), based on the energy content of the electricity used, and in everyday terms drivers track miles per kWh and pence or cents per mile instead.
When you compare vehicles, the honest metric is cost per mile, not MPG alone. A diesel with high MPG but pricier fuel and an expensive emissions system may cost more per mile than a thriftier petrol car, and an EV's per-mile cost swings wildly with your electricity tariff and whether you charge at home overnight or at a rapid charger on the road. Convert everything to your own currency per mile and the picture clears up immediately.
The math behind cost per mile, step by step
Turning MPG into money is the calculation that actually affects your wallet, and it takes three numbers: your fuel economy, the fuel price, and the distance. The cleanest approach is to compute the fuel used for a journey, then multiply by price.
- Step 1 β fuel used: divide your distance by your MPG. 300 miles at 40 MPG = 7.5 gallons.
- Step 2 β fuel cost: multiply gallons by the price per gallon. At $3.60 per US gallon, 7.5 Γ $3.60 = $27.
- Step 3 β cost per mile: divide the cost by the distance. $27 Γ· 300 = $0.09 per mile.
In the UK, fuel is priced per litre, so add one conversion: there are about 4.546 litres in an imperial gallon. If petrol is Β£1.45 per litre, that is roughly Β£6.59 per imperial gallon, and a car doing 45 imperial MPG over 300 miles uses 6.67 gallons, costing about Β£44, or roughly 14.7 pence per mile. Keeping the units consistent, US gallons with US prices, imperial gallons with UK prices, is the single most common place people go wrong.
| Scenario | Economy | Fuel price | Cost per mile |
|---|---|---|---|
| US sedan | 40 US MPG | $3.60 / US gal | β $0.09 |
| US truck | 20 US MPG | $3.60 / US gal | β $0.18 |
| UK hatchback | 45 imp MPG | Β£1.45 / litre | β Β£0.147 |
| UK estate diesel | 55 imp MPG | Β£1.50 / litre | β Β£0.124 |
Building a simple fuel log that actually tells you something
The drivers who genuinely understand their economy are the ones who keep a short log. You do not need an app, though several good ones exist; a note in your phone with the date, the odometer reading, the litres or gallons added, and the price is enough. Over a few months the log answers questions a single tank never can: did the new tyres help, is the winter dip normal, is one car in the household quietly costing far more per mile than the other.
The key discipline is to record a brimmed-to-brimmed tank each time, filling to the same click-off point so the start and end states match. Note any unusual tank, a long tow, a snowed-in week of short trips, so you can set outliers aside when you average. With even a modest log you can spot a developing fault early: a sudden, sustained drop in MPG with no change in driving is one of the cheapest early-warning signs of an aging oxygen sensor, dragging brake, or under-inflated tyre that a dashboard light will not flag until much later.
Driving techniques that genuinely move the needle
Beyond maintenance, the way you drive is the single biggest lever on real-world economy, and the gains are larger than most people expect. The core idea behind "hypermiling" is to waste as little energy as possible to braking and to keep the engine in its efficient band. None of it requires special equipment; it is mostly anticipation and smoothness.
- Look ahead and coast: reading traffic far down the road lets you lift off early and let the car slow itself, recovering momentum that braking would have thrown away as heat.
- Accelerate gently but purposefully: crawling away from lights is not efficient; a moderate, smooth acceleration to cruising speed and then easing off is the sweet spot.
- Hold a steady speed: constant throttle, ideally with cruise control on flat highways, avoids the repeated fuel surges of speeding up and slowing down.
- Mind your top speed: because aerodynamic drag rises with the square of speed, trimming a motorway cruise from 80 to 65 mph can cut fuel use noticeably on a long trip.
- Avoid needless idling: an idling engine returns zero miles per gallon, so on long waits switching off beats letting it run.
These habits compound. A driver who anticipates, holds steady speeds, and eases off the top end can realistically beat an aggressive driver in the identical car by 15β20% over a year, which on a typical annual mileage is a meaningful sum of money and a measurable reduction in emissions.
Maintenance items that protect your MPG
A car in poor condition quietly leaks economy in several places at once, and the fixes are mostly cheap. Tyre pressure is the headline item: under-inflated tyres flex more and create rolling resistance that the engine must overcome on every revolution, so checking pressures monthly and before long trips is the highest-return five minutes in motoring. A clogged air filter, dragging brake calipers, worn spark plugs, and the wrong grade of engine oil each shave a few percent off, and together they can add up to a double-digit loss that creeps in so gradually you never notice the day it started.
| Maintenance item | Typical MPG impact if neglected | Fix frequency |
|---|---|---|
| Under-inflated tyres | Up to 3% loss | Check monthly |
| Clogged air filter | Small but real loss | Per service interval |
| Wrong oil grade | 1β2% loss | Each oil change |
| Dragging brakes | Variable, can be large | Inspect at service |
| Worn spark plugs | Misfire-related loss | Per manufacturer schedule |
The point of a fuel log ties back here: because each of these faults shows up first as a slow decline in your recorded MPG, the log is effectively a cheap diagnostic. When the number drops and stays down, work through the list above before assuming anything dramatic, and you will usually find an under-inflated tyre or an overdue service rather than a major fault.
Frequently asked questions
What is a good MPG figure?
It depends on the vehicle class. A large pickup or SUV returning 20β25 MPG is typical, a midsize sedan often sees 28β35 MPG, efficient compacts can reach the high 30s or low 40s, and hybrids frequently exceed 45β50 MPG. Compare your car against similar models rather than against an absolute number.
How many tanks should I measure to get an accurate average?
One tank gives a rough idea, but averaging three to five consecutive tanks smooths out the effect of unusual trips, traffic, and weather. Tracking over time also helps you spot a gradual decline that might signal a maintenance issue.
Why did my MPG suddenly drop?
Sudden drops often trace back to under-inflated tyres, a dragging brake, a dirty air filter, colder weather, a switch to winter fuel, or carrying extra weight. If economy falls sharply with no obvious cause, have the vehicle checked, as it can indicate a developing fault.
Is it cheaper to calculate MPG using US or UK gallons?
Neither is cheaper β they simply measure different sized gallons. The cost of your fuel is the same regardless of which unit you use. Just make sure you compare like with like: a UK MPG figure will look about 20% higher than the equivalent US MPG for the identical car.
Does premium fuel improve gas mileage?
Only if your vehicle specifically requires or is tuned for higher-octane fuel. For most cars designed to run on regular unleaded, paying for premium delivers no meaningful MPG benefit. Check your owner's manual before assuming a more expensive grade will help.
Can I calculate MPG without a trip odometer?
Yes. Note your main odometer reading at the first fill-up and again at the second, then subtract to find the miles driven. Divide that distance by the gallons added at the second fill-up to get your MPG.