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
Result
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
| Portion | Miles | MPG | US 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
-
Fuel Costs EV Charging Fees: Read the Whole Session Receipt
Understand how energy, session, parking and idle charges combine on a public charging bill. Compare…
-
Fuel Costs When Does an EV Charging Membership Pay for Itself?
Calculate eligible monthly charging needed to recover a membership fee. Compare busy and quiet months, rate…
-
Fuel Costs How a Gas Price Change Affects Your Annual Budget
Translate a pump-price increase or decrease into annual and monthly dollars. Separate gasoline price changes…
-
Fuel Costs Toll Road vs Free Route: Compare Fuel and Toll Costs
Find whether a longer toll-free drive saves money after extra gasoline. Compare the same trip boundary,…
-
Fuel Costs Build a Fuel Budget for Summer and Winter MPG
Account for seasonal fuel economy by pricing each season’s miles and gallons separately. See why a winter…
-
Fuel Costs Compare Gas Discounts Using the Full Fuel Receipt
Compare gasoline discounts by gallons actually eligible, final dollars paid and effective unit price. Includes…
-
Fuel Costs EPA MPG vs Your Fuel Log: Make a Fair Comparison
Compare EPA city, highway and combined MPG with your own driving records without treating one tank as a failed…
-
Fuel Costs Dashboard MPG vs Fuel Receipts: Match the Same Period
Reconcile a trip-computer MPG display with receipt-based mileage by matching reset dates, odometer readings…
-
Fuel Costs Billed kWh vs Battery Energy: Use the Right EV Number
Distinguish electricity bought from battery energy and dashboard consumption. Match the energy boundary before…
-
Fuel Costs EV Charging Session Cost Calculator
Add billed electricity, session fees, parking and idle charges to estimate a charging stop in USD, including…
-
Fuel Costs EV Charging Membership Break-Even Calculator
Compare a charging membership fee with its per-kWh discount. See the monthly break-even energy, signed savings…
-
Fuel Costs Gas Price Change Budget Calculator
See how a gasoline price increase or decrease changes annual and average monthly fuel spending while your…
-
Fuel Costs Route Fuel and Toll Cost Comparison Calculator
Compare two routes for the same trip using each distance, MPG and toll total with a shared gasoline price. See…
-
Fuel Costs Build a Commute Budget for Fuel, Parking and Tolls
Plan commuting expenses around actual driving days, holidays, remote work and fixed parking charges, with a…
-
Fuel Costs Why City and Highway MPG Need a Weighted Calculation
Combine city and highway driving by adding gallons first. See equal-distance examples, distance-versus-time…
-
Fuel Costs Premium Gas Cost vs MPG: Calculate the Real Difference
Separate minimum octane, performance recommendations and fuel-cost break-even. Compare a stated…
-
Fuel Costs Home vs Public EV Charging: Build a Real Cost Mix
Plan EV energy costs using billed kWh at home and public stations, then add memberships and session fees…
-
Fuel Costs Commute Gas Cost Calculator: MPG, Parking and Tolls
Price the drive to work from your car’s real MPG and pump price: gallons burned, gas dollars, daily parking…
-
Fuel Costs City and Highway Combined MPG Calculator
Calculate MPG for your own mix of city and highway miles, then estimate gallons and annual fuel cost without…
-
Fuel Costs Premium Gas Break-Even MPG Calculator
Find the MPG improvement premium gasoline would need to offset its price, using your own prices and miles. A…
-
Fuel Costs Home and Public EV Charging Cost Calculator
Estimate charging costs with separate home and public electricity rates, a share of billed kWh and annual…
-
Fuel Costs Road Trip Cost Split Calculator: Gas, Tolls and Parking
Estimate one vehicle’s gas, tolls and parking, then split the total among paying travelers with an exact…
-
Fuel Costs How to Split Road Trip Gas, Tolls and Parking
Agree who pays for a shared drive, estimate gas separately from tolls and parking, handle different trip…
-
Fuel Costs EV vs Gas Cost Calculator: Annual Energy Spending
Compare annual electricity and gasoline costs using billed kWh per 100 miles, local energy prices and MPG,…
-
Fuel Costs EV Charging Cost vs Gas: Compare the Same Miles
Compare electricity and gasoline spending with wall-based energy use, kWh-weighted charging prices and…
-
Fuel Costs Multi-Tank MPG Calculator: Combine Three Fill-Ups
Calculate measured MPG from three full-to-full intervals by adding miles and US gallons, with no averaging…
-
Fuel Costs How to Measure MPG Across Multiple Fill-Ups
Keep a full-to-full fuel log, include partial purchases and calculate total miles divided by total US…
-
Fuel Costs Fuel Savings Calculator: Compare Two Cars
Compare two vehicles over the same annual miles using separate MPG and fuel prices, including cases where…
-
Fuel Costs How to Budget Annual Fuel Cost
Build a useful annual fuel budget from your own miles and MPG, with a city/highway example and a fuel-price…
-
Fuel Costs How to Compare Cars by Fuel Cost
Compare the fuel cost of two vehicles fairly: same miles, matching driving conditions, separate fuel prices…
-
Fuel Costs Fuel Cost Calculator
Work out what a trip costs in gas from the distance, your MPG and the local gas price — per trip, per month…
-
Fuel Costs Gas Mileage Calculator: Find Your Real MPG
Measure your car's real fuel economy in MPG from the miles driven and the gallons it took to fill the tank.
-
Fuel Costs How to Calculate Your Car's Cost per Mile
How to work out what each mile costs you in fuel, and which other costs belong in the true cost of driving a…
-
Fuel Costs Fuel Cost per Mile Chart by MPG and Gas Price
Fuel cost per mile in cents for common MPG figures at gas prices from $3.00 to $4.50 a gallon, plus the yearly…
-
Hub
Car Cost and Maintenance Tools
Every FuelAndFix tool by section: fuel costs, maintenance, tires and wheels — plus guides and reference…
Report an error
Thank you! Your feedback helps us make this page better.
Could not send. Please try again.