← Back to the 2026 gas tax rankings
How Much Gas Tax Do You Pay on a Road Trip?
How much gas tax do you pay on a road trip? Take the trip miles, divide by your car's MPG, and multiply the gallons by the combined tax per gallon: your state rate plus the federal 18.4 cents. Run that on a 1,000-mile trip in a 28 MPG car and the answer is $13.71 in Texas and $32.86 in California. Same car, same miles, a $19 difference decided entirely by which state sold you the gasoline.
The road trip gas tax formula
Trip gas tax equals miles, divided by MPG, times the combined tax per gallon. Combined tax means the state rate where you fill up plus the federal 18.4 cents, which applies in every state. Three inputs, one multiplication chain, and you get a number most drivers never see, because gas tax is baked into the pump price and never printed on a receipt.
Let us pin down a reference car: 28 MPG, roughly the average for a modern sedan on the highway. A 1,000-mile trip burns 35.71 gallons. Now let us run it in two very different states.
Example 1: 1,000 miles in Texas vs California
Texas state tax: 20.0 cents per gallon. Combined with federal: 38.4 cents. Trip tax: 35.71 gallons times $0.384 equals $13.71. Of that, $7.14 goes to Texas and $6.57 to the federal government.
California state tax: 73.6 cents per gallon. Combined: 92.0 cents. Trip tax: 35.71 times $0.92 equals $32.86. Of that, $26.29 goes to California and $6.57 federal. The federal slice is identical; the state slice is nearly four times larger.
The $19.15 difference is the price of crossing a state line with an empty tank. It will not make or break a vacation budget, but it is real money, and on a long trip it compounds with every fill-up.
Example 2: a 500-mile weekend trip, Illinois vs Alaska
Five hundred miles at 25 MPG burns exactly 20 gallons. In Illinois, at 70.4 cents state tax, the combined 88.4 cents per gallon makes the trip tax $17.68. In Alaska, at 8.95 cents, the combined 27.35 cents makes it $5.47. A 500-mile drive in Illinois pays more than triple the gas tax of the same drive in Alaska, and neither driver had any say in the matter. The rate was set years ago by a legislature.
This is the part of road trip budgeting that fuel calculators skip. Every trip cost tool multiplies miles by pump price, which quietly includes the tax, so the tax disappears into the fuel line. Separating it out matters when you are comparing routes, because the pump price gap between two states is not just refinery and transport costs. A large chunk of it is policy.
The multi-state wrinkle: you pay where you fill up
On a trip through several states, you do not pay each state's tax for the miles driven there. You pay the tax of the state where the nozzle went into your tank. That creates a small, legal optimization: if your route crosses from a low-tax state into a high-tax one, fill up before the border.
The savings are worth knowing, not worth contorting for. Filling a 14-gallon tank in a 20-cent state instead of a 70-cent state saves about $7 in tax. Two planned fill-ups on a long trip through states with very different rates can save $15 or more. Nobody should drive 40 miles out of the way to save $7, but when the gas station is already on your route, the cheaper-tax side of the border is the right choice every time.
My honest take: the federal 18.4 cents has not moved since 1993, which is why state rates now do all the work in these comparisons. Every interesting number in this article is a state number. When Congress eventually replaces or supplements the gas tax, the per-trip math will get more complicated. Until then, the formula above is all you need.
Related reading: How Much Gas Tax Do You Pay Per Year? ยท Which State Has the Highest Gas Tax in 2026?
If money decisions with real numbers are your thing, I write about them every week. Subscribe to the newsletter.
Frequently asked questions
How do you calculate gas tax on a road trip?
Divide trip miles by your vehicle's MPG to get gallons, then multiply by the combined tax per gallon: the state rate plus the federal 18.4 cents. A 1,000-mile trip at 28 MPG uses about 35.7 gallons; in Texas that is 35.7 times $0.384, or $13.71 in tax.
Do you pay gas tax in every state you drive through?
No. You pay the tax of the state where you buy the fuel, not the states you drive through. On a multi-state trip, your total depends on where you fill up, which is why filling up before crossing into a high-tax state saves money.
Which states make road trips most expensive in gas tax?
California at 73.6 cents per gallon and Illinois at 70.4 cents cost the most in 2026; Alaska at 8.95 cents and Texas at 20.0 cents cost the least. The federal 18.4 cents applies everywhere on top.
Can you save gas tax by planning fill-ups?
Yes, when the route allows it. Filling a 14-gallon tank in a 20-cent-tax state instead of a 70-cent-tax state saves about $7. Two planned fill-ups on a long trip through states with very different rates can save $15 or more in tax alone.