All articles
9 min readBy the GasBudgeter Research Team·May 11, 2026

How Gas Prices Are Set

Understand how gas prices are determined — from crude oil and refining costs to state taxes and retail margins. Learn what drives pump prices up and down.

Quick Answer

Who sets gas prices at the pump?

Individual gas station owners set the retail price at their location, based on their wholesale fuel cost, competitor pricing, operating costs, and desired margin. Brand-affiliated stations often receive pricing guidance from their fuel supplier but retain control over final prices.

Most drivers know that gas prices change constantly and that they are highest in California. Far fewer understand why any of that is true. Understanding how gas prices are actually determined does not change what you pay at the pump, but it does change how you plan around those costs; when to expect prices to rise, which changes you can control, and which you cannot. Keep the GasBudgeter Price Tracker open as you read this and watch how these factors show up in your local data in real time.

The Four Main Components of a Gallon of Gas

The U.S. Energy Information Administration breaks down retail gasoline prices into four main components. Each one behaves differently and responds to different forces.

1. Crude Oil Cost: 50 to 60 Percent of Retail Price

The single largest component of what you pay is the cost of the crude oil that the gasoline is made from. Crude oil trades on global commodity markets around the clock. Its price reflects global supply and demand. When demand rises faster than supply, prices go up. When supply outpaces demand, they fall. Events like wars, sanctions, natural disasters, and major economic shifts all move crude prices within days.

OPEC production decisions have a direct and significant effect here. When OPEC nations cut production, reduced global supply tends to push crude prices higher. When they increase output, prices fall. This is the component of your gas price that is most out of your control and most closely tied to why gas prices vary so much between states; all states pay from the same global crude market but process it differently.

2. Refining Costs: 15 to 20 Percent of Retail Price

Crude oil must be refined into gasoline through a complex industrial process. Refining costs fluctuate based on energy costs to run refineries, capacity relative to demand, and the specific blend of gasoline required by different regions and seasons.

California alone requires a unique gasoline blend that only a limited number of refineries can produce. When a California refinery goes offline for maintenance or experiences an unplanned outage, California prices can spike dramatically within days because there is no easy substitute from other regions. This structural vulnerability is why California prices spike faster and higher than almost any other state when supply disruptions occur.

3. Taxes: 15 to 20 Percent of Retail Price

Federal and state taxes add a fixed amount to every gallon sold. The federal excise tax has been 18.4 cents per gallon since 1993. State taxes vary from around 9 cents per gallon in Alaska to over 77 cents per gallon in California when all state fees and environmental charges are included. This tax spread is the single largest structural reason why gas is so much cheaper in Texas than in California at any given moment.

Unlike crude oil prices, which fluctuate daily, tax rates change only through legislative action. This means the tax component of your gas price is entirely predictable and stable, but also entirely outside your ability to reduce through any personal financial strategy. Knowing this helps you focus energy on the components you can actually influence, covered fully in our 27 gas saving strategies.

4. Distribution, Marketing, and Retail Margin: 5 to 15 Percent

After refining, gasoline is transported to terminals, blended with ethanol where required, transported again to stations, and sold. Each step carries costs. The station owner also applies a retail margin that is often surprisingly thin. Many gas stations make only 1 to 5 cents per gallon of profit on fuel itself and rely on convenience store sales for meaningful income. This is why nearly every gas station has an attached mini-market.

Why Prices Differ So Much Between States

The biggest structural variable between states is the tax rate. A California driver paying $4.80 per gallon versus a Mississippi driver paying $3.20 faces about $1.60 in price difference. Of that, roughly $0.65 to $0.75 is state taxes and fees. The remainder reflects higher refining costs for California's unique blend requirements and higher distribution costs in a highly regulated market. Follow your local state price trends on the GasBudgeter Price Tracker to see this spread in real numbers.

Why Gas Prices Change So Quickly

Retail gas prices can move 10 to 20 cents per gallon within a single week. This reflects how quickly the crude oil component changes, and how fast local retailers respond to competitors. A geopolitical event threatening oil supply can move crude prices 5 to 10 percent in a single trading session. Since crude is more than half of your retail price, a 5 percent crude move pushes retail prices up 3 to 5 cents within days as the cost works through the supply chain.

Gas station pricing is also intensely competitive at the local level. When one station in a dense market drops its price, others typically follow within hours. This competitive dynamic means prices fall quickly in competitive markets but rise quickly too. This is why day-of-week timing works for filling up stations that respond to demand forecasts, and those forecasts follow weekly patterns.

Expert Note

Gas prices tend to rise faster than they fall. When crude prices spike, retail prices at the pump reflect the increase within days. When crude falls, retail prices lag by one to two weeks. This asymmetry, called the rocket and feather effect, is well documented in economic research and consistently benefits retailers at consumers' expense during price downturns.

Summer vs. Winter Gasoline: The Blend Switch

One of the most predictable causes of seasonal gas price increases is the annual switch between winter and summer fuel blends. Winter-blend gasoline is cheaper to produce and has different volatility characteristics suited to cold weather. Environmental regulations require refineries to switch to summer-blend in spring, which is more complex and expensive to produce. This transition, running roughly from January through June depending on region, reduces refinery throughput and pushes prices up 20 to 50 cents per gallon from winter lows.

This predictable annual pattern is exactly why budgeting for a higher gas bill in spring and summer is smart planning, not pessimism. Our monthly gas budget guide recommends building a seasonal buffer rather than assuming prices stay flat year-round.

Location Within a Market Affects Price

Even within the same city, prices vary significantly. Stations near highway on-ramps typically charge more because their customers have limited ability to comparison shop. Stations on major commercial strips with many competitors price more aggressively. Using the Price Tracker to find the lowest-priced station on your specific route, rather than stopping at the nearest or most visible station, is the highest-impact controllable variable in your gas budget.

What You Can and Cannot Control

Crude oil prices, refining costs, and federal taxes are entirely outside your control. State taxes change only through legislation. What you can control is which station you use, when you buy, which rewards programs you use, and what vehicle you drive. All of the personal savings strategies in our complete gas savings guide operate within the parts of the price structure that are actually within reach.

Frequently Asked Questions

Q1: Who sets gas prices at the pump?

Individual gas station owners set the retail price at their location, based on their wholesale fuel cost, competitor pricing, operating costs, and desired margin. Brand-affiliated stations often receive pricing guidance from their fuel supplier but retain control over final prices.

Q2: Why is gas so much more expensive in California?

Three main factors: California has the highest combined state fuel taxes and fees in the country, requires a unique gasoline blend that costs more to produce at fewer refineries, and imposes cap-and-trade carbon costs that other states do not.

Q3: Does OPEC actually control US gas prices?

OPEC does not directly control U.S. retail prices, but its production decisions significantly influence global crude oil prices, which account for more than half of what Americans pay per gallon. The connection is real and consequential.

Q4: Why do gas prices rise fast but fall slowly?

This asymmetry, the rocket and feather effect, occurs because retailers pass cost increases on quickly to protect margins but delay price cuts when costs fall, capturing the benefit of the lag. Competitive markets narrow this gap but rarely eliminate it.

Q5: What is the federal gas tax, and when was it last changed?

The federal gasoline excise tax is 18.4 cents per gallon and has not been changed since 1993. It funds the Highway Trust Fund for road construction and maintenance. Adjusted for inflation, it would be roughly double that amount today.

Q6: How do refinery outages affect prices?

Refinery outages reduce the local or regional supply of refined gasoline. Since gasoline must meet specific blend requirements in each region and cannot be freely substituted from other areas, even a single refinery going offline can cause significant regional price spikes within days.

Q7: What is ethanol, and how does it affect the price I pay?

Ethanol is a corn-based alcohol blended into most U.S. gasoline at typically 10 percent by volume. It generally costs less than gasoline on a volume basis, which moderates retail prices slightly compared to pure gasoline. However, ethanol contains less energy than gasoline, so higher ethanol blends slightly reduce fuel economy.

Q8: Why are prices different at stations on the same street?

Stations on the same street may have different wholesale supply contracts, rent costs, competitive strategies, and sales volumes. A high-volume station can price closer to cost because it recovers margin through volume. A low-volume station needs a higher per-gallon margin to cover fixed costs.

Q9: Do gas prices go up during hurricane season?

Yes. The Gulf Coast contains a large share of U.S. refining capacity. Hurricanes threatening Gulf refineries cause preemptive price increases as markets anticipate potential supply disruption. Even threats that do not materialize cause short-term spikes.

Q10: Can I predict when gas prices will be lowest in my area?

You can predict seasonal patterns fairly reliably. October through January is historically the low season for prices. The spring blend transition drives prices up from February to June. Monday is the cheapest day of the week in most markets. These patterns are consistent enough to plan around.

Q11: How does inflation affect gas prices?

Inflation affects refining input costs and station operating costs. But the biggest inflation driver for gas prices is specific to crude oil rather than the general inflation rate, which is why gas prices can spike even when general inflation is low, and can fall even during inflationary periods.


Try These Tools

More Articles