MPG Calculator
Calculate MPG from miles driven and fuel used, estimate trip fuel costs, determine driving range, or convert between MPG and L/100km.
Choose what you want to calculate
Total miles driven between fill-ups
Gallons purchased to refill the tank
Your vehicle fuel economy in miles per gallon
Price per gallon of fuel
Your fuel tank capacity in gallons
Results
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
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 Gallon — Number 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 Kilometers — Metric standard measure of fuel consumption. Lower values are better. A car that gets 30 MPG consumes about 7.8 L/100km.
- KPL
- Kilometers per Liter — Metric measure of fuel economy. 1 MPG ≈ 0.425 km/L. Used in Japan and several other countries.
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.
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, so your real-world MPG often differs from the label. Factors affecting real-world MPG include driving speed (fuel economy falls off quickly above about 50 mph, per fueleconomy.gov), air conditioning use (a noticeable penalty in hot weather), cold weather (roughly 15% lower in city driving at 20°F than at 77°F, and up to 24% on short trips, per fueleconomy.gov), tire pressure (under-inflated tires can lower MPG by about 0.2% for every 1 PSI drop in average pressure, per fueleconomy.gov), cargo weight (an extra 100 pounds can reduce MPG by about 1%, per fueleconomy.gov), and road grade (hilly terrain increases fuel consumption).
For hybrid and electric vehicles, driving style has an even larger impact — aggressive acceleration reduces efficiency 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.
How to Use
- Select the calculation type from the dropdown: MPG, trip cost, range, or unit conversion.
- Enter the required values for your selected calculation.
- View fuel economy, trip costs, or unit conversions.
- Use the range mode to estimate how far you can drive on a full tank (with a 10% reserve).
Quick Reference
| MPG to L/100km | 235.215 / MPG |
| L/100km to MPG | 235.215 / (L/100km) |
| 1 US gallon | 3.785 liters |
| 1 mile | 1.609 km |
| Extra 100 lb of cargo | ≈ -1% MPG (fueleconomy.gov) |
| Tire pressure | ≈ -0.2% MPG per 1 psi low (fueleconomy.gov) |
| Cold weather (20°F, city) | ≈ -15% MPG (fueleconomy.gov) |
Frequently Asked Questions
- Why is my real-world MPG lower than the EPA estimate?
- EPA estimates are from standardized test conditions. Highway driving at high speed, frequent acceleration, using A/C, cold weather, and carrying extra weight all reduce MPG compared with the EPA estimate, so your own measured MPG can come out lower (or sometimes higher).
- 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 a little power and see a small MPG drop. If the manual says "premium required," use premium to avoid engine damage. The price difference per 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 can differ from a manual calculation (miles driven / gallons pumped) by a few percent, because the car computes fuel use from injector data rather than measuring it at the pump. 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 large, mention it at your next service appointment — it may indicate a sensor calibration issue.
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
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 a big controllable factor in fuel economy: it usually drops quickly above about 50 mph (fueleconomy.gov), so cruising a little slower on a long highway trip saves fuel for a modest time cost.
- →Under-inflated tires cost you money silently. Under-inflated tires can lower gas mileage by about 0.2% for every 1 psi drop in the average pressure of all tires (fueleconomy.gov). 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, and winter-blend gasoline has slightly less energy per gallon), 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.
Sources
Cite this calculator
TheCalcUniverse. "MPG & Fuel Efficiency Calculator — Miles Per Gallon." TheCalcUniverse, 2026, https://thecalcuniverse.com/automotive/mpg-calculator/. Accessed October 25, 2026.
Embed this calculator on your site
You may also like
-
Automotive
Fuel Cost Calculator
Calculate trip fuel costs for gas, diesel, EV, and PHEV vehicles. Handles MPG, L/100km, km/L, EV efficiency, and PHEV split-mode driving costs.
Open calculator → -
Automotive
Gas Mileage
Calculate your fuel economy in MPG or L/100km using odometer readings or trip distance. Free online calculator with formula guide and step-by-step results.
Open calculator → -
Automotive
Trip Fuel Cost
Calculate the total fuel cost for any road trip with unit support for miles/MPG and km/L/100km. Free, instant, and accurate.
Open calculator → -
Automotive
Mileage Reimbursement
Calculate IRS-standard mileage reimbursement for business, medical, and charitable driving. Includes tax savings estimates and additional expense tracking.
Open calculator →