Money · Explainer

How gas prices are set: crude oil, refineries, taxes and the corner station

No single person sets the number on the sign. It is built in layers, starting with a barrel of oil traded in a global market and ending with the rent on one corner lot. Here is each layer, and what a $3.87 gallon is actually paying for.

TrendBrief Money Desk · November 13, 2026 · 9 min read

Fuel pumps in a long row at a Buc-ee's gas station in Calhoun, Georgia. Photo: John Phelan / Wikimedia Commons (CC BY 4.0).
Fuel pumps at a Buc-ee's in Calhoun, Georgia. The price on the sign is built in layers, from a global oil market down to this station's own costs. Photo: John Phelan / Wikimedia Commons (CC BY 4.0)
Video thumbnail: The U.S. Energy Information Administration's explainer on what determines gas prices

Watch: "What Determines Gas Prices?", the U.S. Energy Information Administration's own explainer, from EIAgov.

Every driver has had the same two questions at the pump: who decided this number, and why is the station across town charging less? The honest answer is that the price is not decided in one place. In the U.S. Energy Information Administration's breakdown of what affects gasoline prices, the retail price is the sum of four components: the cost of crude oil, refining costs and profits, distribution and marketing, and taxes, plus the costs and margins of everyone who handles the fuel along the way. This guide walks through each layer in order, biggest first, and then runs the math on a real gallon. For the machinery in the news this week, see our explainer on prices falling below $4 in AAA's latest reading.

Key facts

Four layersCrude oil, refining, distribution and marketing, and taxes, in the EIA's breakdown. Crude is the largest
18.4 centsThe federal tax on a gallon of gasoline: an 18.3-cent excise tax plus a 0.1-cent storage tank fee, per the EIA
33.55 centsAverage state taxes and fees on a gallon, as of January 2026, per the EIA, before any local taxes
Summer costs moreSummer fuel blends cost more to make, and gasoline demand usually rises in summer, per the EIA

Layer one: crude oil, the biggest piece

The largest component of the retail price is the cost of crude oil, in the EIA's own wording on its gasoline prices page, and its share of the price varies over time and across regions. Crude is a global commodity: refineries buy it at prices set by worldwide supply and demand, so a supply cut, a war, a production decision by a major oil-producing country or a surge in driving anywhere on earth can move the price of a barrel, and with it the first and biggest layer of the pump price. That is why gasoline prices tend to follow oil prices, with a lag: the fuel at your station was refined from oil bought weeks earlier, at that week's price. The EIA also notes that higher U.S. oil production in recent years has helped slow the rise of oil and gasoline prices, because more supply in the global market presses down on the barrel price every refinery pays.

Layer two: refining, and why summer fuel costs more

Crude oil cannot go in a tank. Refineries turn it into gasoline, and what that costs, plus the refiner's profit, is the second layer. According to the EIA's factors page, refining costs and profits vary seasonally and by region, partly because different gasoline formulations are required in different parts of the country to reduce air pollution. The summer blend is the famous example: fuel made for hot weather evaporates less, which is better for air quality and worse for your wallet, because it costs more to produce. Layer in the EIA's other seasonal point, that gasoline demand usually increases in the summer as people drive more, and you get the familiar annual pattern: prices climb into the summer driving season on both higher costs and higher demand, then ease in the fall. A refinery outage, planned or not, squeezes this layer hard, because the remaining refineries can charge more for the gasoline they do make.

Layer three: getting it to your station

Finished gasoline still has to travel. The third layer, distribution and marketing, covers the pipelines that move fuel from refineries to terminals near where people live, the blending with other products such as fuel ethanol to meet local rules, the tanker trucks that deliver to individual stations, and the marketing behind the brand on the sign. The last stop matters more than drivers expect. As the EIA's factors page explains, a station's own cost of doing business, wages, rent or lease payments, insurance, equipment and local fees, varies greatly with its location, and stations close to each other can still charge differently because of traffic patterns, rent and their sources of supply. That is the whole answer to the two-stations-two-prices puzzle: the first two layers are nearly identical for both, but the third layer, and the competition each one faces on its own corner, is not.

Layer four: taxes, and why states differ so much

Taxes are the most predictable layer and the one that explains the map. The federal piece is fixed nationally: 18.40 cents per gallon, made up of an 18.30-cent excise tax and a 0.1-cent Leaking Underground Storage Tank fee, in the EIA's figures on its gasoline prices page. State taxes and fees averaged 33.55 cents per gallon as of January 2026, and because each state sets its own, plus sales and local taxes in some places, the tax layer alone can differ by tens of cents from one state line to the next. The geography shows up clearly in the EIA's Gasoline and Diesel Fuel Update for the week of November 9, 2026: regular gasoline averaged $3.995 nationally, but $5.562 in California and $5.110 on the West Coast against $3.481 on the Gulf Coast and $3.408 in Texas, gaps built from state taxes, regional fuel formulations and refining and transport costs combined. It is the same machinery that moves the inflation numbers in our guide on how the CPI inflation report works: energy is a basket component there, and gasoline is its most visible price.

The worked example: one $3.87 gallon

Now run a real gallon through the layers. Take AAA's national average of $3.8724 a gallon, from AAA Fuel Prices on November 13, 2026, and call it $3.87. This is an illustration, not an audit: the exact split changes every month, and the EIA publishes the current component shares in chart form in its Gasoline and Diesel Fuel Update rather than as one fixed formula. The one piece you can price to the cent from published figures is taxes. Federal tax: 18.4 cents. State taxes and fees at the January 2026 national average: 33.55 cents. Together that is 51.95 cents, roughly $0.52 of the $3.87, before any local tax. Subtract it and about $3.35 remains for the other three layers combined: crude oil, which the EIA identifies as the largest component, then refining, then distribution, marketing and the station's own margin. So when the average gallon moves 20 cents in a month, it is almost never the tax layer, which barely moves at all. It is the crude layer, repriced by a global market, flowing through refineries and trucks to the sign on your corner. The same bond-and-commodity machinery, working on borrowing costs instead of barrels, is what our companion guide on how mortgage rates are set follows, and this month's inflation print, which includes gasoline, is in our explainer on the October CPI report.

How to read the next price swing

When prices jump, check crude first: if oil has spiked in the past two weeks, the pump is following, and the jump will keep arriving as pricier fuel replaces cheaper fuel in station tanks. When prices differ across a state line, check taxes and fuel rules first: that gap is structural and will still be there next month. When one station is cheaper than its neighbor, you are looking at layer three, rent, supply source and competition, not a conspiracy. And when summer approaches, expect the seasonal lift the EIA describes, costlier blends plus peak demand, even in a year when nothing else goes wrong. No president, company or station owner sets the number alone, which is exactly why it moves so often: four layers, each with its own weather.

Get this in your inbox: Get tomorrow morning's stories, and updates to this one: the free TrendBrief email lands each morning with the day's top stories, explained, and it follows the gas price story as it develops. Joining takes seconds, and unsubscribing is one click. The signup form is just below.

Sources: U.S. Energy Information Administration, "Factors affecting gasoline prices" (the four price components and their order, crude oil as the largest component, the 18.40-cent federal tax including the 18.30-cent excise tax and 0.1-cent storage tank fee, state taxes and fees averaging 33.55 cents as of January 2026, seasonal refining costs and summer demand, and station-level cost differences); U.S. Energy Information Administration, Gasoline and Diesel Fuel Update (regular gasoline prices for the week of November 9, 2026: $3.995 U.S. average, $5.562 California, $5.110 West Coast, $3.481 Gulf Coast, $3.408 Texas, prices including all taxes; the EIA publishes monthly pump component shares in chart form in this update); AAA Fuel Prices (national average of $3.8724 on November 13, 2026, used for the worked example). The worked example is an illustration built from those published figures, not an official breakdown of any single gallon; this guide is educational, not financial advice.

Read us through Google? Add TrendBrief as a preferred source and Google will boost TrendBrief in your Top Stories when you search.

Get TrendBrief in your inbox

The day's top stories, explained — free, every morning.