Gas Mileage Calculator
Calculate MPG, km/L, and L/100km from distance and fuel used. Estimate annual fuel costs and compare against benchmarks.
Enter up to 5 trips (distance + fuel used). Leave extra rows blank.
MPG
—
miles per gallon
km/L
—
L/100km
—
Annual Fuel Cost
—
Cost per Mile
—
MPG vs. Vehicle Benchmarks
Calculation Details
Embed This Calculator
Copy the code and paste it into any webpage to embed this calculator.
WordPress users: add a Custom HTML block (not the Embed block) and paste the code there.
Free to use. A small "Powered by Blucalculator" credit is appreciated but not required.
How to Use This Gas Mileage Calculator
This calculator has three modes, each answering a different fuel economy question.
Calculate MPG is the core function. Enter the distance you drove (miles or km) and how much fuel you used (gallons or liters). The calculator gives you MPG, km/L, and L/100km simultaneously. Enter your annual mileage and fuel price and it adds an annual fuel cost estimate. Switch the unit toggle to Metric if your car displays distance in km.
Fuel Cost works in reverse: if you already know your MPG, enter it along with your annual mileage and current gas price to see your yearly and monthly fuel spend. The accompanying chart shows how your cost compares across the MPG range so you can see exactly what a better car would save you.
Multi-Trip Average handles real-world tracking. Enter up to five separate fill-up records (distance + fuel each time) and the calculator shows your true average MPG across all of them. Single-fill measurements can be inaccurate. Using three to five fill-ups gives a much more reliable picture of your actual fuel economy.
For best accuracy, always measure by filling your tank completely at the start, driving normally, then filling completely again. Record the exact odometer reading difference and the exact gallons pumped at the second fill-up.
The MPG Formula and All Unit Conversions
Miles per gallon (US):
Kilometers per liter:
Liters per 100 kilometers:
Converting between MPG and L/100km:
The constant 235.21 comes from the number of km per mile (1.60934) multiplied by the number of liters per US gallon (3.78541) multiplied by 100.
Converting between MPG and km/L:
Worked example: Finding your car’s true MPG
You drove 347 miles and your second fill-up required 11.4 gallons.
- MPG = 347 / 11.4 = 30.4 MPG
- km/L = 30.4 / 2.35215 = 12.9 km/L
- L/100km = 235.21 / 30.4 = 7.74 L/100km
- Annual fuel cost at 15,000 mi/year and $3.50/gal: (15,000 / 30.4) x $3.50 = $1,726
What Is Good Gas Mileage?
Fuel economy expectations vary by vehicle class. A figure that’s excellent for a full-size truck is mediocre for a compact car.
| Vehicle Class | Poor MPG | Average MPG | Good MPG | Excellent MPG |
|---|---|---|---|---|
| Compact car | below 28 | 28-34 | 34-40 | 40+ |
| Mid-size sedan | below 24 | 24-30 | 30-36 | 36+ |
| Compact SUV | below 22 | 22-28 | 28-34 | 34+ |
| Full-size SUV | below 16 | 16-22 | 22-26 | 26+ |
| Full-size truck | below 15 | 15-20 | 20-24 | 24+ |
| Standard hybrid | below 40 | 40-50 | 50-58 | 58+ |
The US EPA reports the overall fleet average for new vehicles sold in 2024 at approximately 28-30 MPG combined (city + highway weighted average). This is meaningfully higher than a decade ago when the fleet average was around 23 MPG.
For context, the best non-hybrid cars on the market in 2024 achieve 35-40 MPG combined. The best hybrids (Toyota Prius, Honda Insight) achieve 52-57 MPG. Plug-in hybrids list MPGe figures for electric mode that are not directly comparable.
Why Your Actual MPG Differs from the EPA Estimate
If your car’s window sticker says 32 MPG combined but your fill-up calculations show 27 MPG, you’re not alone. Real-world MPG routinely falls 10-20% below EPA estimates. Here’s why.
City driving is harder on fuel economy than EPA tests assume. The EPA city test averages about 20 mph. Real urban driving in congested cities may average less, with more aggressive stop-and-go. Each cold engine start uses extra fuel. Short trips where the engine never fully warms up are especially costly per mile.
Air conditioning has a real impact. Running the AC compressor at full capacity can reduce fuel economy by 5-25% depending on conditions. The EPA test uses mild climate conditions. A summer drive in Arizona will produce meaningfully worse numbers.
Speed makes a big difference. The EPA highway test averages about 48 mph. If you drive at 75-80 mph, aerodynamic drag increases significantly. The drag force on a vehicle scales with the square of speed. Going 75 instead of 60 increases aero drag by 56%.
Cold weather reduces MPG. Internal combustion engines take longer to reach optimal operating temperature in cold weather. Gasoline blends in winter also have slightly lower energy density. Cold weather can reduce fuel economy by 10-20% at 20 degrees F versus 77 degrees F.
How you drive matters more than you think. Aggressive acceleration and late braking are the single largest contributor to real-world MPG gaps. Drivers who accelerate gently and anticipate stops can often achieve 15-25% better mileage in city driving than aggressive drivers in the same car.
Proven Ways to Improve Your Gas Mileage
These techniques are backed by Department of Energy and EPA research, not marketing claims.
Maintain correct tire pressure. Under-inflated tires increase rolling resistance. The DOE estimates that properly inflated tires improve MPG by 0.5-3% on average. Check your door jamb sticker for the recommended PSI, not the tire sidewall number. The sidewall shows maximum safe pressure.
Smooth acceleration and braking. This is the highest-impact habit change. Anticipate traffic flow, brake early and gently, and accelerate gradually. The DOE estimates aggressive driving reduces MPG by 15-30% in city conditions and 10-15% on the highway.
Avoid extended idling. Modern fuel-injected engines don’t need warm-up idling. An idling engine gets exactly 0 MPG. If you’re stopped for more than 60 seconds in a safe location, turning the engine off and restarting uses less fuel than idling.
Use the right motor oil grade. Using 5W-30 oil in an engine designed for 5W-20 can reduce fuel economy by 1-2%. Synthetic oils within the correct grade provide slightly lower friction than conventional oils, typically yielding 1-2% improvement.
Remove excess weight and drag. A loaded roof cargo carrier increases aerodynamic drag by 2-8% on the highway even when empty. Removing 100 lbs of cargo improves MPG by approximately 0.5-1%. These seem small but compound over thousands of miles.
Keep up with maintenance. A clogged air filter can reduce fuel economy by up to 10%. Worn spark plugs cause misfires and waste fuel. A failing oxygen sensor can mislead the engine management system into running a rich fuel mixture. These are maintenance items that pay for themselves quickly in fuel savings.
Multi-Trip Tracking for Accurate Fuel Economy Data
A single fill-up MPG calculation can be misleading due to factors like partial fill-up errors, terrain variation, or a mix of city and highway driving that doesn’t represent your typical use pattern.
For accurate fuel economy data, track at least three consecutive full fill-up cycles. Use the Multi-Trip Average tab to enter each one. The calculator weights them correctly by total distance and total fuel rather than averaging the individual MPG figures (which would introduce a calculation error).
Why you should not average per-trip MPG values
Trip 1: 100 miles, 4 gallons = 25 MPG Trip 2: 300 miles, 10 gallons = 30 MPG
Simple average of MPG: (25 + 30) / 2 = 27.5 MPG (incorrect)
Correct calculation: (100 + 300) miles / (4 + 10) gallons = 400 / 14 = 28.6 MPG
The correct method weights the longer trip appropriately. This calculator uses the correct method.
Seasonal tracking can also be useful. Many drivers notice their summer MPG is noticeably better than winter MPG due to temperature effects on engine efficiency, fuel blend differences, and greater AC use versus heater use (the heater is essentially free since it uses engine waste heat, while AC has a real fuel cost).
Why your real MPG differs from the EPA estimate
Every new car comes with an EPA fuel economy estimate on the window sticker. Most drivers never achieve those numbers in real-world driving. Understanding the gap helps you set realistic expectations and track genuine efficiency changes.
The EPA test cycle is optimized for repeatability, not real-world accuracy. Tests are conducted in a laboratory on a dynamometer (rollers), not on actual roads. The city cycle averages 21 mph with 23 stops over 11 miles. The highway cycle peaks at 60 mph. Neither captures modern driving conditions with faster highway speeds, aggressive traffic, or sustained high-speed travel.
Factors that reduce real-world MPG below EPA estimates:
- Highway speeds above 65 mph (aerodynamic drag increases with the square of speed)
- Cold weather (engines run richer when cold, battery-based systems lose efficiency)
- Air conditioning (draws 5-25% more fuel depending on load)
- Roof racks, cargo boxes, and extra weight
- Under-inflated tires (1 PSI low reduces MPG by about 0.2%)
- Aggressive acceleration and braking
- Short trips where the engine never fully warms up
Factors that can match or beat EPA estimates:
- Steady highway cruising at 55-60 mph
- Warm climates without extreme heat
- Hypermiling techniques (gradual acceleration, coasting to stops)
- Well-maintained engine and fresh air filter
- Properly inflated tires
| Driving condition | Typical MPG vs. EPA estimate |
|---|---|
| Ideal highway (55-60 mph, flat, warm) | +5 to +10% |
| Normal mixed driving | -5 to -15% |
| Cold weather (below 20°F) | -15 to -25% |
| City traffic, stop-and-go | -20 to -30% |
| Highway at 75-80 mph | -10 to -20% |
| AC running constantly | -5 to -15% |
How to calculate your true MPG. Fill your tank completely. Drive normally. Fill the tank again completely at a known mileage point. Divide the miles driven by the gallons used to refill. This is your actual fuel economy for that driving period. The Multi-Trip Average tab in this calculator tracks this across multiple fill-ups to give you a reliable average.
Practical strategies to improve gas mileage
Improving real-world MPG by 10-20% is achievable without changing vehicles. The strategies that actually move the needle:
Tire pressure. Keep tires inflated to the vehicle manufacturer’s recommended pressure (found on the door jamb sticker, not the tire sidewall). Every 1 PSI below recommended reduces fuel economy by about 0.2%. A tire 5 PSI low costs about 1% MPG. Check monthly, especially in fall and winter when temperature drops reduce pressure.
Driving speed. The relationship between speed and fuel consumption is not linear. At 55 mph, aerodynamic drag is manageable. At 75 mph, drag has roughly doubled. Most vehicles achieve peak fuel efficiency between 45-65 mph. Driving 70 mph instead of 65 mph typically reduces fuel economy by 7-14%.
Smooth acceleration. Hard acceleration from stops is the fastest way to waste fuel. Accelerating smoothly to highway speed over 15-20 seconds instead of 5-8 seconds can improve city MPG by 10-40%. The engine works least efficiently at wide-open throttle.
Reduce idling. Idling gets 0 MPG by definition. If stopped for more than 60 seconds (not in traffic), turning off the engine saves fuel. Modern engines warm up faster while being driven gently than while idling.
AC vs. windows. At low speeds (under 45 mph), opening windows is more efficient. At highway speeds, the aerodynamic drag from open windows costs more than the AC compressor. The crossover point varies by vehicle but is typically around 45-55 mph.
Frequently Asked Questions
What is good gas mileage?
Good gas mileage for a passenger car is 30 MPG or above. Excellent is 40+ MPG. Average new cars achieve 25-30 MPG. Hybrids reach 45-60 MPG. Heavy trucks and SUVs average 15-20 MPG. EPA ratings above 35 MPG combined qualify for the most fuel-efficient labeling.
How do I calculate MPG accurately?
Fill your tank completely, reset the trip odometer to zero, drive normally until you need fuel again, then fill up completely a second time. MPG = miles driven / gallons used on the second fill. For best accuracy, use the same pump and fill to the first auto-shutoff both times.
How do I improve my gas mileage?
Maintain correct tire pressure (adds 0.5-3% MPG), drive at steady highway speeds (55-65 mph is most efficient), use cruise control, avoid rapid acceleration, keep the engine tuned, replace air filters, and remove excess weight. Combining short trips also helps since engines use more fuel when cold.
What is the average MPG for cars today?
The US fleet average for new 2024 model year vehicles is approximately 28-30 MPG combined. Compact cars average 30-36 MPG, midsize sedans 26-32 MPG, compact SUVs 25-30 MPG, and full-size trucks 17-22 MPG. Hybrids average 45-60 MPG.
How do I convert MPG to L/100km?
L/100km = 235.21 / MPG (US). Examples: 30 MPG = 7.84 L/100km, 25 MPG = 9.41 L/100km, 40 MPG = 5.88 L/100km. The constant 235.21 comes from the number of liters in a US gallon (3.785) times the number of km per mile (1.609) times 100.
Does highway driving improve MPG?
Highway driving generally improves MPG versus city driving because there is less stopping and starting and the engine runs at a steady efficient RPM. However, very high speeds hurt MPG due to aerodynamic drag. Most cars achieve peak efficiency between 45 and 65 mph. The EPA rates city and highway separately for this reason.
How does driving speed affect MPG?
Aerodynamic drag increases with the square of speed, so fuel consumption rises sharply at high speeds. Driving at 75 mph instead of 55 mph typically reduces fuel economy by 15-20%. Each 5 mph over 60 mph is roughly equivalent to paying $0.20 more per gallon. The sweet spot for most vehicles is 45-60 mph.
What are the best MPG cars in 2024?
Top non-hybrid cars for 2024 include the Mitsubishi Mirage (39 MPG combined), Toyota Corolla (32 MPG), and Honda Civic (36 MPG highway). Top hybrids include the Toyota Prius (57 MPG combined), Honda Insight (52 MPG), and Toyota Camry Hybrid (51 MPG). Plug-in hybrids and EVs are rated separately in MPGe.
What are the best tips for saving gas?
Keep tires inflated to manufacturer spec, use the recommended motor oil grade, avoid idling for long periods, plan routes to avoid traffic, use air conditioning only when necessary at highway speeds, keep up with scheduled maintenance, and consider carpooling for regular commutes. Even a 5 MPG improvement on a 15,000-mile/year car saves $175-250 annually at average gas prices.
How does tire pressure affect MPG?
Under-inflated tires increase rolling resistance, which costs fuel economy. The US DOE estimates that for every 1 PSI drop in all four tires, MPG decreases by approximately 0.2%. Most passenger vehicles run 32-35 PSI; check your door jamb sticker, not the tire sidewall (which shows maximum, not recommended, pressure).
Related Calculators
Gas Calculator
Calculate trip fuel cost, gallons needed, and cost per mile from distance, MPG, and gas price.
Fuel Savings Calculator
Calculate annual and multi-year fuel savings from switching to a more fuel-efficient vehicle or reducing annual mileage.
KM Per Liter Calculator
Calculate km/L fuel efficiency from distance and fuel used, and instantly convert to MPG and L/100km.
Liters Per 100 Kilometers Calculator
Calculate L/100km fuel consumption from distance and fuel used, and convert to MPG and km/L.
Fuel Economy Unit Converter
Convert fuel economy between MPG (US), MPG (UK), km/L, and L/100km.
EV Fuel Savings Calculator
Calculate annual fuel savings by driving electric instead of gas, and see your 5-year ownership cost advantage.