Gas prices can climb several cents a gallon in a week, and they can differ by a dollar or more between states, or by a dime between stations on the same corner. None of that is random. Every gallon carries the cost of crude oil, refining, delivery and taxes, and each piece moves for its own reasons. Here's how it works, with the real numbers, and what you can actually control.
What goes into the price of a gallon of gas?
Four things: crude oil, refining costs and profits, distribution and marketing, and taxes. Crude oil is the biggest piece, about half the price in 2025, according to the U.S. Energy Information Administration. The other three each typically account for roughly 15% to 18%, so when oil moves, pump prices usually follow.
In 2025, U.S. regular gasoline averaged about $3.10 a gallon, and crude oil made up roughly 51% of that (EIA). Here's what each part covers:
- Crude oil: the raw material refiners buy on world markets. It's the largest and most volatile part of the price.
- Refining costs and profits: turning crude into gasoline, diesel and jet fuel. These costs vary by season and by region, partly because different areas require different gasoline formulas to reduce air pollution.
- Distribution and marketing: moving fuel by pipeline, ship and truck, plus running the station and the retailer's margin.
- Taxes: the federal tax of 18.4 cents a gallon (an 18.3-cent excise tax plus a 0.1-cent underground storage tank fee) and state taxes and fees that averaged 33.55 cents a gallon as of January 2026, plus local or sales taxes in some places.
Together, federal and average state taxes come to about 52 cents a gallon. Because that amount is mostly fixed per gallon rather than a percentage, taxes make up a smaller share of the price when gas is expensive and a bigger share when it's cheap.
Why crude oil prices change
Crude oil is traded globally, so its price reflects world supply and demand, not just what's happening in your town. On the supply side, production decisions by OPEC and its allies, output from U.S. producers, and wars or attacks in oil-producing regions can all move prices quickly. Even the fear of a disruption, such as tension around a major shipping route, can push prices up before any oil is actually lost.
On the demand side, a growing global economy uses more fuel, while slowdowns and recessions reduce demand. Oil is generally priced in U.S. dollars, so currency swings matter too, as do inventory levels, hurricane season and traders' expectations.
Why prices rise fast and fall slowly
Drivers often notice that pump prices shoot up when oil spikes but drift down slowly when oil falls. Economists call this pattern rockets and feathers and have studied it for decades. Explanations include how stations price the fuel already in their tanks, how closely they watch competitors, and the fact that drivers shop around harder when prices are rising. The practical takeaway: when oil prices drop, it can take weeks for the full decline to reach your station.
Why prices vary by state and by season
Taxes explain much of the gap between states, since state taxes and fees vary widely around that 33.55-cent average. Fuel rules matter too. Some states and cities require special cleaner-burning blends, and fewer refineries make them, so a single refinery outage can push local prices up sharply. Distance matters as well: areas far from refineries and pipelines pay more to get fuel delivered.
Seasons follow a familiar pattern. EIA says retail gasoline prices tend to rise gradually in spring and peak in late summer, when people drive more, and are generally lower in winter. Summer rules require gasoline that evaporates less in warm weather, which means replacing cheaper components with more expensive ones. From 2004 through 2023, the average U.S. price of regular in August was about 40 cents a gallon higher than in January (EIA).
Sudden spikes usually come from supply shocks: refinery fires or outages, pipeline problems, low imports or hurricanes that hit Gulf Coast refining. When supply drops, inventories can fall quickly and prices can jump within days in the affected region.
Diesel plays by slightly different rules
Diesel has the same four building blocks. Crude oil accounted for about 51% of the average U.S. retail diesel price from 2004 through 2025, according to EIA. But demand patterns differ: diesel and heating oil are similar products, so cold-weather heating demand in the fall and winter can push diesel prices up. Diesel on the West Coast, especially California, tends to cost more because of taxes and supply issues, and areas farthest from the Gulf Coast, the source of about half of U.S. diesel production, tend to pay more.
Diesel powers trucks, trains, farm equipment and ships, so higher diesel prices raise the cost of moving almost everything. That's one way fuel prices ripple into grocery bills and broader inflation.
What this means for your budget: a worked example
Say you drive 12,000 miles a year in a car that gets 25 miles per gallon. You'll buy about 480 gallons a year. At $3.10 a gallon, that's about $1,488.
- Every 10-cent change in the price per gallon changes your annual fuel bill by about $48.
- A 50-cent spike, the kind that can follow an oil shock, adds about $240 a year, or $20 a month.
- Taxes at roughly 52 cents a gallon add up to about $250 of your yearly fuel spending.
- If you pay for premium in a car that only needs regular, EIA data show premium averaged about 93 cents more per gallon in 2025. That habit would cost you around $446 a year.
Seeing it this way helps with planning. If prices are volatile, budget fuel at a price 25 to 50 cents above today's level and treat anything left over as a bonus for savings.
How to save at the pump: a checklist
- Compare prices with a gas price app before you fill up. A 10-cent difference on a 15-gallon tank saves $1.50 each time.
- Use the octane your owner's manual recommends. If it says regular, premium is usually money you don't need to spend.
- Check your tire pressure monthly. FuelEconomy.gov says proper inflation improves gas mileage by 0.6% on average and up to 3% in some cases.
- Use the recommended grade of motor oil, which the same site says can improve mileage by 1% to 2%.
- Drive smoothly. Hard acceleration, hard braking and high speeds burn more fuel.
- Combine errands into one trip and remove heavy cargo you don't need to carry.
- Check whether your station charges less for cash or debit, and look at warehouse club or grocery fuel rewards if you already shop there.
- Fill up before holiday weekends or forecast storms, when demand and prices often rise.
What to watch next
If you want an early read on where pump prices are headed, watch crude oil prices, news about OPEC+ production decisions, refinery outages and hurricane forecasts for the Gulf Coast. EIA publishes weekly retail price data and regular explainers on what drives them. Gasoline is also one of the most watched items in the Consumer Price Index, so big swings at the pump often show up in monthly inflation reports.
Build a fuel buffer into your budget
Because pump prices swing with events you can't control, it helps to budget fuel a little above today's price. Say your household buys about 40 gallons a month. At $3.10 a gallon, that's $124. If you budget as though gas costs $3.50, you'd set aside $140, and the extra $16 a month goes into a small fuel buffer. After a year, that buffer holds about $192.
If prices then jump 50 cents a gallon, your monthly fuel bill rises by about $20, and the buffer covers that for more than nine months without touching the rest of your budget. When prices fall, keep budgeting at the higher number and move the surplus into savings. It turns a stressful headline into a line item you already planned for.
Frequently asked questions
What is the biggest factor in gas prices?
Crude oil. It made up about half of the average U.S. retail gasoline price in 2025, according to the EIA. Refining, distribution and marketing, and taxes make up the rest.
How much is the federal gas tax?
18.4 cents per gallon, which includes an 18.3-cent excise tax and a 0.1-cent Leaking Underground Storage Tank fee. State taxes and fees averaged 33.55 cents a gallon as of January 2026.
Why are gas prices higher in summer?
People drive more, and summer rules require gasoline that evaporates less, which costs more to make. From 2004 to 2023, August prices averaged about 40 cents a gallon more than January prices.
Does premium gas improve fuel economy?
Generally not if your vehicle is designed for regular. Use the octane rating in your owner's manual; premium averaged about 93 cents more per gallon than regular in 2025.
Sources
- U.S. Energy Information Administration, Gasoline explained: Factors affecting gasoline prices
- U.S. Energy Information Administration, Gasoline explained: Gasoline price fluctuations
- U.S. Energy Information Administration, Diesel fuel explained: Factors affecting diesel prices
- FuelEconomy.gov (U.S. Department of Energy and EPA), Keeping Your Vehicle in Shape
Content on The Evergreen Edit is for educational and informational purposes only and is not individualized financial, investment, tax or legal advice. Learn more.
Which money-saving habit will you focus on next?
This article is for educational purposes only and isn't personalized financial, tax or legal advice. Consider talking with a qualified professional about your situation.

Kiara Miller — Founder & Editor
Kiara Miller is the founder and editor of The Evergreen Edit. He has been doing independent finance research for two decades, is a tax preparer, and reviews every article before it's published.
More about Kiara →Get smarter about your money.
Join readers who get money stories on their chosen topics, daily or as new articles post.




