How to Calculate MPG: Formula, Examples and Ways to Improve It
To calculate MPG, divide the miles you have driven by the gallons of fuel you used to drive them. The result is your car’s miles per gallon, the standard measure of fuel economy. Knowing how to calculate MPG lets you track real-world consumption, spot when something is wrong, and compare the running costs of different vehicles.
Key Takeaways
- MPG means miles per gallon: the distance a car travels on one gallon of fuel.
- The miles per gallon formula is miles driven divided by gallons used.
- Fill your tank fully, reset the trip meter, drive, then fill up again to get accurate numbers.
- Real-world MPG is usually lower than manufacturer figures because of driving style, load and conditions.
- Smooth driving, correct tyre pressures and removing excess weight all improve gas mileage.
What does MPG mean and why does it matter?
MPG stands for miles per gallon, a measure of how far a vehicle travels on a single gallon of fuel. A higher MPG means the car uses less fuel to cover the same distance, which lowers your running costs. Tracking it over time tells you whether your car is becoming less efficient, which can point to maintenance issues or changes in how you drive.
In short: MPG is the single most useful number for understanding your car’s fuel economy at a glance.
How do you calculate MPG step by step?
The miles per gallon formula is simple. First, fill your tank completely and reset your trip meter to zero. Drive normally until you need fuel again, then fill the tank fully once more. Note the miles shown on the trip meter and the gallons shown on the pump receipt. Divide the miles by the gallons, and you have your MPG for that period.
In short: miles driven ÷ gallons used = MPG.
If you want to skip the arithmetic, our MPG Calculator does the maths for you from the same two numbers, and you can then feed that figure into the Fuel Cost Calculator to see what your journeys actually cost.
What is the MPG formula with worked examples?
Here are two worked examples with clearly labelled sample numbers. These are examples only, not real figures.
Example 1: You fill your tank, reset the trip meter, and drive 360 miles before filling up again. The pump shows you added 12 gallons. Your MPG is 360 ÷ 12 = 30 miles per gallon.
Example 2: Over a different period you cover 275 miles and the refill takes 11 gallons. Your MPG is 275 ÷ 11 = 25 miles per gallon. The lower result in the second example shows the car used more fuel per mile, perhaps because of heavier traffic, a loaded boot or more city driving.
In short: divide miles by gallons, and compare results over several fill-ups to see your true average.
What affects your fuel economy?
Many factors move your real-world MPG away from the official figures. Driving style is the biggest: harsh acceleration, heavy braking and high speeds all burn more fuel. Extra weight from passengers and luggage, roof boxes that increase drag, under-inflated tyres, and using air conditioning all reduce economy. Cold engines, short trips and stop-start traffic are particularly inefficient because the engine never reaches its optimal operating temperature.
In short: how and where you drive matters more than the car’s advertised figure.
How can you improve gas mileage?
Improving gas mileage is mostly about consistent habits. Accelerate gently, anticipate traffic so you coast rather than brake hard, and keep to a steady speed on the motorway. Check tyre pressures monthly, remove roof racks and heavy items when you do not need them, and combine short trips into one journey so the engine stays warm. Keeping up with servicing, changing air filters on schedule and fixing warning lights promptly also helps the engine run efficiently.
In short: smooth driving, light loads and good maintenance are the most reliable ways to raise your MPG.
How often should you measure MPG?
Measuring MPG over a single tank can be misleading because a single journey may be unusually short or congested. Track it over several fill-ups and average the results to get a dependable figure. A sudden drop across multiple tanks is a useful early warning that something has changed, from a tyre losing pressure to a fault that needs a mechanic’s attention.
In short: measure over several tanks and watch the trend, not just one number.
Last updated November 2026. For information only, not financial advice.
Frequently asked questions
What is the formula for calculating MPG?
Divide the miles you drove by the gallons of fuel you used: miles driven ÷ gallons used = MPG. Fill the tank fully, reset the trip meter, drive, then fill up again to get accurate numbers.
Why is my real MPG lower than the manufacturer figure?
Official figures come from controlled tests. Real-world driving, with traffic, heavy loads, high speeds and cold engines, usually returns a lower MPG than the advertised number.
How can I improve my gas mileage quickly?
Accelerate gently, keep to a steady speed, check tyre pressures, remove roof racks and excess weight, and combine short trips so the engine stays warm. These habits can raise MPG noticeably.
Should I calculate MPG over one tank or several?
Several tanks. A single fill-up can be skewed by an unusual journey, so average your MPG over multiple fill-ups for a reliable figure.