What is MPG Calculator?
The MPG Calculator is a tool that returns miles per gallon (MPG) from miles driven and gallons consumed.
MPG measures distance output per unit of fuel input. A reading of 28.8 MPG means the vehicle travels 28.8 miles (46.3 km) on each US gallon (3.785 L) of gasoline. Higher numbers mean better efficiency, which makes MPG a direct ratio rather than an inverted rate.
The United States and the United Kingdom both publish MPG, with different gallons. One Imperial gallon holds 4.54609 liters against 3.78541 liters for the US gallon, so 30 US MPG equals 36.03 Imperial MPG.
Pump-measured MPG carries the authority in this calculation. Dashboard trip computers read 2–6% optimistic on most vehicles because they estimate injector flow rather than measuring dispensed volume.
How MPG Calculator Works?
The MPG Calculator works by dividing the miles covered between two full tanks by the gallons needed to refill the tank the second time.
- Fill the tank completely: Run the pump to its first automatic shut-off and reset the trip odometer to zero at that moment.
- Drive a full tank: Cover at least 200 miles (322 km) before refilling, since short samples magnify fill-level error.
- Refill and record both numbers: Note the gallons dispensed from the pump display and the miles shown on the trip odometer.
- Divide miles by gallons: The calculator performs 360 ÷ 12.5 and returns 28.80 MPG, then converts to 8.17 L/100km using the 235.214 constant.
MPG Calculator Formula
The MPG formula is MPG = Miles Driven ÷ Gallons Consumed.
MPG = Miles Driven ÷ Gallons ConsumedMiles Driven = MPG × Gallons ConsumedGallons Consumed = Miles Driven ÷ MPGL/100km = 235.214 ÷ MPGImperial MPG = US MPG × 1.20095Variables in the MPG Calculator Formula
| Term | Meaning |
|---|---|
Miles Driven | Trip odometer distance between two identical fill-ups |
Gallons Consumed | Volume dispensed at the second fill-up, in US gallons |
MPG | Fuel economy expressed as miles per US gallon |
1.20095 | Factor converting US MPG to Imperial MPG |
Worked Example
A crossover covers 412 miles (663 km) on a tank and takes 14.2 gallons (53.75 L) to refill.
- Miles driven = 412
- Gallons consumed = 14.2
- MPG = 412 ÷ 14.2 = 29.01
- Metric rate = 235.214 ÷ 29.01 = 8.11 L/100km
- Imperial figure = 29.01 × 1.20095 = 34.84 Imperial MPG
The crossover returns 29.01 US MPG, equal to 8.11 L/100km.
MPG Calculator Conversion Table
The table converts each US MPG value into L/100km, km/L, Imperial MPG, and gallons per 100 miles. Conversions use 235.214 ÷ MPG for L/100km and MPG × 0.425144 for km/L.
| US MPG | L/100km | km/L | Imperial MPG | gal / 100 mi |
|---|---|---|---|---|
| 15 | 15.68 | 6.38 | 18.01 | 6.67 |
| 20 | 11.76 | 8.50 | 24.02 | 5.00 |
| 25 | 9.41 | 10.63 | 30.02 | 4.00 |
| 30 | 7.84 | 12.75 | 36.03 | 3.33 |
| 35 | 6.72 | 14.88 | 42.03 | 2.86 |
| 40 | 5.88 | 17.01 | 48.04 | 2.50 |
| 45 | 5.23 | 19.13 | 54.04 | 2.22 |
| 50 | 4.70 | 21.26 | 60.05 | 2.00 |
MPG and L/100km move in opposite directions, so a rising MPG figure pairs with a falling L/100km figure. Fuel economy gains shrink in absolute fuel terms above 40 MPG, where each 5 MPG step saves under 0.3 gallons per 100 miles.
What are the uses of MPG Calculator?
MPG figures serve 5 purposes: verifying advertised ratings, catching mechanical faults, comparing vehicles, costing mileage reimbursement, and tracking driving habits.
- Verifying ratings: Measure pump MPG across 3 consecutive tanks and compare the average against the EPA combined rating printed on the window sticker.
- Catching faults: Track a sudden 10% MPG drop, which commonly signals a clogged air filter, dragging caliper, low tire pressure, or a failing thermostat.
- Comparing vehicles: Rank candidate cars on measured MPG before purchase, since a 22 MPG to 34 MPG change saves 192 gallons per 15,000 miles.
- Costing reimbursement: Convert business mileage into fuel cost at Gas Price ÷ MPG per mile for expense claims.
- Tracking habits: Log MPG by tank to quantify how speed, air conditioning, and cargo weight change consumption on the same route.