U.S. Energy Information Administration logo
Skip to sub-navigation

2024 was a year of notable accomplishments. Check out the highlights of EIA products and programs this year.

Gasoline explained Factors affecting gasoline prices

Gasoline types

Gasoline is sold based on octane levels in three primary grades of gasoline:

  • Regular
  • Midgrade
  • Premium

The octane level indicates gasoline's resistance to combustion. Gasoline with a higher octane is less prone to pre-ignition and detonation, also known as engine knocking. Refiners charge more for higher-octane fuel, and premium-grade gasoline is the most expensive. From 1995 through 2006, the price difference among grades of gasoline was typically about 10 cents per gallon. Since 2006, the price difference among gasoline grades has generally increased. In 2023, the national annual average price of midgrade gasoline was about 52 cents per gallon more than regular-grade gasoline, and the average price for premium-grade gasoline was about 85 cents per gallon more than regular-grade gasoline.

The main components of the retail price of gasoline

The retail price of gasoline includes four main components:

  • The cost of crude oil
  • Refining costs and profits
  • Distribution and marketing costs and profits
  • Taxes
What do we pay for per gallon of retail regular grade gasoline? 2014-2023 average retail price $2.83/gallon 2023 average retail price $3.52/gallon refining costs and profits distribution and marketing federal and state taxes crude oil 15.3% 15.1% 17.3% 52.3% 18.7% 14.3% 14.4% 52.6% Data source: U.S. Energy Information Administration, Gasoline and Diesel Fuel Update Note: Prices are nominal prices: the prices paid at the time of purchase.

Retail pump prices reflect these components and the profits (and sometimes losses) of refiners, marketers, distributors, and retail station owners.

The cost of crude oil

The largest component of the retail price of gasoline is the cost of crude oil, and its a share of the retail gasoline price varies over time and across regions of the country. Many factors affect crude oil prices. In the past several years, higher U.S. oil production has helped to slow the rise of oil and gasoline prices. You can learn about the seven major factors that influence crude oil prices in What Drives Crude Oil Prices?

Gasoline taxes

Federal, state, and local government taxes also contribute to the retail price of gasoline. The federal tax on motor gasoline is 18.40 cents per gallon, which includes an excise tax of 18.30 cents per gallon and the federal Leaking Underground Storage Tank fee of 0.1 cents per gallon. As of January 1, 2024, state taxes and fees on gasoline averaged 32.44 cents per gallon. Sales taxes, along with local and municipal government taxes, may have a large effect on the retail price of gasoline in some locations.

Refining costs and profits

Refining costs and profits vary seasonally and by region in the United States, partly because different gasoline formulations are required to reduce air pollution in different parts of the country. The characteristics of the gasoline produced depend on the type of crude oil that is used and the type of processing technology available at the refinery where it is produced. Gasoline prices are also affected by the cost of other ingredients that may be blended into the gasoline, including fuel ethanol. Gasoline demand usually increases in the summer, which generally results in higher prices.

Distribution and marketing

Distribution, marketing, and retail dealer costs and profits are also included in the retail price of gasoline. Most gasoline is shipped from refineries by pipeline to terminals near consuming areas, where it may be blended with other products —such as fuel ethanol—to meet local government and market specifications. Tanker trucks deliver gasoline to individual gasoline stations.

Some retail outlets are owned and operated by refiners, and others are independent businesses that purchase gasoline from refiners and marketers for resale to the public. The price at the pump also reflects local market conditions and factors, such as the fueling location and the marketing strategy of the owner.

The cost of doing business by individual gasoline retailers can vary greatly depending on where a gasoline fueling station is located. These costs include wages and salaries, benefits, equipment, lease or rent payments, insurance, overhead, and state and local fees. Even retail stations close to each other can have different traffic patterns, rent, and sources of supply that affect their prices. The number and location of local competitors can also affect prices.

Last updated: September 5, 2024.