← All articles

Federal and State Gas Taxes Compared: How Much of Your Pump Price Is Tax?

Federal gas tax has been frozen at 18.4 cents since 1993, but state taxes vary widely and can add 15 to 70 cents to every gallon you buy.

Close-up of a fuel pump display showing per-gallon price during a fill-up at a US gas station

When you pay for a gallon of gasoline, a meaningful slice never reaches the refiner, the retailer, or the driller. It goes to federal and state governments as excise tax, plus a patchwork of environmental fees, underground storage charges, and sometimes sales tax layered on top. The total varies by more than 50 cents per gallon depending on where you fill up, which explains a lot of the price gap between neighboring states.

The federal share has not moved in three decades

The federal excise tax on gasoline is 18.4 cents per gallon, and on diesel it is 24.4 cents. Congress last raised it in 1993. Because the tax is a fixed number of cents rather than a percentage of price, its real value has eroded substantially with inflation. A 1993 dollar is worth roughly half of a 2024 dollar, so the federal contribution to highway funding, in real terms, is a fraction of what it once was.

That money flows into the Highway Trust Fund, which supports interstate maintenance and mass transit. The fund has run structural deficits for years and has been repeatedly patched with general revenue transfers. This matters for drivers because pressure to raise the federal rate, index it to inflation, or replace it with a per-mile fee keeps returning to the policy conversation.

State taxes do most of the work, and they vary a lot

State-level gasoline taxes range from under 15 cents per gallon in Alaska to more than 65 cents in California and Pennsylvania, according to figures published by the American Petroleum Institute and state revenue departments. Most states sit somewhere between 25 and 45 cents when you count the excise tax plus environmental and inspection fees.

Some states also apply general sales tax to fuel, which means the tax bite grows automatically when pump prices rise. California, Illinois, Indiana, Michigan, and a handful of others fall into this category. Others, including Texas and Missouri, rely on a flat per-gallon rate that stays the same whether gas is $2.50 or $5.00.

What actually moves the needle
Most fuel-economy wins stack up from small, compounding changes — not one trick. See what's worth your time.
See what else works →

What the total tax bite looks like at the pump

Combining federal and state components, drivers in the lowest-tax states pay roughly 33 to 40 cents per gallon in taxes. Drivers in the highest-tax states pay 80 cents to over 90 cents. On a 14-gallon fill-up, that is a difference of about $7 between, say, Mississippi and California, before you even account for base fuel cost differences.

This is one of the largest drivers of state-to-state price variation, alongside refinery access, fuel blend requirements, and distribution logistics. California's higher price is not primarily a gouging story; it is taxes, a unique reformulated blend, and a constrained refining market working together.

Pump price breakdown
Total gas tax per gallon, selected states
Federal 18.4¢ plus state excise and fees, approximate 2024 values
0¢30¢60¢90¢33¢36¢45¢60¢66¢81¢90¢91¢AlaskaMiss.TexasFloridaN.Y.Ill.Calif.Penn.lowhigh
Sources: American Petroleum Institute state tax summaries; US DOE and state revenue department filings. Values rounded and combine federal 18.4¢ with state excise, environmental, and inspection fees.

Why EVs and hybrids complicate the math

Because gas taxes fund roads, drivers who use less fuel pay less into that system while still using the pavement. Highly efficient hybrids contribute less per mile driven, and battery-electric vehicles contribute nothing at all through the pump. To close that gap, more than 30 states now charge annual EV registration surcharges, typically between $100 and $250, according to the National Conference of State Legislatures.

A handful of states, including Oregon, Utah, and Virginia, have piloted road-usage charge programs that bill drivers by the mile instead. Expect this to expand. The US Department of Energy has flagged fuel-tax erosion as a long-term funding issue, and per-mile fees are the most likely replacement mechanism over the next decade.

How to think about it as a driver

Tax policy is not something you can shop around week to week, but it does explain why crossing a state line can save you 20 or 30 cents a gallon. If you commute near a border, the math on a small detour usually favors the lower-tax side, especially for larger tanks.

It also puts pump-price complaints in perspective. When national average prices move on crude oil swings, the tax share stays fixed in cents. When your state raises its excise rate, that increase is permanent and shows up immediately. Knowing which piece is which makes it easier to judge whether a price change is a market story or a policy story.

The takeaway

Federal tax is a flat 18.4 cents everywhere, but your state can double or triple that. If you live near a border, checking the lower-tax side of the line pays off on big fill-ups. And when pump prices swing, remember that the tax portion is fixed in cents, so most short-term movement is really about crude oil, refining, and seasonal blends, not policy.

Run the numbers for your own drive
See what a fuel-delivery optimizer could save you
Open the calculator →
Read next
Keep going.

More data-grounded reads on what actually moves US pump prices.