Skip to content
TheCalcUniverse

MPG & Fuel Efficiency Calculator — Free Online Calculator & Guide

Calculate MPG from miles driven and fuel used, estimate trip fuel costs, determine driving range, or convert between MPG and L/100km.

✓ Tested formula & cited sources Formula verified 2026-05-17 Runs in your browser — inputs never sent anywhere

See it worked out

Example — Miles Driven 350 miles, Gallons of Fuel Used 12.5 gallons, Vehicle MPG 30 MPG, Fuel Price 3.50 /gallon:

Fuel Economy

28.00 MPG

In Liters per 100 km

8.40 L/100km

Kilometers per Liter

11.90 km/L

The formula

MPG = Miles Driven ÷ Gallons Used | L/100km = 235.215 ÷ MPG

MPG
Miles Per Gallon
L/100km
Liters per 100 Kilometers
KPL
Kilometers per Liter

Worked example — Miles Driven 350 miles, Gallons of Fuel Used 12.5 gallons, Vehicle MPG 30 MPG, Fuel Price 3.50 /gallon

Fuel Economy = 28.00 MPG

Full explanation ↓

How MPG Calculator Works

MPG = Miles Driven ÷ Gallons Used | L/100km = 235.215 ÷ MPG

Miles per gallon (MPG) is the US standard fuel efficiency measure. The conversion factor 235.215 converts between MPG and liters per 100 km (the metric standard). Lower L/100km is better fuel economy.

MPG
Miles Per GallonNumber of miles a vehicle can travel on one gallon of fuel. Higher MPG = better fuel economy. The US standard measure of fuel efficiency.
L/100km
Liters per 100 KilometersMetric standard measure of fuel consumption. Lower values are better. A car that gets 30 MPG consumes about 7.8 L/100km.
KPL
Kilometers per LiterMetric measure of fuel economy. 1 MPG ≈ 0.425 KPL. Used in countries like Canada, the UK, and Japan.
MPG scale — higher bars represent better fuel efficiency

How to Use

  1. Select the calculation type from the dropdown: MPG, trip cost, range, or unit conversion.
  2. Enter the required values for your selected calculation.
  3. View fuel economy, trip costs, or unit conversions.
  4. Use the range mode to estimate how far you can drive on a full tank (with a 10% reserve).

Quick Reference

MPG to L/100km235.215 / MPG
L/100km to MPG235.215 / (L/100km)
EPA Compact Car (avg)28-34 MPG combined
EPA Midsize Sedan (avg)25-32 MPG combined
EPA Full-Size Truck (avg)17-22 MPG combined
Speed Penalty-7% MPG per 5 mph over 55
A/C Penalty-5 to -25% MPG (extreme heat)
Cold Engine Penalty-15 to -30% MPG (first 5 min)

Common Uses

  • Measuring your vehicle actual fuel economy by tracking miles driven and gallons used between fill-ups
  • Estimating fuel cost for an upcoming road trip using your car real MPG and current gas prices
  • Calculating how far you can drive on a full tank to plan long-distance routes and fuel stops
  • Converting between MPG and L/100km when comparing US and international vehicle fuel efficiency ratings

Understanding the Result

Fuel economy is measured in MPG in the United States and most of the Western hemisphere. Europe and most of the world use L/100km (lower is better). To convert: L/100km = 235.215 ÷ MPG. The EPA tests vehicles under standardized conditions — real-world MPG is typically 10-20% lower. Factors affecting real-world MPG include driving speed (every 5 mph over 50 mph is like paying $0.18-$0.30 more per gallon), air conditioning use (can reduce MPG by up to 25% in extreme conditions), tire pressure (under-inflated tires can lower MPG by 0.3% per 1 PSI drop), cargo weight (every 100 pounds reduces MPG by about 1-2%), and road grade (hilly terrain significantly increases fuel consumption). For hybrid and electric vehicles, driving style has an even larger impact — aggressive acceleration can reduce efficiency by 30-40% compared to smooth driving. The trip cost mode helps you budget for road trips: a 1,000 mile trip in a car getting 30 MPG at $3.50 per gallon costs about $117 in fuel. The range mode answers the common question "how far can I go on a tank?" — a 15-gallon tank at 30 MPG gives 450 miles of range, or about 405 miles of practical range leaving a 10% reserve.

Worked Examples

Emma fills up her sedan after driving 385 miles and the pump shows 14.2 gallons. With gas at $3.59/gallon in her area, what is her real MPG and cost per mile?

mode = mpg · milesDriven = 385 · gallonsUsed = 14.2

27.11 MPG — 8.68 L/100km — $0.13/mile fuel cost

MPG = 385 / 14.2 = 27.1 MPG. Convert to metric: 235.215 / 27.1 = 8.68 L/100km. At $3.59/gallon, her fuel cost per mile = $3.59 / 27.1 = $0.132/mile. Compared to the EPA combined rating of 30 MPG for her car, she is getting about 10% less — within the expected real-world variance due to city driving and occasional A/C use.

The Chen family is planning a 1,200-mile road trip from Chicago to Orlando in their minivan averaging 24 MPG. Gas prices along the route average $3.45/gallon. The minivan has an 18-gallon tank. How much will fuel cost and how many stops will they need?

mode = tripcost · milesDriven = 1200 · mpg = 24 · fuelPrice = 3.45

$172.50 total fuel cost — 50 gallons needed — ~3 fuel stops at 389-mile intervals

Gallons needed = 1,200 / 24 = 50 gallons. Total fuel cost = 50 x $3.45 = $172.50. For range planning: Full tank range = 18 x 24 = 432 miles. Practical range (90% tank) = 16.2 x 24 = 389 miles. With 1,200 miles and ~389 miles between fill-ups, they will need about 3 fuel stops. Spacing them approximately every 380-400 miles gives a comfortable buffer. Budget $175 for fuel and plan stops around the 380, 760, and 1,140 mile marks.

Frequently Asked Questions

Why is my real-world MPG lower than the EPA estimate?
EPA estimates are from standardized lab conditions. Highway driving at 75+ mph, frequent acceleration, using A/C, cold weather (winter blend fuel reduces MPG by 3-5%), and carrying extra weight all reduce MPG vs. the EPA estimate. Expect 10-20% lower real-world MPG in normal mixed driving.
How do I measure my actual MPG?
Fill your tank completely, reset your trip odometer, drive until you need fuel, fill up again, and divide the miles driven by the gallons pumped. This is the most accurate real-world measurement. Keep a log over multiple fill-ups for a more reliable average.
How can I improve my fuel economy?
Maintain steady speeds using cruise control, keep tires properly inflated, remove excess weight from the trunk, avoid aggressive acceleration and braking, use the recommended grade of motor oil, and combine errands into single trips to avoid cold-engine driving (which is less efficient).
What is the MPG illusion and why does it matter?
The MPG scale is misleading because it is not linear. Replacing a 10 MPG truck with a 20 MPG truck saves 5 gallons per 100 miles (50 gallons per 1,000 miles). Replacing a 30 MPG sedan with a 60 MPG hybrid saves only 1.67 gallons per 100 miles (16.7 gallons per 1,000 miles). The fuel savings from MPG improvements diminish as MPG increases, even though the numbers look equally impressive. This is why European and Canadian regulators use L/100km — it is linear and avoids this cognitive bias. When prioritizing fuel economy upgrades, focus on the least efficient vehicles first.
Does using premium gas improve MPG?
Only if your vehicle requires or recommends it. For cars designed for regular (87 octane), premium fuel provides zero benefit to fuel economy or performance. The higher octane rating only prevents engine knock (pre-ignition) in high-compression engines. If your owner's manual says "premium recommended" (not "required"), you can use regular without damage — modern engines have knock sensors that adjust timing, though you may lose 3-5% power and see a small MPG drop. If the manual says "premium required," use premium to avoid engine damage. The cost difference (typically $0.60-$1.00/gallon) almost never justifies using premium in a car designed for regular.
How accurate is my car's MPG display?
Most modern cars with trip computer MPG displays are reasonably accurate but tend to be optimistic by 3-5% compared to manual calculation (miles driven / gallons pumped). This is because the car's computer calculates fuel consumption from injector pulse width and fuel pressure rather than physically measuring fuel flow. The discrepancy can be larger in the first few thousand miles as the system calibrates. To verify your car's display: reset the trip computer, drive a full tank, then compare the displayed MPG to your manual calculation. If the gap is consistently more than 5%, mention it at your next service appointment — it may indicate a sensor calibration issue.

Pro Tips

  • Track your MPG over multiple fill-ups, not just one. A single tank can vary by 10-15% due to pump shut-off differences, temperature, and driving conditions. Average 5+ tanks for your real baseline. Apps like Fuelly or a simple notes app make this easy.
  • Speed is the biggest controllable factor in fuel economy. Every 5 mph above 55 mph reduces fuel economy by roughly 7-8%. Driving at 65 mph instead of 75 mph on a 300-mile trip saves about $5-7 in fuel and only adds about 22 minutes of travel time.
  • Under-inflated tires cost you money silently. For every 1 PSI drop in pressure across all four tires, fuel economy decreases by approximately 0.2%. Most cars on the road have at least one under-inflated tire. Check pressure monthly — it takes 2 minutes and costs nothing at most gas stations.
  • Use the trip cost mode before road trips to budget accurately. Fuel is often the single largest trip expense after lodging. Knowing the exact cost removes guesswork and lets you split costs fairly if traveling with friends.
  • When comparing fuel efficiency between US and international vehicles, always use L/100km for an apples-to-apples comparison. The MPG scale is non-linear: improving from 10 to 20 MPG saves 5 gallons per 100 miles. Improving from 30 to 40 MPG saves only 0.83 gallons per 100 miles. The L/100km scale is linear and avoids this "MPG illusion."

Limitations to Know

  • This calculator provides theoretical fuel economy and cost estimates based on the values entered. Actual MPG varies with driving conditions (city vs. highway mix), weather (cold engines use more fuel, winter-blend gasoline has 2-4% less energy), road grade, vehicle load, and driving style.
  • The MPG-to-L/100km conversion uses the constant 235.215, which is accurate for US gallons. For Imperial (UK) gallons, the conversion constant is 282.481 instead.
  • The trip cost mode assumes constant fuel prices along the route; real prices vary by state and station. The range mode uses a simplified 90% practical tank; actual low-fuel warning light behavior varies by manufacturer.
  • For hybrid and plug-in hybrid vehicles, real-world MPG depends heavily on trip length, battery state of charge, and ambient temperature beyond what this calculator models.
Was this calculator helpful?
Cite this calculator

TheCalcUniverse. "MPG & Fuel Efficiency Calculator — Free Online Calculator & Guide." TheCalcUniverse, 2026, https://thecalcuniverse.com/automotive/mpg-calculator/. Accessed July 24, 2026.

Embed this calculator on your site

Free to embed. Paste this into any HTML page — it stays up to date automatically.

Open embed ↗

You may also like