FuelAndFix Open cost toolsCost tools

Annual Fuel Cost Calculator: City and Highway Driving

Estimate a year of fuel spending from annual miles, city and highway MPG, the share of miles in each setting and your price per US gallon.

Your numbers

Reset

Result

Your result — Fill in the fields and press Calculate: the result appears here, with the formula below.

How it works

Annual gallons = annual miles × (city share ÷ city MPG + highway share ÷ highway MPG). Annual cost = gallons × price per US gallon. Average monthly cost = annual cost ÷ 12.

City share is the fraction of miles driven in the city, not the fraction of time spent in traffic. A 50% entry assigns half the miles to each MPG figure. The calculator adds the gallons needed for the two portions before pricing them. It also shows the MPG for that mileage mix, calculated as the reciprocal of gallons per mile.

Worked example: 12,000 miles a year

Illustrative driving inputs, not a rating for any vehicle
PortionMilesMPGUS gallons
City, 50% 6,000 20 300
Highway, 50% 6,000 30 200
Total 12,000 24 blended 500

At $3.60 a gallon, 500 gallons costs $1,800 a year or $150 per average month. Fuel costs $0.150 per mile. Averaging 20 and 30 to get 25 MPG would incorrectly predict only 480 gallons and $1,728. The correct estimate is $72 higher because the lower-MPG miles consume more fuel.

Choose inputs that match your driving

Use measured city and highway figures if you have reliable records, or the ratings for the exact model, engine and transmission in EPA’s vehicle finder. If you only know your overall measured MPG, enter that same number in both MPG fields; the city share then has no effect. Use the price of the gasoline or diesel your vehicle requires. The defaults are examples, not live pump prices.

A zero-mile year returns zero spending, while the per-mile cost and blended MPG still describe the inputs. At 0% city the highway MPG determines consumption; at 100% city the city MPG does. Both MPG fields must remain positive. Results round only for display; annual cost is not computed from the rounded gallons shown on screen.

Why is blended MPG not the average of the two MPG inputs?

The car consumes gallons, so the calculation adds miles divided by MPG for each portion. Equal miles at 20 and 30 MPG produce 24 MPG overall.

Does the monthly result predict each calendar month?

No. It divides the yearly total by 12. Seasonal travel, fuel prices, weather and work schedules can make actual months different.

Can I use this for a hybrid?

For a non-plug-in gasoline hybrid, use its appropriate MPG and gasoline price. This tool does not combine electricity and gasoline for a plug-in hybrid or price EV charging.

Does annual fuel cost include oil, tires or insurance?

No. It estimates fuel spending only. Add those other costs separately when preparing a full ownership budget.

Method and sources

The formula follows directly from gallons = miles ÷ MPG. Calculations use US gallons, miles and USD. No current fuel-price feed or vehicle-specific MPG database is built into the tool.

Source: EPA/DOE: understanding the gasoline fuel economy label. Sections on fuel economy and annual cost explain label assumptions; this tool uses the annual mileage and mileage mix you enter. Checked October 22, 2026.

Source: EPA/DOE: Find and Compare Cars. Reference for looking up a rating for the exact US vehicle configuration. Checked October 22, 2026.

Related tools & guides