Build your retirement plan for free.Explore Plan Builder →

City vs. Highway MPG Blended Calculator

Enter your city MPG, highway MPG, and driving mix to calculate your real-world blended fuel economy, annual fuel cost, and cost per mile.
Luis GonzalezCreated by Luis GonzalezLast updated:

How to Use This Calculator

  1. 1

    Enter city and highway fuel economy

    Enter City MPG (MPG) and Highway MPG (MPG) using values in the same unit system, such as US miles per gallon.

  2. 2

    Set your driving mix and annual use

    Enter City Driving % (%) as the share of miles driven in city conditions, plus Annual Miles and Fuel Price ($). Highway share is calculated as the remainder of 100%.

  3. 3

    Compare blended efficiency and fuel costs

    The calculator shows harmonic-mean blended MPG, a fixed 55% city/45% highway EPA-style arithmetic estimate, and fuel-cost estimates based on your entered driving mix.

Example Calculation

A driver has a vehicle rated at 22 city MPG and 32 highway MPG, drives 55% in the city, covers 12,000 miles per year, and pays $3.50 per gallon.

City MPG (MPG)

22

Highway MPG (MPG)

32

City Driving % (%)

55

Annual Miles

12,000

Fuel Price ($)

3.50

Results

Blended MPG

25.6 MPG

EPA-Style Estimate

26.5 MPG

Annual Fuel Cost

$1,641

Cost Per Mile

$0.137

Gallons Per Year

469 gal

City vs. Highway Gap

10.0 MPG

Your Driving Mix

55% city

Highway Share

45% highway

Insights card shows fuel cost and efficiency at the entered driving mix.

Tips

A 30% city-driving mix raises the estimate to about 28.2 MPG

Change City Driving % (%) from 55 to 30 and keep the vehicle, miles, and fuel price unchanged. The harmonic-mean estimate rises from 25.6 to 28.2 MPG, and estimated annual fuel cost falls to about $1,491.

At 80% city driving, the estimate falls to about 23.5 MPG

Change City Driving % (%) to 80. With 12,000 annual miles and fuel at $3.50 per gallon, the estimate becomes about 23.5 MPG and annual fuel cost rises to about $1,790.

Fuel price changes cost, not fuel economy

Change Fuel Price ($) from $3.50 to $4.00. Blended MPG stays at 25.6, while annual fuel cost increases from about $1,641 to about $1,875.

What this calculator estimates

Blended MPG estimates a vehicle’s fuel economy across a mix of city and highway miles using the harmonic mean of the two MPG values. This calculator also estimates annual fuel use and cost; it does not predict actual consumption from traffic, weather, speed, or vehicle condition.

How the calculation works

Blended MPG = 1 ÷ (City share ÷ City MPG + Highway share ÷ Highway MPG)
Gallons per year = Annual miles ÷ Blended MPG
Annual fuel cost = Gallons per year × Fuel price
Cost per mile = Fuel price ÷ Blended MPG
EPA-style estimate = (0.55 × City MPG) + (0.45 × Highway MPG)

The highway share equals 1 minus the city share. For the example, city share is 55%, or 0.55, and highway share is 45%, or 0.45. Blended MPG is 1 ÷ (0.55 ÷ 22 + 0.45 ÷ 32) = 25.6 MPG. The calculator’s fixed EPA-style estimate is (0.55 × 22) + (0.45 × 32) = 26.5 MPG.

At 12,000 miles per year, estimated fuel use is 12,000 ÷ 25.6 = 468.75 gallons. At $3.50 per gallon, annual cost is 468.75 × $3.50 = $1,640.625, displayed rounded to $1,641. Cost per mile is $3.50 ÷ 25.6 = $0.1367, displayed as $0.137.

How the driving mix changes fuel cost

The table keeps the vehicle at 22 city MPG and 32 highway MPG, with 12,000 miles per year and fuel at $3.50 per gallon. The EPA-style estimate remains 26.5 MPG because that output always uses a fixed 55%/45% weighting; the blended estimate uses your entered mix.

City share Highway share Blended MPG Estimated annual fuel cost
30% 70% 28.2 $1,491
55% 45% 25.6 $1,641
80% 20% 23.5 $1,790

The harmonic mean is lower than the arithmetic estimate in these examples because using more miles at the lower city MPG increases gallons consumed. Fuel price and annual mileage affect cost directly, but neither changes the blended MPG.

Use the estimate for a realistic comparison

Enter your typical share of city miles, not just the route you drive most often. A commute that includes highway distance, errands, and stop-and-go traffic can produce a different mix than a single-trip description suggests. Re-run the calculation with a higher fuel price or annual mileage to test how sensitive your budget is to those assumptions.

The EPA-style figure here is not an official vehicle label rating. It applies a 55%/45% arithmetic weighting to the values you enter, while official EPA figures come from standardized testing and adjustments described on FuelEconomy.gov. For actual fuel-cost planning, compare the estimate with your vehicle’s observed fuel use over several fill-ups.

When to use a different calculator

Frequently Asked Questions

How do I calculate blended MPG from city and highway MPG?

1. Convert the city-driving percentage to a decimal and find the highway share as 1 minus that decimal. 2. Divide each share by its MPG and add the results. 3. Divide 1 by that sum. For a 55% city mix, 22 city MPG, and 32 highway MPG, blended MPG is 1 ÷ (0.55 ÷ 22 + 0.45 ÷ 32) = 25.6 MPG.

Why is blended MPG a harmonic mean instead of a regular average?

Fuel use depends on miles divided by MPG, so miles-per-gallon values must be combined through fuel consumed rather than averaged directly. The harmonic mean accounts for the gallons needed in each part of the trip; an arithmetic average can overstate the efficiency of a mixed drive.

Is the EPA-style estimate an official EPA combined MPG rating?

No, it is a simple 55% city and 45% highway arithmetic weighting of the MPG values you enter. Official window-sticker ratings use EPA testing and adjustments; see FuelEconomy.gov’s explanation of fuel economy labels.

Why can my real-world MPG differ from this estimate?

Your actual fuel economy depends on traffic, speed, weather, vehicle condition, load, and driving style, while this estimate uses only the entered MPG values and driving mix. The EPA discusses these influences in its fuel-efficient driving tips.

Does changing fuel price change blended MPG?

No, fuel price changes the cost estimates but not the fuel economy calculation. Blended MPG depends on city MPG, highway MPG, and the share of miles driven in each condition.