ThisCalculator

Conversions

Fuel Economy Calculator US Gallons: MPG Explained

Updated · Standard formula, shown below

Fuel economy 25.00 mpg
Gallons per 100 miles
4.00 gal/100mi
Result
Miles driven
300 miles
You entered
US gallons used
12 gal
You entered

Fuel Economy Calculator US Gallons: MPG Explained

This fuel economy calculator works out miles per gallon (MPG) using US gallons, which is the standard measure for fuel efficiency in the United States. You enter the miles driven and the US gallons of fuel used, and the calculator returns your average fuel economy in MPG, along with the complementary metric of gallons per 100 miles. The result tells you how many miles your vehicle travels on one US gallon of gasoline, letting you compare efficiency across trips or vehicles.

Formula

The core formula for fuel economy in US gallons is straightforward:

MPG = Miles driven ÷ US gallons used

Where:

  • Miles driven – the distance traveled, in miles (mi).
  • US gallons used – the volume of fuel consumed, in US gallons (gal). One US gallon equals 3.78541 liters.
  • MPG – miles per US gallon, the standard fuel economy unit in the US.

For the complementary metric, gallons per 100 miles = (gallons ÷ miles) × 100. This is the inverse of MPG scaled to a 100-mile trip, often used for comparing vehicles because it linearizes fuel consumption.

Worked Example

Using the default values from the calculator (300 miles driven, 12 US gallons used):

  1. Divide miles by gallons: 300 ÷ 12 = 25 MPG.
  2. For gallons per 100 miles: (12 ÷ 300) × 100 = 4.00 gal/100mi.

So the calculator returns 25.00 MPG and 4.00 gal/100mi. This means the vehicle travels 25 miles per gallon, or consumes 4 gallons to cover 100 miles.

Why US Gallons Differ from Imperial Gallons

A common confusion is the difference between US and imperial gallons. The US gallon is defined as 231 cubic inches (about 3.785 liters), while the imperial gallon (used in the UK, Canada, and some other countries) is 277.42 cubic inches (about 4.546 liters). That’s roughly 20% larger. If you use imperial gallons in this calculator, your MPG figure will be about 20% higher than the US MPG for the same actual fuel consumption. For example, a car that gets 30 US MPG would get about 36 imperial MPG. Always confirm which gallon your fuel purchase or odometer reading uses, especially when comparing vehicles across countries.

How to Measure Your Own Fuel Economy

To get an accurate MPG reading from a real trip, follow this method:

  • Fill the tank completely and note the odometer reading (or reset the trip meter).
  • Drive normally until you need fuel again.
  • Fill the tank completely again, noting the exact gallons pumped (from the pump display).
  • Subtract the first odometer reading from the second to get miles driven.
  • Divide miles by gallons pumped.

For best accuracy, use the same pump and fill method each time, and average over several fill-ups to smooth out variations from driving conditions, terrain, and traffic.

Common Mistakes and Misconceptions

Several errors can skew your MPG calculation:

  • Mixing gallon types – using imperial gallons instead of US gallons gives a wrong result, as noted above.
  • Not filling completely – if you don’t fill to the same level each time, the gallons used won’t match the miles driven.
  • Including non-driving fuel use – idling or using the vehicle for auxiliary power (like running a generator) consumes fuel without adding miles, lowering your calculated MPG.
  • Rounding too early – rounding miles or gallons before dividing can cause noticeable errors. Keep full precision until the final step.
  • Assuming MPG is constant – MPG varies with speed, load, tire pressure, and driving style. A single trip’s MPG is not the vehicle’s official rating.

Also note that MPG is not a linear measure of efficiency. A change from 15 to 20 MPG saves more fuel than a change from 30 to 35 MPG, even though both are 5 MPG. That’s why gallons per 100 miles is often used for comparing efficiency improvements.

How to Choose a Fuel Economy Metric

For most US drivers, MPG is the familiar standard, but the right metric depends on your goal:

  • MPG (miles per gallon) – best for comparing vehicles on a like-for-like basis in the US, and for estimating how far you can go on a tank.
  • Gallons per 100 miles – better for calculating fuel costs over a fixed distance, because it scales linearly with consumption. For example, if gas costs $3 per gallon, a car that uses 4 gal/100mi costs $12 per 100 miles.
  • Liters per 100 km – the metric equivalent, used in most other countries. To convert US MPG to L/100km, divide 235.215 by the MPG value.

If you’re comparing a hybrid to a gas car, or a small car to a large SUV, using gallons per 100 miles can make the difference clearer.

Limitations of the Simple MPG Formula

The basic MPG formula ignores several real-world factors:

  • Driving conditions – city vs. highway driving changes efficiency significantly; the formula gives an average for the specific trip, not a universal rating.
  • Fuel type – gasoline, diesel, and ethanol blends have different energy densities, so MPG alone doesn’t compare energy efficiency across fuels.
  • Vehicle load and aerodynamics – carrying heavy cargo or driving with a roof rack increases fuel consumption, lowering MPG.
  • Tire pressure and maintenance – underinflated tires or a dirty air filter can reduce MPG by a few percent.
  • Measurement error – odometer inaccuracies and pump variations introduce small errors, especially over short trips.

For official EPA ratings, the US government uses standardized tests that account for city, highway, and combined driving, but your real-world MPG will rarely match those exactly. Use this calculator for personal tracking, not as a legal or certified measurement.

Frequently Asked Questions

How do I convert MPG to liters per 100 km?

To convert US MPG to L/100km, divide 235.215 by the MPG value. For example, 30 MPG equals about 7.84 L/100km. This conversion works only with US gallons; if you have imperial MPG, use 282.481 instead.

Why does my car’s computer MPG differ from my manual calculation?

The car’s onboard computer estimates fuel flow based on engine sensors and may not account for fuel used during idling or when the engine is off but the system is on. Manual calculation from pump fill-ups is generally more accurate, but it can still vary due to pump shut-off differences and driving conditions.

Is higher MPG always better?

Higher MPG means less fuel consumed per mile, which is generally better for cost and emissions. However, MPG is not linear in fuel savings – improving from 15 to 20 MPG saves more fuel than improving from 30 to 35 MPG. For comparing efficiency, gallons per 100 miles is more intuitive.

What is the difference between US and imperial MPG?

The only difference is the gallon size. US MPG uses US gallons (3.785 liters), while imperial MPG uses imperial gallons (4.546 liters). For the same vehicle, imperial MPG will be about 20% higher than US MPG. Always confirm which gallon your fuel pump uses.

Can I use this calculator for diesel or electric vehicles?

For diesel, yes – the same MPG formula applies, though diesel has more energy per gallon than gasoline, so MPG numbers will be higher for a comparable vehicle. For electric vehicles, MPG doesn’t apply; instead, use miles per kilowatt-hour (mi/kWh) or the EPA’s MPGe (miles per gallon equivalent), which converts electrical energy to the equivalent of a gallon of gasoline.

How many miles should I drive to get an accurate MPG reading?

For a reliable single-trip measurement, drive at least 100 miles, but ideally 200-300 miles, to minimize the impact of pump variability and short-term driving conditions. For a stable average, combine data from at least three full fill-ups.

Related

Formula used
in miles | Miles driven | miles | 300 | 0
in gallons | US gallons used | gal | 12 | 0
out mpg | Fuel economy | mpg | miles / gallons | 2
out gpm | Gallons per 100 miles | gal/100mi | (gallons / miles) * 100 | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.