Auto Fuel Cost Per Mile Calculator
How to Use This Calculator
- 1
Enter your energy price and vehicle efficiency
Set Fuel Price ($) to the price per gallon for liquid fuel or per kWh for an electric vehicle, and enter Fuel Efficiency (MPG) or miles per kWh as appropriate.
- 2
Enter driving and usage assumptions
Add Annual Mileage, Fuel Tank Capacity (gal), and city and highway driving percentages. Select Fuel Type, Driving Conditions, and Fuel Grade; the calculator normalizes city and highway percentages to total 100%.
- 3
Compare per-mile and annual costs
Review Cost Per Mile, Annual Fuel Cost, and the adjusted efficiency. The tank-related results use the entered capacity and are not meaningful as gallons for an electric vehicle.
Example Calculation
A gasoline vehicle gets 30 MPG, costs $3.50 per gallon to fuel, is driven 12,000 miles annually, and splits driving evenly between city and highway.
Fuel Price ($)
3.50
Fuel Efficiency (MPG)
30
Annual Mileage (mi)
12,000
Fuel Tank Capacity (gal)
14
City Driving % (%)
50
Highway Driving % (%)
50
Fuel Type
Gasoline
Driving Conditions
Mixed Driving
Fuel Grade
Regular (87 octane)
Results
Cost Per Mile
$0.128
Annual Fuel Cost
$1,534
Monthly Fuel Cost
$128
Adjusted MPG
27.4 MPG
Miles Per Tank
383 mi
Cost Per Tank
$49.00
Insights card shows estimated fuel spending and adjusted efficiency.
Tips
The default estimate is about 12.8 cents per mile
Change Fuel Price ($) from $3.50 to $4.00 to see how a higher price affects cost per mile, monthly fuel cost, and annual fuel cost.
City-heavy driving lowers the blended efficiency in this model
Change City Driving % (%) to 80 and Highway Driving % (%) to 20, then compare Adjusted MPG with the even split.
Annual spending scales directly with annual mileage
Change Annual Mileage (mi) from 12,000 to 15,000 while keeping the other inputs fixed to estimate the added yearly fuel cost.
What this calculator estimates
This calculator estimates energy cost per mile and annual spending from fuel price, vehicle efficiency, driving mix, and annual mileage. It does not include maintenance, depreciation, insurance, financing, or the cost of charging equipment.
How the fuel-cost calculation works
The calculator first blends the entered efficiency for city and highway driving, then adjusts it for selected fuel and driving conditions.
City efficiency = Entered efficiency × 0.78
Highway efficiency = Entered efficiency × 1.10
Blended efficiency =
1 / (City share / City efficiency + Highway share / Highway efficiency)
Cost per mile = Fuel price per unit / Effective efficiency
Annual fuel cost = Annual mileage × Cost per mile
Monthly fuel cost = Annual fuel cost / 12
City and highway shares are normalized to add to 100%. For the example, city efficiency is 30 × 0.78 = 23.4 MPG and highway efficiency is 30 × 1.10 = 33 MPG. With an even split, blended efficiency is 1 / (0.5 / 23.4 + 0.5 / 33) = 27.3829 MPG, shown as 27.4 MPG. At $3.50 per gallon, cost per mile is $3.50 / 27.3829 = about $0.128. Annual cost is 12,000 × the unrounded cost per mile, or about $1,534; monthly cost is about $128.
How driving mix changes fuel spending
The blended efficiency uses a harmonic average, not a simple arithmetic average. This means the less efficient part of a trip has a larger effect on fuel use per mile than it would in a simple average.
| City / highway mix | Blended efficiency | Cost per mile at $3.50/gal | Annual cost at 12,000 miles |
|---|---|---|---|
| 20% / 80% | 29.8 MPG | $0.117 | $1,409 |
| 50% / 50% | 27.4 MPG | $0.128 | $1,534 |
| 80% / 20% | 25.3 MPG | $0.138 | $1,660 |
These are model estimates using the calculator's city and highway adjustments. Compare them with your own fuel purchases and odometer readings if you need a personal average. The Fuel Cost per Mile vs per Kilometer Converter converts the result to another distance unit; the EV Energy Cost per Mile Calculator is designed for electric-vehicle energy costs.
Fuel cost is only one part of vehicle cost
A lower fuel cost per mile does not necessarily mean a lower total cost of ownership. Compare fuel use with service, tire replacement, depreciation, and any loan or lease costs. Use the Auto Depreciation Calculator to estimate value loss and the Tire Cost per Mile Calculator to add tire expenses.
For an electric vehicle, enter electricity price per kWh and efficiency in miles per kWh, but do not treat the calculator's gallon-based tank outputs as battery range. The U.S. Department of Energy's fuel economy guidance explains how driving conditions affect efficiency; use your vehicle's energy display and utility rate for a more specific charging estimate.
Frequently Asked Questions
How do I calculate fuel cost per mile?
1. Find the effective fuel efficiency in miles per gallon. 2. Divide the price per gallon by that efficiency. 3. Multiply cost per mile by annual miles for annual fuel spending. For example, $3.50 per gallon divided by 27.4 MPG is about $0.128 per mile.
Why is adjusted MPG different from the vehicle's rated MPG?
The calculator adjusts entered efficiency for its city and highway mix, fuel type, and selected driving conditions. Actual mileage also varies with speed, weather, traffic, maintenance, and driving behavior; use your own fuel and odometer records for a personal average.
Does annual fuel cost include maintenance or depreciation?
No, Annual Fuel Cost estimates energy purchases only. Add maintenance, tires, insurance, financing, and depreciation separately; the [Auto Maintenance Cost per Year Calculator](/calculators/auto-maintenance-cost-per-year-calculator/) estimates maintenance expenses.
Can I use this calculator for an electric vehicle?
Yes, enter electricity price per kWh and efficiency in miles per kWh, but interpret the tank-related outputs cautiously. Fuel Tank Capacity (gal) is not a battery-capacity input, so Miles Per Tank and Cost Per Tank do not represent an EV's battery range or charging cost.
How can I improve real-world fuel economy?
Avoiding aggressive acceleration and maintaining steady speeds can reduce fuel use, though results vary by vehicle and route. The U.S. Department of Energy's fuel economy driving tips explain practices that can improve fuel economy.
