Gas Mileage Calculator (MPG)
Calculate your vehicle's fuel efficiency in miles per gallon (MPG) by entering the miles driven and the gallons of fuel used. Also shows gallons used per 100 miles as a secondary measure.
- Gallons per 100 miles
- 4 gal/100mi
MPG is miles driven divided by gallons of fuel consumed. Fill the tank, reset your trip odometer, drive normally, then refill and record the gallons added at the next fill-up for an accurate reading.
What the Gas Mileage Calculator Does
This gas mileage calculator tells you your vehicle's fuel economy in miles per gallon (MPG). You enter the miles you drove on a tank (or between two fill-ups) and the gallons of fuel you used, and it returns your MPG.
It is useful for anyone who wants to track real-world fuel economy rather than rely on the EPA sticker number: commuters comparing routes, drivers checking whether a tune-up helped, road-trippers budgeting fuel, and used-car shoppers verifying a vehicle's efficiency before buying.
How MPG Is Calculated (The Formula)
The math is simple division. Miles per gallon is the distance you traveled divided by the fuel you burned to travel it:
MPG = miles driven / gallons used
The most accurate way to measure 'gallons used' is the fill-to-fill method: fill the tank completely, reset your trip odometer to zero, drive normally, then fill up again. The miles on your trip odometer are 'miles driven,' and the gallons the pump adds at the second fill-up are 'gallons used,' because that volume exactly replaces what you burned.
Worked Example
Suppose you fill your tank and reset the trip odometer. When you return to the pump, the trip odometer reads 312 miles, and the pump dispenses 11.4 gallons to top off the tank.
Plug the numbers into the formula: 312 / 11.4 = 27.4 MPG.
If you wanted to estimate fuel cost for that distance at $3.50 per gallon, multiply gallons by price: 11.4 x $3.50 = $39.90, or about $0.128 per mile.
Tips for an Accurate Reading
Small measurement habits make a big difference in how reliable your MPG figure is. Follow these to get numbers you can trust:
- Fill consistently: stop at the first automatic click-off both times so the starting and ending fuel levels match.
- Measure over a full tank, not a few gallons; rounding errors shrink the more miles and gallons you average.
- Average several tanks. One tank reflects one trip; three or four give a truer picture of your everyday economy.
- Use the trip odometer, not your memory, and reset it the moment you finish fueling.
- Keep units consistent. This tool uses U.S. gallons; UK (imperial) gallons are larger, so the same car shows a higher 'MPG' number under that measure.
Factors That Affect Your MPG
Two drivers in identical cars can see very different MPG, because fuel economy depends heavily on how and where you drive. City stop-and-go traffic, frequent short trips, and idling lower MPG, while steady highway cruising raises it.
Other common influences include under-inflated tires, a heavy load or roof rack, aggressive acceleration and hard braking, running the air conditioner, cold weather, and overdue maintenance such as a clogged air filter or worn spark plugs. If your calculated MPG suddenly drops well below your usual average, it is often a signal to check tire pressure and schedule service.
Frequently asked questions
How do I measure gallons used accurately?
Fill your tank completely and note the odometer (or reset the trip meter). Drive normally, then fill up again. The gallons added at the second fill-up equals the fuel you used over that distance.
What is a good MPG?
It depends on the vehicle. Many modern compact cars achieve 30-40 MPG, while larger SUVs and trucks often range from 15-25 MPG. Hybrids can exceed 50 MPG.
What does gallons per 100 miles mean?
It is the inverse measure of fuel economy: how many gallons you burn to travel 100 miles. Lower is better, and it is often easier to compare fuel savings between thirsty vehicles.