Does EIA have historical gasoline prices for each state?
Yes, the U.S. Energy Information Administration (EIA) publishes historical gasoline price data. Unless otherwise indicated, the prices that EIA publishes are nominal prices.
Retail gasoline prices, including taxes, are available for selected cities and states dating back to 2000. Weekly prices, average monthly prices, and average annual prices by grade and formulation are available.
The State Energy Data System (SEDS) contains estimates for average annual gasoline prices for each state dating back to 1970. The prices are in dollars per million British thermal units ($/MMBtu). The prices include federal and state gasoline taxes, but they exclude local taxes.
To obtain the historical prices from the SEDS data, use the CSV file for All States—Prices. In the file, the code for gasoline prices for the transportation sector, in $/MMBtu, is: State Abbreviation (in column A) and MGACD (in column B). For example, the code for Alaska is AK—MGACD. Those prices, in $/MMBtu, can be converted to approximate dollars per gallon using the heat contents in Table A3 Petroleum consumption and fuel ethanol. There are 42 U.S. gallons in a barrel.
Historical average monthly and annual prices for all states, from retail outlets, excluding taxes, by grade and formulation (and by other sales types) are available from 1983 to 2011. Data collection for the price series was suspended in 2011. Historical federal and state taxes on motor vehicle fuels are published in the Motor Fuels sections of the Federal Highway Administration’s annual Highway Statistics Series.
All of the above price data series are also available through EIA’s application programming interface (API); see petroleum prices.
Last updated: February 6, 2024.
Other FAQs about Prices
- Why are diesel fuel prices higher than gasoline prices?
- How much tax do we pay on a gallon of gasoline and on a gallon of diesel fuel?
- Does EIA publish inflation-adjusted gasoline and diesel fuel prices?
- Does EIA publish off-road diesel fuel prices?
- Are prices published by EIA adjusted for inflation?
- What do I pay for in a gallon of gasoline and diesel fuel?
- Where can I get help paying my utility bills?
- Does EIA have ethanol price data?
- How do I calculate diesel fuel surcharges?
- What is the outlook for home heating fuel prices this winter?
- How much does it cost to generate electricity with different types of power plants?
- Does EIA publish electric utility rate, tariff, and demand charge data?
- What are the projections for U.S. gasoline and diesel fuel prices?
- What can I expect to pay for heating this winter?
- Does EIA publish energy consumption and price data for cities, counties, or by zip code?
- What are Ccf, Mcf, Btu, and therms? How do I convert natural gas prices in dollars per Ccf or Mcf to dollars per Btu or therm?
- How do I compare the cost of heating fuels?
- Does EIA have forecasts or projections for energy production, consumption, and prices for individual states?
- Does EIA publish data on peak or hourly electricity generation, demand, and prices?
- Does EIA publish coking coal prices?
- Does EIA publish gasoline prices by city, county, or zip code?
- Why am I being charged more for heating oil or propane than the price on EIA's website?
- What is the price or cost of natural gas for U.S. electric power producers?
- Does EIA have historical gasoline prices for each state?
- Does EIA publish electricity sales and price data by state and by utility?
- What are the different coal prices published by EIA?