Does EIA have historical gasoline prices for each state?
The U.S. Energy Information Administration (EIA) publishes retail gasoline prices, including taxes, 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 reviewed: February 4, 2021
Other FAQs about Prices
- How do I calculate diesel fuel surcharges?
- Does EIA have ethanol price data?
- What is the outlook for home heating fuel prices this winter?
- 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 prices?
- Are prices published by EIA adjusted for inflation? ?
- Does EIA publish off-road diesel fuel prices?
- Where can I get help paying my utility bills?
- What are the different coal prices published by EIA?
- 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 do I pay for in a gallon of gasoline and diesel fuel?
- Does EIA have historical gasoline prices for each state?
- What are the projections for U.S. gasoline and diesel fuel prices?
- 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?
- What is the price or cost of natural gas for U.S. electric power producers?
- Does EIA publish data on peak or hourly electricity generation, demand, and prices?
- Why am I being charged more for heating oil or propane than the price on EIA's website?
- Does EIA publish coking coal prices?
- Does EIA publish energy consumption and price data for cities, counties, or by zip code?
- Does EIA publish electricity consumption and price data by state and by utility?
- Does EIA publish gasoline prices by city, county, or zip code?
- What can I expect to pay for heating this winter?
- Does EIA have forecasts or projections for energy production, consumption, and prices for individual states?
- How do I compare the cost of heating fuels?