Fuel cost calculator

EPA's fuel-economy file dated Nov 20, 2026 has 32,767 rows for model year 2000 and newer. Annual mode starts at 15,000 miles, and trip mode uses the miles you enter. EIA regular gasoline and diesel for Oct 26, 2026 and residential electricity for August 2026 are filled in from the snapshot retrieved Oct 31, 2026; replace either price with your own.

EPA fuel-economy file dated Nov 20, 2026. Price snapshot retrieved Oct 31, 2026. Regular gasoline and diesel are the week of Oct 26, 2026 from the Gasoline and Diesel Fuel Update (U.S. regular 4.269 dollars per gallon, U.S. diesel 6.352 dollars per gallon, both including taxes). Residential electricity is August 2026 from Electric Power Monthly Table 5.6.A (U.S. total 18.16 cents per kWh; EIA marks 2026 preliminary). EIA's copyright and reuse note places its data publications in the public domain.

Annual or trip

Distance

Select a configuration.

Select a configuration.

Compare a second vehicle

Annual mode starts at 15,000 miles because that is the distance EPA uses for fuelCost08, with 55 percent city driving. Trip mode starts with the miles box empty. A split uses city and highway mpg directly. Combined uses the published combined mpg. Premium and midgrade gasoline have no EIA default. Clearing a price leaves the calculated cost blank.

Calculated fuel cost. EPA's annual fuel cost is the published fuelCost08 figure and is not recomputed from the price.
Select a configuration.

Formula

Formulas for a price you enter. Cost per mile is the cost divided by the miles. EPA's published annual fuel cost is shown beside the result and is not recomputed.
Situation Calculation
Combined mpg miles ÷ EPA combined mpg × dollars per gallon
City only miles ÷ EPA city mpg × dollars per gallon
Highway only miles ÷ EPA highway mpg × dollars per gallon
City and highway split city miles ÷ city mpg, plus highway miles ÷ highway mpg, then × dollars per gallon
Electric miles × EPA combined kWh/100 mi ÷ 100 × dollars per kWh
Cost per mile cost ÷ miles

Trip fuel cost opens this calculator in trip mode. For miles divided by gallons, use the MPG calculator. Annual fuel cost by EPA class sorts fuelCost08 for model years 2025–2027.

EIA prices used when the box matches the average

Retrieved Oct 31, 2026. Gasoline and diesel prices include all taxes. Electricity prices for 2026 are preliminary. The same figures are committed in data/eia-fuel-prices.csv.

Regular gasoline, week of Oct 26, 2026, from the Gasoline and Diesel Fuel Update
Area Price Unit Period
U.S. 4.269 USD per gallon 2026-10-26
East Coast (PADD1) 4.022 USD per gallon 2026-10-26
New England (PADD1A) 4.199 USD per gallon 2026-10-26
Central Atlantic (PADD1B) 4.251 USD per gallon 2026-10-26
Lower Atlantic (PADD1C) 3.832 USD per gallon 2026-10-26
Midwest (PADD2) 4.269 USD per gallon 2026-10-26
Gulf Coast (PADD3) 3.702 USD per gallon 2026-10-26
Rocky Mountain (PADD4) 4.458 USD per gallon 2026-10-26
West Coast (PADD5) 5.417 USD per gallon 2026-10-26
West Coast less California 4.868 USD per gallon 2026-10-26
California 5.888 USD per gallon 2026-10-26
Colorado 4.458 USD per gallon 2026-10-26
Florida 4.017 USD per gallon 2026-10-26
Massachusetts 4.145 USD per gallon 2026-10-26
Minnesota 4.146 USD per gallon 2026-10-26
New York 4.249 USD per gallon 2026-10-26
Ohio 4.380 USD per gallon 2026-10-26
Texas 3.632 USD per gallon 2026-10-26
Washington 5.203 USD per gallon 2026-10-26
On-highway diesel, week of Oct 26, 2026, from the Gasoline and Diesel Fuel Update
Area Price Unit Period
U.S. 6.352 USD per gallon 2026-10-26
East Coast (PADD1) 6.079 USD per gallon 2026-10-26
New England (PADD1A) 6.421 USD per gallon 2026-10-26
Central Atlantic (PADD1B) 6.496 USD per gallon 2026-10-26
Lower Atlantic (PADD1C) 5.890 USD per gallon 2026-10-26
Midwest (PADD2) 6.480 USD per gallon 2026-10-26
Gulf Coast (PADD3) 5.951 USD per gallon 2026-10-26
Rocky Mountain (PADD4) 6.521 USD per gallon 2026-10-26
West Coast (PADD5) 7.329 USD per gallon 2026-10-26
West Coast less California 6.614 USD per gallon 2026-10-26
California 8.155 USD per gallon 2026-10-26
Residential electricity, August 2026, cents per kWh, from Table 5.6.A
Area Price Unit Period
U.S. Total 18.16 cents per kWh 2026-08
Connecticut 24.51 cents per kWh 2026-08
Maine 32.11 cents per kWh 2026-08
Massachusetts 30.48 cents per kWh 2026-08
New Hampshire 27.64 cents per kWh 2026-08
Rhode Island 28.18 cents per kWh 2026-08
Vermont 23.84 cents per kWh 2026-08
New Jersey 24.61 cents per kWh 2026-08
New York 28.65 cents per kWh 2026-08
Pennsylvania 21.77 cents per kWh 2026-08
Illinois 19.32 cents per kWh 2026-08
Indiana 17.02 cents per kWh 2026-08
Michigan 22.99 cents per kWh 2026-08
Ohio 19.38 cents per kWh 2026-08
Wisconsin 19.41 cents per kWh 2026-08
Iowa 17.06 cents per kWh 2026-08
Kansas 15.47 cents per kWh 2026-08
Minnesota 17.20 cents per kWh 2026-08
Missouri 16.02 cents per kWh 2026-08
Nebraska 13.54 cents per kWh 2026-08
North Dakota 13.31 cents per kWh 2026-08
South Dakota 15.15 cents per kWh 2026-08
Delaware 18.70 cents per kWh 2026-08
District of Columbia 25.98 cents per kWh 2026-08
Florida 14.99 cents per kWh 2026-08
Georgia 15.90 cents per kWh 2026-08
Maryland 21.40 cents per kWh 2026-08
North Carolina 14.95 cents per kWh 2026-08
South Carolina 15.76 cents per kWh 2026-08
Virginia 17.64 cents per kWh 2026-08
West Virginia 16.31 cents per kWh 2026-08
Alabama 16.33 cents per kWh 2026-08
Kentucky 13.80 cents per kWh 2026-08
Mississippi 14.43 cents per kWh 2026-08
Tennessee 13.42 cents per kWh 2026-08
Arkansas 14.37 cents per kWh 2026-08
Louisiana 12.87 cents per kWh 2026-08
Oklahoma 14.82 cents per kWh 2026-08
Texas 15.91 cents per kWh 2026-08
Arizona 15.05 cents per kWh 2026-08
Colorado 17.17 cents per kWh 2026-08
Idaho 13.37 cents per kWh 2026-08
Montana 15.57 cents per kWh 2026-08
Nevada 12.72 cents per kWh 2026-08
New Mexico 16.51 cents per kWh 2026-08
Utah 13.31 cents per kWh 2026-08
Wyoming 14.43 cents per kWh 2026-08
California 29.75 cents per kWh 2026-08
Oregon 15.92 cents per kWh 2026-08
Washington 14.63 cents per kWh 2026-08
Alaska 29.41 cents per kWh 2026-08
Hawaii 47.18 cents per kWh 2026-08