US Gasoline Tax Calculator

US Gasoline Tax Calculator

Growing AI Skill PRO

Enter Calculation

Formula

Total Tax=Gallons×State Tax+Federal Tax100\text{Total Tax} = \text{Gallons} \times \frac{\text{State Tax} + \text{Federal Tax}}{100}

Example

Total Tax=15×30+18.4100=7.26\text{Total Tax} = 15 \times \frac{30 + 18.4}{100} = 7.26
Usage stats

Advertisement

Results

Total Gasoline Tax Paid
$7.26
combined federal + state excise tax
Federal tax $2.76
State tax $4.50
Combined rate 48.4 cents/gallon

Based on 26 U.S.C. 4081(a)(2), rates of tax on taxable fuel

Report an error on this page

What Is the US Gasoline Tax Calculator?

This calculator applies to the United States. It estimates the total excise tax you pay on gasoline, combining the federal rate (18.4 cents per gallon as of the current tax schedule) with your state's per-gallon rate. State gasoline taxes vary widely, so enter the rate for your state to get an accurate figure.

How to Use It

Enter the number of gallons you purchased, your state gasoline tax in cents per gallon, and the federal rate (pre-filled at 18.4 cents). The calculator returns the total tax paid in dollars, broken down into federal and state portions, plus the combined per-gallon rate.

The Formula Explained

Gasoline excise taxes are levied per gallon, not as a percentage of price. The total tax is simply the gallons multiplied by the sum of the federal and state cents-per-gallon rates, then divided by 100 to convert cents to dollars:

$$\text{Tax} = \text{Gallons} \times \frac{\text{Federal cents} + \text{State cents}}{100}$$

Advertisement
Stacked bar showing fuel cost split into base price plus federal and state tax per gallon
Gasoline tax is the sum of federal and state per-gallon rates applied to your gallons.

Worked Example

Suppose you buy 15 gallons in a state with a 30.0 cent gasoline tax. The combined rate is \(18.4 + 30.0 = 48.4\) cents/gallon. Total tax = $$15 \times \frac{48.4}{100} = \$7.26$$ of which $2.76 is federal and $4.50 is state.

Calculation flow from gallons and combined per-gallon rate to total tax
Multiply gallons by the combined per-gallon rate to get total tax paid.

State Gasoline Excise Tax Rates by State

The table lists approximate state gasoline excise tax rates in cents per gallon for the 50 US states and the District of Columbia, rounded to 0.1 cent. The figures are approximate 2024 values of the kind compiled by the American Petroleum Institute (API) and the Tax Foundation from state departments of revenue. Some include small per-gallon fees, so treat each figure as a close estimate rather than an official rate. The federal gasoline excise tax is 18.4 cents per gallon in every state (US federal law).

Rates change. Legislatures adjust them periodically, and several states index them to inflation, fuel price or a formula, with some changing every January or July. Confirm the current rate with your state's department of revenue before relying on it. The table covers excise tax only. It leaves out state and local sales tax on fuel, local option taxes and environmental or underground-storage-tank fees where they are charged separately.

State Excise tax (¢/gal) State Excise tax (¢/gal)
Alabama 29.0 Montana 33.0
Alaska 9.0 Nebraska 29.7
Arizona 19.0 Nevada 23.0
Arkansas 24.5 New Hampshire 22.2
California 59.6 New Jersey 42.4
Colorado 22.0 New Mexico 18.9
Connecticut 25.0 New York 33.7
Delaware 23.0 North Carolina 40.3
District of Columbia 23.5 North Dakota 23.0
Florida 35.5 Ohio 38.5
Georgia 33.3 Oklahoma 20.0
Hawaii 16.0 Oregon 40.0
Idaho 33.0 Pennsylvania 58.7
Illinois 45.4 Rhode Island 38.0
Indiana 36.0 South Carolina 28.0
Iowa 30.0 South Dakota 30.0
Kansas 24.0 Tennessee 27.4
Kentucky 26.0 Texas 20.0
Louisiana 20.0 Utah 36.5
Maine 30.0 Vermont 31.2
Maryland 47.0 Virginia 30.0
Massachusetts 24.0 Washington 49.4
Michigan 31.0 West Virginia 35.7
Minnesota 28.5 Wisconsin 32.9
Mississippi 18.4 Wyoming 24.0
Missouri 29.5

Enter your state's current rate in the calculator's state tax field, together with 18.4 for the federal tax, to estimate the tax on your purchase.

Advertisement

Gas Tax Comparison: Low-, Mid- and High-Tax States

This comparison uses three illustrative state rates: a low rate (15.0¢), a mid rate (30.0¢) and a high rate (60.0¢). Each is close to the rates of some real states. The federal portion is 18.4¢ per gallon in every case, and every figure is calculated as gallons × (18.4 + state cents) ÷ 100.

15-gallon fill-up

State rate Federal portion State portion Combined (¢/gal) Total tax
Low: 15.0¢ 15 × 18.4 ÷ 100 = $2.76 15 × 15.0 ÷ 100 = $2.25 33.4 15 × 33.4 ÷ 100 = $5.01
Mid: 30.0¢ $2.76 15 × 30.0 ÷ 100 = $4.50 48.4 $7.26
High: 60.0¢ $2.76 15 × 60.0 ÷ 100 = $9.00 78.4 $11.76

10- and 20-gallon totals

State rate Combined (¢/gal) 10 gallons 20 gallons
Low: 15.0¢ 33.4 $3.34 $6.68
Mid: 30.0¢ 48.4 $4.84 $9.68
High: 60.0¢ 78.4 $7.84 $15.68

On a 15-gallon fill-up, the high-tax example costs $11.76 − $5.01 = $6.75 more in excise tax than the low-tax example. The federal share stays the same, so the difference comes entirely from the state rate. These figures are excise tax only and do not include any sales tax or local fees.

FAQ

Is the federal gas tax always 18.4 cents? The federal excise tax on gasoline has been 18.4 cents per gallon since 1993. Diesel is 24.4 cents.

Does this include sales tax? No. Some states also apply general sales tax on top of excise tax; this tool covers per-gallon excise tax only.

Where do I find my state rate? State gasoline tax rates are published by each state's department of revenue and range from roughly 9 to over 60 cents per gallon.

Sources & References

Last updated:

Most popular in Financial

View all Financial calculators