Two vehicles, every state's fuel and electricity price
Pick vehicles from the EPA ratings or type a consumption, then see what a year of driving costs where you live and in every other state.
Plug-in hybrid: priced on gasoline at its EPA gas-mode rating.
Every state, ranked by what B saves
Fuel and electricity prices do not move together, so the same two vehicles compare differently from state to state.
| State | A a year | B a year | B saves | ||
|---|---|---|---|---|---|
|
|
Consumption is the EPA rating; prices are the latest EIA weekly pump price for the state (its own series, else its region) and the latest monthly residential electricity price. Real costs vary with driving, weather, charging losses and local rates. Sources: EPA (fueleconomy.gov) and the U.S. Energy Information Administration (EIA), public domain.
How it works
EPA consumption, EIA prices, your miles
Each vehicle's energy use comes from its EPA rating; each state's price from the U.S. Energy Information Administration. The calculator multiplies the two for the miles you drive.
Weekly pump prices
Regular, midgrade and premium gasoline and diesel from EIA's weekly retail survey: the state's own average where EIA publishes one, else its PADD region.
Monthly electricity rates
The state's average residential price per kWh from EIA's Electric Power Monthly: the cost of charging at home.
EPA ratings for real vehicles
Pick any rated car to use its city and highway figures; an EV's MPGe becomes kWh per 100 miles at EPA's 33.7 kWh a gallon.
Frequently asked questions
Related tools: VIN decoder & check, EV transition advisor and the model-year scorecard.
Need energy costs in your app?
The same EIA prices are an API endpoint and an MCP tool, next to every car's EPA figures.
- GET /v1/energy-prices?state=: weekly fuel and monthly electricity prices
- GET /v1/cars/{uuid}: EPA city, highway and combined MPG or MPGe
- MCP energy_prices: an annual cost for any mpg
- Free plan includes 100 API calls a month, no card required
Need more calls? See pricing.