How to Calculate Gas Mileage (MPG) & Save Fuel

Everyday June 18, 2026

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:

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.

  1. 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.
  2. Reset your trip odometer to zero. If your car lacks a trip meter, write down the main odometer reading instead.
  3. 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.
  4. 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.
  5. Read the miles travelled. Note the trip odometer figure (or subtract the old odometer reading from the new one).
  6. 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 drivenGallons usedMPGTypical vehicle type
25012.520.0Large SUV or pickup
30012.025.0Midsize sedan
33011.030.0Compact car
36010.036.0Efficient compact
44010.044.0Hybrid
60010.060.0Plug-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:

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.

FromToFormula
US MPGL/100km235.215 ÷ MPG
L/100kmUS MPG235.215 ÷ (L/100km)
UK MPGL/100km282.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.

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.

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.

MethodBest forMain weakness
Tank-to-tankTrue long-run averageSensitive to fill-up variation
Trip computerInstant driving feedbackOften optimistic by a few percent
App with GPS/OBDTrend tracking, loggingSetup 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.

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 typeConventional carHybrid
CityLower MPGOften highest MPG
HighwayHigher MPGSlightly lower than city
CombinedWeighted blendWeighted 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.

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.

ScenarioEconomyFuel priceCost per mile
US sedan40 US MPG$3.60 / US galβ‰ˆ $0.09
US truck20 US MPG$3.60 / US galβ‰ˆ $0.18
UK hatchback45 imp MPGΒ£1.45 / litreβ‰ˆ Β£0.147
UK estate diesel55 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.

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 itemTypical MPG impact if neglectedFix frequency
Under-inflated tyresUp to 3% lossCheck monthly
Clogged air filterSmall but real lossPer service interval
Wrong oil grade1–2% lossEach oil change
Dragging brakesVariable, can be largeInspect at service
Worn spark plugsMisfire-related lossPer 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.

Have a question, a correction, or a calculator request? Contact our editorial team — we usually reply within a day.