Miles Per Gallon Calculator

Miles Per Gallon Calculator

$
Your fuel efficiency (MPG):
Liters per 100 km:
Fuel cost per mile:
Fuel cost per 100 miles:

Miles per gallon (MPG) is the single number that defines your vehicle's fuel efficiency — how far it travels on each gallon of gasoline. It determines your fuel bills, your carbon footprint, and your car's resale appeal, yet most drivers know theirs only as a vague dashboard figure they have never verified. The Miles Per Gallon Calculator measures it properly: enter the distance driven and the fuel used, plus the fuel price, and it reports your fuel efficiency in MPG, the metric equivalent in liters per 100 km, your fuel cost per mile, and your fuel cost per 100 miles. Four rows, one fill-up's worth of data, and the truth about your car's thirst.

Knowing your true MPG changes how you think about driving. It turns the abstract idea of "efficiency" into a number you can track, compare, and improve — the same way a runner tracks pace. Drivers who measure their MPG consistently report driving more efficiently almost without trying, because the number makes waste visible. And when it comes time to buy your next car, there is no more persuasive comparison than your current car's measured MPG against a candidate's rating, converted through this calculator into dollars per year. Measure first; everything else follows.

What Miles Per Gallon Actually Measures

MPG is a ratio: miles traveled divided by gallons consumed. A car that covers 350 miles on 12.5 gallons delivers 28 MPG — each gallon carried it 28 miles. Higher is better: more miles per gallon means less fuel per mile, lower costs, and fewer emissions. The figure blends everything about how the car is used — engine efficiency, vehicle weight, aerodynamics, tire pressure, driving style, traffic, terrain, weather, and fuel quality — into one practical number. That is both its strength and its limitation: MPG tells you exactly how efficient your driving was, not how efficient the car could be under ideal conditions.

The calculator also reports liters per 100 kilometers (L/100km), the standard efficiency unit across most of the world, where lower is better — it measures consumption rather than efficiency. The conversion runs through the constant 235.214583: L/100km = 235.214583 ÷ MPG. A 28 MPG car uses about 8.40 L/100km. Having both figures matters when comparing against international reviews, rental cars abroad, or manufacturer specs from other markets. The two cost rows — fuel cost per mile and fuel cost per 100 miles — then translate efficiency into money at your local pump price.

The Core Formula and the Conversion Constant

The heart of the calculator is disarmingly simple: MPG = Distance driven ÷ Fuel used. Drive 350 miles on 12.5 gallons: 350 ÷ 12.5 = 28.00 MPG. From there, three derived rows follow. Liters per 100 km = 235.214583 ÷ MPG: 235.214583 ÷ 28 = 8.40 L/100km. Fuel cost per mile = Fuel price ÷ MPG: $3.60 ÷ 28 = $0.13 per mile. Fuel cost per 100 miles = Cost per mile × 100 = $12.86. Every row traces back to the two measurements you entered plus the pump price — no hidden assumptions, nothing you cannot verify with a pocket calculator.

The 235.214583 constant looks arbitrary but is pure unit conversion: one US gallon equals 3.78541 liters, one mile equals 1.60934 kilometers, and the algebra of converting "miles per gallon" into "liters per 100 km" collapses to that single divisor. You never need to remember it — the calculator applies it — but knowing it exists explains why the metric figure moves inversely: as MPG rises, L/100km falls, because they are two views of the same fuel burn.

Why Your Dashboard MPG Often Lies

Most modern cars display an average MPG figure, and most of them read optimistic — studies and driver reports routinely find dashboard figures 2–8% higher than pump-measured reality. The car's computer estimates fuel flow rather than measuring it directly, and its estimates skew generous. It also typically averages over a rolling window or since the last reset, so a recent highway cruise can mask months of thirsty city driving. The pump does not estimate: gallons in and miles driven are physical facts. That is why the calculator asks for your measured distance and fuel — the fill-up-to-fill-up method is the gold standard, accurate to within the precision of the pump and your odometer, and it is the only MPG worth making decisions on.

To measure correctly: fill the tank completely until the pump clicks off, reset the trip odometer (or note the mileage), drive normally until the tank is low, then fill completely again and note the gallons pumped and miles covered. Divide miles by gallons. Do this across two or three tanks and average the results to smooth out variations in fill level and driving mix. Enter that average into the calculator, and the MPG row will tell you the truth your dashboard would not.

How to Use the Miles Per Gallon Calculator

Enter the Distance driven in miles between two complete fill-ups (from your trip odometer or mileage log). Enter the Fuel used in gallons — the exact gallons pumped at the second fill-up, from the receipt. Enter the Fuel price per gallon you paid. Press Calculate to display four rows: Your fuel efficiency (MPG), Liters per 100 km, Fuel cost per mile, and Fuel cost per 100 miles. For the most reliable figure, repeat the measurement over several tanks and average the MPG results. Reset clears the form for the next measurement.

  1. Fill the tank completely and reset the trip odometer.
  2. Drive normally until the next fill-up; pump to full and save the receipt.
  3. Enter miles driven, gallons pumped, and the price per gallon.
  4. Press Calculate and record the MPG row as your true efficiency.
  5. Repeat over 2–3 tanks and average for a rock-solid figure.

Worked Example 1: Sedan — 350 Miles on 12.5 Gallons

Hannah's sedan covered 350 miles between fill-ups and took 12.5 gallons to refill. Gas cost $3.60 per gallon. She enters 350, 12.5, and 3.60, then presses Calculate.

The core division: 350 ÷ 12.5 = 28.00 MPG, the Your fuel efficiency row — notably below her dashboard's cheerful 30.5 claim. Metric conversion: 235.214583 ÷ 28 = 8.40 L/100km. Cost translation: $3.60 ÷ 28 = $0.1286, shown as $0.13 fuel cost per mile; $0.1286 × 100 = $12.86 per 100 miles. Hannah now knows her real efficiency and her real per-mile fuel price. Annualized over her 12,000 miles a year, the 2.5 MPG gap between dashboard fantasy and pump reality was costing her about $126 a year — invisible until measured.

Worked Example 2: SUV — 420 Miles on 21 Gallons

Tom's SUV went 420 miles on 21 gallons at $3.85 per gallon. He enters 420, 21, and 3.85.

Step one: 420 ÷ 21 = 20.00 MPG. Step two: 235.214583 ÷ 20 = 11.76 L/100km. Step three: $3.85 ÷ 20 = $0.1925, or $0.19 per mile. Step four: $19.25 per 100 miles. Tom compares against Hannah's sedan: his SUV costs $6.39 more per 100 miles in fuel, which over his 15,000 annual miles is $958 a year extra. He is not selling the SUV — he needs the space — but the measured number ended his vague guilt and replaced it with a budgeted fact: the capability costs $958 a year, a price he consciously accepts.

What Drags MPG Down — and How to Fix It

When your measured MPG disappoints, the culprits fall into three buckets. Vehicle condition: underinflated tires alone can cost 2–3%, a clogged air filter strangles the engine, old spark plugs misfire away fuel, and dragging brakes or bad wheel alignment create constant resistance. Driving behavior: aggressive acceleration and braking can waste 15–30%, speeds above 65 mph bleed efficiency to aerodynamic drag, and idling burns fuel for zero miles. Conditions: short trips with a cold engine are brutally inefficient, winter fuel blends and cold air both hurt, headwinds and hills add load, and extra weight — cargo, roof boxes — taxes every mile. Work through them in order of cost: check tire pressure (free), remove the roof box (free), ease off the accelerator (free), then service the car. Re-measure after each change with the calculator; watching the MPG row climb is the feedback loop that makes efficient driving stick.

Using MPG to Shop for Your Next Car

MPG is the great equalizer in car shopping because it converts directly to annual dollars. Take two candidates: Car A rated 32 MPG, Car B rated 24 MPG, gas at $3.60, and your 12,000 miles a year. Car A's cost per mile is $3.60 ÷ 32 = $0.1125 ($1,350/year); Car B's is $3.60 ÷ 24 = $0.15 ($1,800/year) — a $450 annual gap from an 8 MPG difference. Run any candidates through this calculator with their ratings and your gas price, annualize the per-mile rows over your mileage, and compare against price differences: a $2,000 pricier car that saves $450 a year in fuel pays for its premium in under five years. Also compare against your measured current MPG rather than its original rating — the honest baseline is what you actually get today, and the upgrade's value is measured against that, not against a brochure.

MPG, Emissions, and the Bigger Picture

Every gallon of gasoline burned releases about 19.6 pounds of CO₂, so MPG is also an emissions rating in disguise: fuel cost per mile and carbon per mile move together. Improving from 20 to 28 MPG cuts both your fuel bill and your driving emissions by nearly 30% — one of the highest-impact changes a household can make, achieved without buying anything. The Liters per 100 km row connects your driving to global efficiency conversations, where sub-6.0 figures mark genuinely efficient cars. Whether your motivation is money, environment, or both, the measurement habit is the same: track MPG with the calculator, improve what you can, and let the numbers — financial and environmental — move in the right direction together.

Tips for Measuring and Improving Your MPG

  1. Always measure pump-to-pump — it is the only MPG figure worth trusting.
  2. Average 2–3 tanks to smooth out fill-level and driving-mix variation.
  3. Check tire pressure monthly; it is the cheapest efficiency fix there is.
  4. Ease off the pedals — smooth acceleration and braking can save 15–30%.
  5. Keep highway speeds near 65 mph; drag rises steeply beyond that.
  6. Remove roof cargo boxes when empty; they are pure aerodynamic penalty.
  7. Combine short trips; a warm engine is far more efficient than a cold one.
  8. Service on schedule — filters, plugs, and alignment all protect MPG.
  9. Track MPG over time; a sudden drop is an early warning of mechanical trouble.
  10. Annualize the per-mile cost over your yearly miles before judging any car's thirst.

Tracking MPG Across Seasons

A single MPG measurement is a snapshot; a year of measurements is a story. Fuel efficiency follows a seasonal rhythm for most drivers: winter brings cold starts, denser air, winter-blend gasoline, and heater use, often dragging MPG 10–15% below summer figures, while summer brings air-conditioning load and vacation cargo. Tracking with the calculator each season separates normal variation from real problems — a winter dip that recovers in spring is weather, but a dip that does not recover is a maintenance flag. Keep a simple log: date, miles, gallons, and the resulting MPG row, one line per fill-up or one average per month. Over a year, that log becomes the most honest fuel diary your car has ever kept, revealing exactly when efficiency changed and letting you connect each change to its cause, from a tire replacement to a new commute route. Drivers who track seasonally also buy fuel smarter, since they can see precisely how much winter costs them and plan the budget accordingly.

Frequently Asked Questions

1. What is the Miles Per Gallon Calculator?

It measures your vehicle's true fuel efficiency. Enter distance driven and fuel used between fill-ups plus the fuel price, and it reports MPG, liters per 100 km, fuel cost per mile, and fuel cost per 100 miles.

2. How is MPG calculated?

MPG equals miles driven divided by gallons of fuel used. Drive 350 miles on 12.5 gallons and your efficiency is exactly 28 MPG — the calculator's first result row.

3. Why is my dashboard MPG different from the calculator?

Dashboards estimate fuel flow and typically read 2–8% optimistic. The calculator uses pump-measured gallons and odometer miles — physical facts — so trust its figure over the display.

4. What is liters per 100 km, and why show it?

It is the metric efficiency standard used in most countries, measuring fuel consumed per 100 km (lower is better). It lets you compare against international specs and rental cars abroad.

5. How do I measure distance and fuel accurately?

Fill completely, reset the trip odometer, drive normally, then fill completely again. Miles on the trip meter divided by gallons on the second receipt is your measurement.

6. Should I measure one tank or several?

Several — two or three tanks averaged. Single tanks vary with fill levels and driving mix; averaging gives a stable, trustworthy figure.

7. What is a good MPG?

It depends on vehicle class: 30+ is good for sedans, mid-20s for small SUVs, high teens for trucks and large SUVs. Compare against your car's original rating and similar models, not against unrelated vehicle types.

8. How does MPG translate to yearly fuel cost?

Multiply the fuel cost per mile row by your annual miles. At $0.13 per mile and 12,000 miles a year, fuel costs $1,560 — the number that makes car comparisons concrete.

9. Can I improve my MPG without buying a new car?

Yes, significantly. Proper tire pressure, smooth driving, moderate highway speeds, removed roof boxes, and timely maintenance can recover 10–25% over sloppy habits.

10. Does air conditioning hurt MPG?

Yes, by roughly 5–25% depending on conditions, worst in stop-and-go heat. At highway speeds, A/C is still more efficient than open windows, which create drag.

11. Why does MPG drop in winter?

Cold engines run rich until warm, winter-blend gasoline holds less energy, cold air is denser (more drag), and heaters, defrosters, and short trips all add load.

12. How do hybrids and EVs compare on this scale?

Hybrids report MPG directly and often exceed 45. EVs use MPGe (miles per gallon equivalent); the pump-based method here applies to liquid-fuel vehicles.

13. What does the per-100-miles cost tell me?

Your fuel spending scaled to the industry's standard benchmark distance — ideal for comparing vehicles, tracking efficiency trends, and annualizing costs.

14. Is my data stored when I use the calculator?

No. All calculations happen in your browser; nothing is transmitted or saved, and Reset clears the form.

15. How often should I recheck my MPG?

Every few months, or after any change: new tires, a service, a new commute, or seasonal shifts. A sudden unexplained drop warrants a mechanic's look.

CONCLUSION

The Miles Per Gallon Calculator replaces dashboard optimism with pump-measured truth: your real MPG, its metric equivalent, and the per-mile and per-100-mile costs that turn efficiency into dollars. Measure over a few tanks, track the number over time, and use it to drive better, maintain smarter, and shop for your next car with hard data instead of brochure promises. Efficiency you measure is efficiency you can improve — and every MPG you gain pays you back on every mile you drive.