What is City–Highway Fuel Calculator?
The City–Highway Fuel Calculator is a tool that blends separate city and highway fuel economy ratings into one combined figure using the share of miles driven in each.
City and highway economy differ by 20–45% on most gasoline vehicles. A sedan rated 24 MPG city and 34 MPG highway delivers neither figure to a driver who splits mileage between both environments.
Combined economy uses harmonic weighting, not an arithmetic average. Averaging 24 and 34 gives 29 MPG, which overstates real consumption. The correct blend for a 55/45 city-highway split returns 28.1 MPG.
Harmonic weighting matters because fuel economy sits in the denominator. The EPA applies the same method, weighting 55% city and 45% highway for its combined label figure.
How City–Highway Fuel Calculator Works?
The calculator works by converting each rating into gallons per mile, weighting those rates by mileage share, and inverting the weighted sum.
- Enter city MPG and highway MPG: Type both ratings, taken from measurement or from the window sticker.
- Enter the city share: Type the percentage of miles driven in city conditions, for example 55% for mixed commuting.
- Convert to fuel rates: Each MPG inverts to gallons per mile, so 24 MPG becomes 0.04167 and 34 MPG becomes 0.02941.
- Weight and invert: The weighted rate of 0.03615 inverts to 27.66 MPG combined, which the calculator then prices against distance.
City–Highway Fuel Calculator Formula
The combined economy formula is Combined MPG = 1 ÷ (City Share ÷ City MPG + Highway Share ÷ Highway MPG).
Combined MPG = 1 ÷ [ (City Share ÷ City MPG) + (Highway Share ÷ Highway MPG) ]Total Fuel = (City Miles ÷ City MPG) + (Highway Miles ÷ Highway MPG)EPA Combined = 1 ÷ (0.55 ÷ City MPG + 0.45 ÷ Highway MPG)Combined L/100km = City Share × City L/100km + Highway Share × Highway L/100kmHighway Share = 1 − City ShareVariables in the City–Highway Fuel Calculator Formula
| Term | Meaning |
|---|---|
City MPG | Economy in stop-and-go conditions below 35 mph (56 km/h) |
Highway MPG | Economy at steady speed above 50 mph (80 km/h) |
City Share | Fraction of total miles driven in city conditions |
Combined MPG | Harmonically weighted economy across both environments |
Worked Example
A driver covers 9,000 city miles at 22 MPG and 7,000 highway miles at 33 MPG per year.
- City fuel = 9,000 ÷ 22 = 409.09 gallons
- Highway fuel = 7,000 ÷ 33 = 212.12 gallons
- Total fuel = 621.21 gallons (2,351.9 L)
- Combined economy = 16,000 ÷ 621.21 = 25.76 MPG
- Arithmetic average would read 27.5 MPG, overstating economy by 6.8%
The split delivers 25.76 combined MPG on 621.21 gallons per year.
City–Highway Fuel Calculator Conversion Table
The table shows how combined economy moves with the city share of mileage for a vehicle rated 24 MPG city and 34 MPG highway.
| City Share | Highway Share | Combined MPG | L/100km | Gallons per 12,000 mi |
|---|---|---|---|---|
| 0% | 100% | 34.00 | 6.92 | 352.9 |
| 20% | 80% | 31.78 | 7.40 | 377.6 |
| 40% | 60% | 29.82 | 7.89 | 402.4 |
| 55% | 45% | 28.49 | 8.26 | 421.2 |
| 70% | 30% | 27.27 | 8.63 | 440.0 |
| 90% | 10% | 25.76 | 9.13 | 465.9 |
| 100% | 0% | 24.00 | 9.80 | 500.0 |
Annual fuel rises 147 gallons (556 L) between pure highway use and pure city use on the same vehicle. Hybrids invert this pattern, posting higher city figures than highway figures through regenerative braking.
What are the uses of City–Highway Fuel Calculator?
Combined economy figures serve 5 purposes: predicting personal fuel bills, comparing vehicles against a real driving mix, validating sticker ratings, planning hybrid purchases, and budgeting fleet fuel by duty cycle.
- Predicting bills: Apply a measured mileage split instead of the 55/45 EPA default, which misreads a highway-heavy commute by 2–4 MPG.
- Comparing vehicles: Rank two candidates against your own split, where a city-heavy driver should favor the higher city rating.
- Validating ratings: Check whether the sticker combined figure matches the harmonic blend of its own city and highway numbers.
- Planning hybrids: Quantify the hybrid advantage, which reaches 40–60% in city driving and under 15% on open highway.
- Budgeting fleets: Assign each duty cycle its own split, since a parcel van runs 85% city while a regional sales car runs 70% highway.