Miles Per Gallon Calculator
A miles per gallon calculator determines your vehicle's fuel efficiency by dividing the miles driven by the gallons of fuel used. Enter your trip details below to instantly calculate your MPG, fuel cost per mile, and estimated cost per trip.
What Is Miles Per Gallon (MPG)?
Miles per gallon (MPG) is the standard measure of fuel economy used in the United States. It expresses how many miles a vehicle can travel on one gallon of fuel. A higher MPG means the vehicle is more fuel-efficient and costs less to operate per mile. MPG is typically reported as a combined figure (a weighted average of city and highway driving) or separately as city MPG and highway MPG.
The US Environmental Protection Agency (EPA) tests and certifies MPG ratings for all new vehicles sold in the United States. These official estimates are found on the Monroney sticker (window sticker) of every new car and on the fueleconomy.gov website maintained by the US Department of Energy. Real-world MPG often differs from the EPA estimate because driving style, load, road conditions, and weather all affect actual fuel consumption.
How to Calculate MPG
The MPG Formula
The formula for calculating miles per gallon is straightforward:
If you also know the price per gallon, you can calculate the cost per mile and the total fuel cost for any trip:
How to Track Fuel Economy
To calculate your actual MPG accurately, follow these steps: Fill your tank completely until the fuel pump shuts off. Reset your trip odometer to zero. Drive normally until your tank is low enough that you need to refuel — a full tank cycle produces the most accurate results. Fill the tank to full again at the same pump type, and record the gallons pumped and the odometer reading. Divide the miles driven by the gallons used.
For most accurate results, repeat the calculation over at least three full tanks and average the results. A single tank can be skewed by driving conditions. Many modern vehicles have a built-in trip computer that estimates MPG in real time, though this estimate may be slightly optimistic compared to the fill-to-fill calculation. You can convert your miles to kilometers using the miles converter if you need to compare with international fuel economy figures.
Average MPG by Vehicle Type
Sedans
Compact and midsize sedans are among the most fuel-efficient vehicle types in the non-hybrid category. Entry-level compact sedans commonly achieve 30 to 38 MPG combined in the current model year. Midsize sedans average 28 to 35 MPG combined. Premium and performance sedans with larger engines typically deliver 20 to 28 MPG combined. The most efficient non-hybrid sedans approach 40 MPG highway through the use of turbocharged small-displacement engines, continuously variable transmissions, and cylinder deactivation.
SUVs and Trucks
Crossover SUVs based on car platforms typically achieve 25 to 32 MPG combined. Larger body-on-frame SUVs average 15 to 22 MPG. Half-ton pickup trucks with V8 engines average 15 to 20 MPG, while half-ton trucks with V6 engines or turbo-four engines can achieve 20 to 25 MPG. Heavy-duty three-quarter ton and one-ton diesel pickup trucks average 15 to 22 MPG on highway. Diesel powertrains in trucks typically produce 20 to 30 percent better fuel economy than comparable gasoline engines on the highway.
| Vehicle Type | Typical MPG (Combined) | L/100km Equivalent |
|---|---|---|
| Compact sedan | 30 – 38 MPG | 6.2 – 7.8 L/100km |
| Midsize sedan | 28 – 35 MPG | 6.7 – 8.4 L/100km |
| Compact crossover SUV | 27 – 33 MPG | 7.1 – 8.7 L/100km |
| Midsize SUV (body-on-frame) | 17 – 22 MPG | 10.7 – 13.8 L/100km |
| Half-ton pickup (gas) | 17 – 24 MPG | 9.8 – 13.8 L/100km |
| Minivan | 22 – 28 MPG | 8.4 – 10.7 L/100km |
| Hybrid (car) | 42 – 58 MPG | 4.1 – 5.6 L/100km |
| Plug-in hybrid (PHEV) | 30 – 50 MPG (gas only) | 4.7 – 7.8 L/100km |
Hybrids and Electric
Full hybrid vehicles (HEV) use a combustion engine combined with an electric motor and battery to recapture braking energy and supplement engine power. Toyota Prius-style hybrids achieve 50 to 58 MPG combined, making them among the most efficient non-electric vehicles available. Hybrid SUVs like the Toyota RAV4 Hybrid achieve 38 to 41 MPG — significantly better than their non-hybrid counterparts. Plug-in hybrid vehicles (PHEV) can run on electricity for 20 to 50 miles before falling back to the gas engine, making their MPG heavily dependent on how much of the driving is done on electricity. Fully electric vehicles (BEV) are rated in MPGe (miles per gallon equivalent) — the Toyota bZ4X achieves approximately 119 MPGe combined and the Tesla Model 3 achieves around 132 MPGe.
MPG vs L/100km
The United States, United Kingdom, and Canada (partially) use MPG to measure fuel economy. Most other countries use liters per 100 kilometers (L/100km). The two systems express fuel efficiency in opposite ways: a higher MPG means better efficiency, while a lower L/100km means better efficiency. To convert between them, use the formula:
Note that the UK uses Imperial gallons (1.2009 US gallons), so UK MPG figures are always higher than US MPG for the same vehicle. A car rated at 40 UK MPG is approximately 33 US MPG. When comparing fuel economy across countries, always verify whether the figure uses US gallons (3.785 liters) or Imperial gallons (4.546 liters). The EPA vehicle comparison tool provides official US MPG ratings for all new vehicles.
How to Improve Fuel Economy
Driving Habits
Driving behavior has the single largest impact on real-world fuel economy. Aggressive acceleration and hard braking can reduce MPG by 15 to 40 percent in stop-and-go traffic. The most fuel-efficient driving technique involves anticipating traffic flow, coasting to decelerate rather than braking, and maintaining steady speeds. On the highway, fuel economy drops sharply at speeds above 55 mph — each 5 mph over 50 mph effectively increases fuel costs by 7 to 14 percent. Cruise control on flat highways maintains more consistent speed than manual throttle input and typically improves highway MPG by 3 to 7 percent.
Idling burns fuel at roughly 0.2 to 0.5 gallons per hour depending on engine size. Modern engine start-stop systems reduce idling at traffic lights, but manual idling to warm up the engine before driving is rarely necessary with modern multi-grade synthetic oils. Reducing roof rack and cargo box use when not needed also improves aerodynamics — an empty roof rack increases drag by 2 to 8 percent even without cargo.
Vehicle Maintenance
Underinflated tires increase rolling resistance and can reduce MPG by 0.2 percent for every 1 PSI below the recommended pressure. Check tire pressure monthly and before long trips — the correct inflation pressure is listed on the door jamb sticker, not on the tire sidewall. You can use the pressure converter to convert between PSI and bar if your gauge uses different units. Replacing a clogged air filter can improve acceleration and fuel economy by up to 10 percent on older vehicles with carbureted engines. Modern fuel-injected engines compensate electronically, but a dirty air filter still affects performance.
Using the manufacturer-recommended motor oil grade is important for fuel economy. Thicker oil than required increases friction. Using 5W-30 when 5W-20 is specified can reduce MPG by 1 to 2 percent. Spark plug condition also matters — worn or fouled spark plugs cause incomplete combustion, reducing both power and fuel efficiency. Most manufacturers recommend spark plug replacement every 60,000 to 100,000 miles depending on the plug type.
Fuel Cost Calculator
Cost Per Mile Formula
The cost per mile for fuel is calculated by dividing the price per gallon by the MPG:
The total fuel cost for any trip is simply the gallons used multiplied by the gas price per gallon, or equivalently the miles driven multiplied by the cost per mile. A vehicle getting 25 MPG costs $0.14 per mile in fuel at $3.50/gallon, while a vehicle getting 40 MPG costs only $0.0875 per mile — a difference of over $800 per year at 15,000 annual miles.
Annual Fuel Cost Estimate
The average American drives approximately 13,500 to 15,000 miles per year according to Federal Highway Administration data. At 15,000 miles per year and $3.50 per gallon, here is how annual fuel costs vary by MPG:
| MPG | Gallons/Year | Annual Cost ($3.50/gal) | Cost Per Mile |
|---|---|---|---|
| 15 MPG | 1,000 gal | $3,500 | $0.233 |
| 20 MPG | 750 gal | $2,625 | $0.175 |
| 25 MPG | 600 gal | $2,100 | $0.140 |
| 30 MPG | 500 gal | $1,750 | $0.117 |
| 35 MPG | 429 gal | $1,500 | $0.100 |
| 40 MPG | 375 gal | $1,313 | $0.0875 |
| 50 MPG | 300 gal | $1,050 | $0.070 |
Based on 15,000 miles per year and $3.50 per gallon. Adjust for your actual mileage and local gas prices using the calculator above.
FAQ
What is good MPG?
For a standard gas-powered car, 30 MPG or above is considered good. Above 35 MPG is very good, and above 40 MPG is excellent for a non-hybrid vehicle. For SUVs, 25 MPG or above is good. For pickup trucks, 20 MPG or above is above average. The EPA's Most and Least Fuel Efficient Vehicles list is updated annually at fueleconomy.gov.
How do you calculate MPG?
Divide the miles driven by the gallons of fuel used: MPG = Miles ÷ Gallons. For the most accurate calculation, fill your tank completely at the start, drive normally, then refill completely and record the gallons pumped and the miles traveled since the last fill-up.
What is the average MPG for a car?
The average new car sold in the United States achieves approximately 26 MPG combined. The fleet average has improved significantly from around 22 MPG in 2010. Average MPG varies widely by vehicle class — compact cars average 32 MPG while full-size pickups average around 19 MPG.
How do you convert MPG to L/100km?
Divide 235.214 by the MPG figure. For example, 30 MPG = 235.214 ÷ 30 = 7.84 L/100km. Going the other direction, divide 235.214 by the L/100km value to get MPG. The calculator above performs this conversion automatically.
Does AC affect MPG?
Yes, running the air conditioner reduces fuel economy by 5 to 25 percent depending on conditions. The impact is highest in city driving and lowest at steady highway speeds. Opening windows at city speeds is generally more efficient than AC, but above 45 to 50 mph the aerodynamic drag from open windows often uses more fuel than the AC compressor.
Also check out: