Gas mileage is the number of miles your car travels on one gallon of fuel. If you drive 300 miles on 10 gallons, your gas mileage is 30 miles per gallon. The formula is simple. Gas mileage equals miles driven divided by gallons used.

This guide shows how to calculate gas mileage by hand. You will see the fill-up method, the trip meter method, and the cost method. You will learn what good mileage looks like for different cars. You will also learn how driving habits and car care change the number. By the end, you can track your own mileage and spot problems early.

How to Calculate Gas Mileage (illustration 1)

The Fill-Up Method

The fill-up method is the most accurate way to measure gas mileage. It needs only a notebook and a full tank. Here are the steps.

Fill the tank all the way. Write down the odometer reading. That is your starting mileage. Drive as usual until the tank is low. Fill the tank all the way again. Write down how many gallons went in. Write down the new odometer reading.

Subtract the start reading from the end reading. That is the miles you drove. Divide those miles by the gallons you just bought. The answer is your gas mileage in miles per gallon.

Work an example. The odometer reads 45,000 miles at the first fill. At the next fill, it reads 45,320 miles. You buy 10 gallons. The miles driven are 45,320 minus 45,000, which is 320 miles. Divide 320 by 10. You get 32 miles per gallon. Your gas mileage is 32 MPG.

The method works because a full tank is a fixed point. The fuel you buy replaces exactly the fuel you used. The gallons on the receipt are the gallons you burned. No guesswork is needed.

One fill-up gives one data point. Track several fill-ups to see a trend. A single tank can be noisy. A short trip, a headwind, or a different pump can shift the number. An average over five tanks is much more reliable.

Worked Example: A Week of Driving

A driver fills up on Monday. The odometer reads 20,100 miles. She drives to work and back all week. On Sunday she fills up again. The odometer reads 20,450 miles. She buys 12.5 gallons. What is her gas mileage?

The miles driven are 20,450 minus 20,100, which is 350 miles. Divide 350 by 12.5. You get 28 miles per gallon. Her gas mileage for the week is 28 MPG.

Now suppose the next week she drives 400 miles and buys 12 gallons. Her mileage is 400 ÷ 12, which is 33.33 MPG. The two weeks differ. The second week had more highway driving. Highway miles use less fuel per mile than city miles. That is normal.

Her two-week average is not the simple mean of 28 and 33.33. It is total miles over total gallons. Total miles are 350 + 400, which is 750 miles. Total gallons are 12.5 + 12, which is 24.5 gallons. Divide 750 by 24.5. You get 30.61 MPG. The true two-week average is 30.61 MPG. The simple mean of 28 and 33.33 would be 30.67. The two are close here because the weeks are similar in size. With very different weeks, the gap grows. Always use totals.

The Trip Meter Method

Many cars have a trip meter. It counts miles since you last reset it. It also shows average MPG on the dashboard. The dashboard figure is a good guide. But it can drift. A hand check with the fill-up method keeps it honest.

To use the trip meter, reset it to zero at a fill-up. Drive until the next fill-up. Read the trip miles. Divide by the gallons bought. That is the same math as the odometer method. The trip meter just saves you a subtraction.

Some cars show two trip meters. Use one for each tank and the other for a longer period. A long-period average smooths out the noise. It shows your true mileage over months.

A warning: the dashboard MPG is often 1 to 2 MPG higher than the hand figure. Car makers tend to be generous. Trust the fill-up math over the display. If the display says 35 MPG and your hand math says 33 MPG, your real mileage is 33 MPG.

The Cost Method

You can also work out gas mileage from cost. If you know what you paid and the price per gallon, you can find the gallons. Then divide miles by gallons as usual.

Work an example. A driver spends 45 dollars on fuel. The price is 3.60 dollars per gallon. The gallons bought are 45 ÷ 3.60, which is 12.5 gallons. She drove 350 miles on that fuel. Her mileage is 350 ÷ 12.5, which is 28 MPG.

The cost method is useful when the receipt shows dollars but not gallons. Most receipts show both. But some show only the total. The price per gallon is on the pump. Save it with the receipt.

You can also flip the math to find cost per mile. Divide the price per gallon by your MPG. At 3.60 dollars a gallon and 28 MPG, the cost is 3.60 ÷ 28, which is 0.1286 dollars per mile. That is about 13 cents a mile. A car that gets 40 MPG at the same price costs 3.60 ÷ 40, which is 0.09 dollars per mile. That is 9 cents a mile. The better mileage saves 4 cents on every mile. Over 12,000 miles a year, that is 480 dollars.

Use the fuel cost calculator on SlickCalcs to work out trip costs fast. It takes distance, MPG, and fuel price and gives the total. The commute cost calculator does the same for a daily drive to work.

What Is Good Gas Mileage?

Good mileage depends on the car. A small sedan that gets 35 MPG is normal. A large SUV that gets 20 MPG is normal. A hybrid that gets 50 MPG is normal. Judge your car against its own class, not against all cars.

The United States Environmental Protection Agency publishes MPG ratings for every new car. These ratings come from lab tests. Real driving is usually 10 to 20 percent lower. A car rated 30 MPG combined may get 25 to 27 MPG in real use. That gap is normal. It is not a fault.

City mileage is always lower than highway mileage. Stop-and-go traffic wastes fuel. A car rated 25 MPG in the city and 35 MPG on the highway will land somewhere in between. A driver who does mostly city miles will see a number near 25. A driver who does mostly highway miles will see a number near 35.

Electric cars use a different measure. They are rated in miles per gallon equivalent, or MPGe. An electric car rated 120 MPGe goes as far on the energy in one gallon of gas as a gas car that gets 120 MPG. The math is the same idea. It is distance per unit of energy.

What Lowers Your Gas Mileage

Many things cut mileage. The biggest is driving style. Hard starts and hard stops waste fuel. A car that speeds up fast burns more gas than one that speeds up gently. Driving at 75 miles per hour uses about 20 percent more fuel than driving at 65 miles per hour. Wind drag rises fast with speed.

Short trips hurt too. A cold engine burns more fuel. A 2-mile trip to the store may get 15 MPG while the engine warms up. The same car on a 50-mile highway trip may get 35 MPG. If most of your trips are short, your average will look low. That is not a car problem. It is a trip problem.

Weight matters. Every extra 100 pounds cuts mileage by about 1 percent. A roof rack left on the car adds drag even when empty. It can cut highway mileage by 2 to 5 percent. Take it off when you do not need it.

Tires matter as well. Underinflated tires raise rolling resistance. A tire 10 PSI low can cut mileage by about 3 percent. Check pressure once a month. Use the pressure on the door sticker, not the number on the tire. The tire number is the maximum. The door number is the right pressure for your car.

Air conditioning costs fuel too. At low speeds, open windows may use less fuel than the air conditioner. At highway speeds, the drag from open windows costs more than the air conditioner. Use the air conditioner on the highway. Use the windows in town.

How to Improve Your Gas Mileage

Drive smoothly. Speed up gently. Look ahead and lift off the gas early when traffic slows. Coasting to a stop uses no fuel in many modern cars. Braking late wastes the fuel you spent to speed up.

Keep a steady speed on the highway. Cruise control helps. It holds a constant speed better than a foot can. A steady 65 miles per hour beats a swinging 60 to 75 miles per hour.

Slow down a little. Dropping from 75 to 65 miles per hour can save 15 to 20 percent of fuel on a highway trip. The trip takes a few minutes longer. The saving is real.

Keep the car tuned. A dirty air filter can cut mileage by up to 10 percent on older cars. Fresh spark plugs and the right oil help too. Use the oil grade the maker lists. Thicker oil adds drag inside the engine.

Remove extra weight. Clear the trunk of tools, sports gear, and junk you do not need. A lighter car uses less fuel on every start.

Plan trips. Combine errands into one run. A warm engine is more efficient than a cold one. Three stops in one trip use less fuel than three separate trips.

When Low Mileage Means a Problem

A sudden drop in mileage can signal a fault. If your car falls from 30 MPG to 24 MPG without a change in driving, look for a cause. Common faults include a bad oxygen sensor, a stuck brake, low tire pressure, or a clogged air filter.

A bad oxygen sensor is a frequent cause. It can cut mileage by 10 to 40 percent. The check engine light often comes on. A scan at a shop will confirm it.

A stuck brake drags all the time. It feels like driving with the parking brake on. The wheel may feel hot after a drive. A shop can free or replace the caliper.

A fuel leak is rare but serious. If you smell fuel or see a wet patch under the car, stop driving and call a shop. Do not wait for the next fill-up.

Track your mileage every tank. A log shows a slow decline before it becomes a big bill. A drop of 2 MPG over a month is a warning. A drop of 6 MPG is a fault. The log is the cheapest diagnostic tool you own.

Gas Mileage for Trucks and Hybrids

Trucks get lower mileage than cars. A full-size pickup may get 15 to 20 MPG. A delivery van may get 12 to 18 MPG. The math is the same. Miles divided by gallons. The numbers are just smaller.

Hybrids get higher mileage in the city than on the highway. That is the reverse of a gas car. A hybrid recovers energy when it brakes. City driving has more braking. So a hybrid rated 50 MPG in the city and 45 MPG on the highway is normal. Track city and highway tanks separately to see the split.

Plug-in hybrids add a twist. A tank that includes many electric miles will show very high MPG. The gas engine barely runs. That MPG is not comparable to a gas car. Track the electric miles and the gas miles apart. Or track cost per mile instead. Cost per mile covers both fuels in one number.

Common Mistakes

The first mistake is to use a partial fill. If you do not fill the tank all the way, the gallons on the receipt do not match the fuel you used. Always fill to full for the method to work.

The second mistake is to forget the odometer start. Write it down at the first fill. A guess made later is often wrong by tens of miles. That error shifts the MPG by a few points.

The third mistake is to average the MPGs. Two tanks of 28 MPG and 33 MPG do not average to 30.5 MPG unless the tanks are the same size. Use total miles over total gallons.

The fourth mistake is to trust the dashboard alone. The display is a guide. The fill-up math is the truth. Check the display against your hand math once a month.

The fifth mistake is to compare one tank with the rating. One tank is noisy. Weather, traffic, and route change the number. Compare a five-tank average with the rating. That is a fair test.

Practice Problems

Try these. Answers are at the end of this section.

  1. A car drives 240 miles on 8 gallons. What is its gas mileage?
  2. A driver covers 420 miles and buys 14 gallons. What is the MPG?
  3. A car gets 25 MPG. How many gallons does it need for 300 miles?
  4. A driver spends 60 dollars at 4.00 dollars per gallon and drives 375 miles. What is the MPG?
  5. Two tanks: 300 miles on 10 gallons, then 330 miles on 11 gallons. What is the combined MPG?
  6. A car gets 30 MPG. Fuel costs 3.30 dollars a gallon. What is the cost per mile?
  7. A truck drives 180 miles on 12 gallons. What is its MPG?
  8. A hybrid drives 500 miles on 9 gallons. What is its MPG?

Answers: 1. 240 ÷ 8 = 30 MPG. 2. 420 ÷ 14 = 30 MPG. 3. 300 ÷ 25 = 12 gallons. 4. 60 ÷ 4.00 = 15 gallons. 375 ÷ 15 = 25 MPG. 5. Total miles 630, total gallons 21. 630 ÷ 21 = 30 MPG. 6. 3.30 ÷ 30 = 0.11 dollars per mile, which is 11 cents. 7. 180 ÷ 12 = 15 MPG. 8. 500 ÷ 9 = 55.56 MPG.

Quick Reference

Gas mileage equals miles driven divided by gallons used. Fill the tank, note the odometer, drive, fill again, and divide. Average several tanks for a true figure. Never average MPGs directly. Use total miles over total gallons. Cost per mile equals price per gallon divided by MPG. City mileage runs lower than highway mileage for gas cars. The reverse holds for hybrids.

Key Takeaways

Gas mileage is miles per gallon. The fill-up method gives the true number. Track several tanks to see a trend. Smooth driving, right tire pressure, and steady speed raise MPG. A sudden drop can mean a fault. Log every tank. The log costs nothing and it tells you more about your car than any dashboard display.