All articles
Fuel cost and MPG: how to calculate and save gas
5 min read

Fuel cost and MPG: how to calculate and save gas

How to calculate fuel cost and MPG, work out your cost per mile, tips to save gas and improve fuel economy, and what MPG means when buying a used car.

fuel-costmpgfuel-economyrunning-costs

Fuel is one of the biggest ongoing costs of owning a car, and yet most people have only a vague sense of what they actually spend or how many miles per gallon they really get. Knowing how to calculate your fuel cost and MPG turns that vague feeling into hard numbers, so you can budget accurately, spot when something is wrong with your car, and make smarter choices about which vehicle to buy. A car that gets 10 fewer MPG than another can cost you well over a thousand dollars a year more in gas, so this stuff adds up fast.

This guide shows you exactly how to calculate your fuel cost and MPG, how to work out your cost per mile, practical ways to save gas, and what fuel economy tells you when buying a used car.

Work out your numbers in our fuel cost and MPG calculator - enter miles, gallons and price and get the result instantly.

How to calculate your MPG

Miles per gallon is simply how far you travel on one gallon of fuel, and you can measure your real MPG with a couple of numbers from your next fill-up:

  1. Fill the tank completely and reset your trip odometer (or note the odometer reading).
  2. Drive normally until you need gas again.
  3. Fill the tank completely again and note how many gallons it took, and how many miles you drove since the last fill.
  4. Divide miles by gallons. If you drove 320 miles and it took 10 gallons to refill, that is 32 MPG.

The formula is: MPG = miles driven / gallons used. Doing this over a few tanks gives a reliable real-world figure, which is usually a bit lower than the EPA sticker number, especially in city driving or cold weather. Your car’s trip computer estimates MPG too, but it can be optimistic, so the fill-up math is the honest measure.

How to calculate fuel cost

Once you know your MPG, working out cost is easy:

Run those numbers for two different cars and the difference jumps out. The same 12,000 miles in a 22 MPG vehicle at $3.50 a gallon costs about $1,910, roughly $600 more every year, and more if gas prices climb. That gap is a real part of what a car costs to own; our guide on the cost of owning a used car puts fuel alongside insurance, maintenance, and depreciation.

How to save gas

A lot of fuel economy comes down to driving habits and basic maintenance, and small changes add up:

If your MPG suddenly drops with no change in how you drive, treat it as a symptom. A failing oxygen sensor, a dragging brake, low tire pressure, or a clogged air filter can all cause it. Our guide on bad oxygen sensor symptoms explains one of the most common culprits, and a sudden economy drop with a warning light is worth checking against our check engine light guide.

MPG when buying a used car

Fuel economy is a major running cost, so it deserves real weight when choosing a used car:

Catching a car that is quietly burning too much fuel is part of a good inspection. The MotoPPI app reads oxygen sensor and fuel-system data through an OBD scan and walks you through the checks that reveal an engine running rich or inefficiently, so you do not buy a car that costs far more at the pump than it should. For the full routine, see how to inspect a used car.

Calculating your fuel cost and MPG is simple, miles divided by gallons for economy, price per gallon divided by MPG for cost per mile, and it pays off twice: it helps you drive more efficiently now, and it helps you choose a used car whose thirst you can actually afford. Track it over a few tanks, and you will never be surprised by what your car really costs to run.