What goes into the price of a gallon of gasoline
Crude oil, refining, distribution and taxes each take a share of the pump price. Here is how the pieces fit together and why pump prices can lag behind oil.
Gasoline prices are among the most visible prices in the economy. They are posted on signs at every corner, they change often, and they affect how people feel about inflation more than almost anything else. Yet the price of a gallon is made up of several distinct pieces, and only one of them is the cost of crude oil.
The four components
The US Energy Information Administration (EIA) breaks the retail price of regular gasoline into four parts and publishes their shares monthly:
- Crude oil. The cost of the oil that is refined into gasoline. This is usually the largest share, often around half of the pump price or more, and it is also the most volatile.
- Refining costs and profits. What refiners spend on turning crude into gasoline, plus their margin. This share swings with refinery capacity, outages and seasonal demand.
- Distribution and marketing. Pipelines, terminals, trucks, and the costs and margins of the retail station itself.
- Taxes. Federal, state and in some places local taxes.
The shares move over time. When crude prices spike, crude's share of the pump price rises. When a refinery outage tightens supply in one region, refining margins jump there even if crude is unchanged.
Crude oil: a global price
Oil is traded worldwide, and its price reflects global supply and demand: output decisions by major producers including OPEC+ countries, US shale production, economic growth in large consuming countries, inventories, and geopolitical risks that could disrupt supply. Two benchmarks dominate: Brent, which reflects oil from the North Sea and is the main international reference, and West Texas Intermediate (WTI), the main US benchmark. A barrel is 42 gallons, so a $10 change in the price of a barrel works out to roughly 24 cents per gallon of crude, before any refining or taxes.
Refining and the "crack spread"
Refiners buy crude and sell products such as gasoline, diesel and jet fuel. The difference between the price of crude and the prices of the products it yields is known in the industry as the crack spread, a rough measure of refining profitability. It widens when refinery capacity is tight, for example during unplanned outages, hurricanes along the Gulf Coast, or maintenance season, and narrows when product supply is plentiful.
Seasonal factors matter too. Federal and state rules require different gasoline blends in summer, designed to reduce evaporation and smog. Summer-grade gasoline is more expensive to produce, and the switchover in spring often coincides with higher prices.
Why prices differ so much by state
Drivers in some states regularly pay a dollar or more per gallon above drivers in others. Several factors add up:
- Taxes. The federal excise tax is 18.4 cents per gallon and has not changed since 1993. State taxes and fees vary widely, from well under 20 cents to more than 60 cents a gallon when all state levies are included.
- Fuel specifications. Some states, most notably California, require their own cleaner-burning blends that few refineries outside the state produce, which limits supply.
- Distance and infrastructure. Regions far from refineries or major pipelines pay more to move fuel.
- Environmental programs. Low-carbon fuel standards and cap-and-trade programs in some states add to costs.
- Local competition among retailers and the cost of land and labor for stations.
What the shares looked like in a recent year
The four pieces are not a fixed recipe. EIA's breakdown of the 2025 average retail price of regular gasoline, $3.10 a gallon, put crude oil at 51.4 percent, distribution and marketing at 17.8 percent, federal and state taxes at 16.6 percent, and refining costs and profits at 14.3 percent. Over the ten years 2016 through 2025, the average retail price was $2.89, and crude's share averaged 51.7 percent, with taxes at 17.4 percent, distribution and marketing at 15.9 percent, and refining at 15.0 percent. Those are national annual averages. A week with a refinery outage, or a state with an unusual tax, will not match them.
The federal piece of the tax line is exact. EIA states it as 18.40 cents per gallon: an excise tax of 18.30 cents plus a 0.1 cent Leaking Underground Storage Tank fee. As of January 2026, EIA's average of state taxes of general application, including excise, environmental, and inspection fees but excluding taxes based on gross or net receipts, and excluding county and local taxes, was 33.27 cents a gallon. The federal rate reached 18.4 cents in the Omnibus Budget Reconciliation Act of 1993, which added 4.3 cents. The Taxpayer Relief Act of 1997 directed that 4.3 cents into the Highway Trust Fund, which is where the Federal Highway Administration's history says the tax remains.
Octane, vapor pressure, and the truck
Regular, midgrade, and premium are different products. The octane rating measures resistance to knocking. EIA reports that in 2025 the national annual average price of midgrade was about 57 cents a gallon above regular, and premium was about 93 cents above regular. That gap is a refining and blending cost, not a separate tax.
Summer gasoline is a different specification again. EPA regulates Reid vapor pressure, a measure of how readily gasoline evaporates, during the summer ozone season, to cut the volatile organic compounds that form ground-level ozone. Clean Air Act section 211(h) caps summer gasoline at 9.0 pounds per square inch. Some areas are held to 7.8 psi. Gasoline with 10 percent ethanol gets a 1.0 psi allowance. For retailers, the summer season is generally June 1 through September 15; for refiners and other parties upstream, it generally begins May 1. The entire state of California is required to sell California reformulated gasoline. The current limits are in 40 CFR 1090.215. A lower vapor-pressure cap means a tighter blend, which is why the spring switch can lift pump prices when the price of crude has not moved.
After the refinery, most gasoline moves by pipeline to a terminal near the market, where it may be blended with ethanol to meet local rules, and then by tanker truck to the station. EIA notes that some stations are owned by refiners and many are independent businesses buying from marketers. Wages, rent, insurance, and the number of competitors on the same road all sit in the distribution-and-marketing slice. Two stations a short drive apart can post different prices on a day when their wholesale cost is the same.
"Rockets and feathers"
Drivers often notice that pump prices seem to rise quickly when oil goes up but fall slowly when it comes down. Economists call this asymmetry "rockets and feathers", and a range of studies has found evidence of it, though its size varies. Explanations include the fact that stations buy fuel in advance and price against replacement cost, that retailers can gain margin while wholesale prices fall because shoppers search less when prices are dropping, and the time it takes for changes in crude to work through refining and distribution. In any case, pump prices generally follow wholesale gasoline prices with a lag of days to weeks.
How to read gasoline headlines
- Check which price is quoted. National averages from the EIA (published weekly) and from auto clubs differ slightly in method. Regional prices can diverge sharply from the average.
- Separate crude from refining. If crude is flat but gasoline is rising, look for refinery problems or seasonal factors.
- Remember the math. Each $1 move in a barrel of crude translates to about 2.4 cents a gallon, so a $10 swing is roughly a quarter.
- Consider the lag. A sharp fall in crude today will usually take a few weeks to show up fully at the pump.
The bottom line
The pump price is crude oil plus refining, distribution and taxes. Crude drives most of the swings, but refinery capacity, fuel rules, state taxes and local competition explain why the same week can bring very different prices in different places.
Sources
- U.S. Energy Information Administration: Gasoline explained, factors affecting gasoline prices
- EIA: Gasoline and Diesel Fuel Update (weekly retail prices and price components)
- EIA: Gasoline explained, regional price differences
- Federal Highway Administration: Federal fuel tax rates
- U.S. EPA: Gasoline Reid vapor pressure (summer fuel requirements)
- EIA: How much tax is paid on a gallon of gasoline and diesel