’Tis the season to crack open a cold one, whether it’s at a cookout, at an all-American baseball game, or on a tubing trip down a slow-moving river. In the midst of summer’s usual uptick in beer sales, how much of our cash is actually going toward the cost of a brew? Less than you might think.

According to the Beer Institute, “Taxes are the single most expensive ingredient in beer, costing more than the labor and raw materials combined.” Research has shown that approximately 40 percent of the retail price of beer is dedicated toward covering all the applicable taxes.

The United States collects an excise tax on beer at the federal level (ranging from $0.11 to $0.58 per gallon based on production, location, and quantity), but all 50 states and the District of Columbia also collect their own taxes on fermented malt beverages. While general sales taxes are tacked on after the price of goods is subtotaled, most states go straight to the retailer for beer excise taxes, collecting according to the quantity of beer sold (usually expressed as a rate of dollars per gallon). Although you can’t see the taxes on your receipt, vendors pass along those costs to consumers in the form of higher prices.

While a state’s excise tax on beer is usually levied on retail sales, some collection variations exist from state to state. For instance, some states levy taxes further up the supply chain by taxing brewers, importers, or other wholesalers at a percentage of revenue generated or at a fixed price per gallon, bottle, or case of beer sold. Many states also generate revenue by collecting license fees from beer distributors.

Because beer taxes are often collected at earlier points in the supply chain, the only tax a consumer will see printed on his or her receipt is any applicable state or local sales tax that applies to the purchase. Some states specify higher alcoholic beverage sales tax rates (that apply to beer, wine, and spirits) in lieu of the general sales tax rate. In Minnesota, for example, beer retailers are taxed at $0.15 per gallon, and then an alcohol-specific sales tax of 9 percent (instead of the state’s 6.875 percent general sales tax rate) is applied at the point of sale and shows up on the customer’s receipt.

The map below shows the state beer excise tax rates in all 50 states and the District of Columbia. Rates vary widely by state: as low as $0.02 per gallon in Wyoming and as high as $1.29 per gallon in Tennessee. Missouri and Wisconsin tie for second lowest at $0.06 per gallon, and Alaska sits at the second highest with its $1.07 per gallon tax.

The per-gallon rate shown on the map reflects the beer excise tax for a 4.7 percent alcohol by volume (a.b.v.) beer in a 12-ounce container. Sixteen states have beer excise tax rates that vary based on alcohol content, place of production, size of container, or place purchased. For example, in Idaho, beer containing more than 4 percent a.b.v. is considered “strong beer” and is taxed like wine at $0.45 per gallon. In Virginia, the per-bottle rate varies for bottles that exceed 7- and 12-ounce thresholds.

How does your state compare?

Erratum: an earlier version of this post contained incorrect rates and rankings for Alabama and Georgia.