Federal, state taxes and fees on a gallon of gas as of July 1, 2021. Every state pays 18.4 cents per gallon in federal excise fees.