NEW YORK (MarketWatch)—While Americans are inhaling less secondhand smoke overall, 16 states in the U.S. still permit smoking statewide in both bars and restaurants.

That is according to a tobacco law database compiled by Americans for Nonsmokers’ Rights, which shows that 30 states, as well as the District of Columbia, Puerto Rico and the U.S. Virgin Islands, have statewide laws in effect that require both bars and restaurants to be 100% smoke-free.

Being smoke-free is defined as prohibiting smoking inside those establishments, but states may also ban smoking in outdoor areas, which isn’t included in this definition.

Of the 20 states highlighted on the map, Idaho, Louisiana, Florida and Indiana have laws that make restaurants 100% smoke-free, but still allow smoking in bars.

Additionally, some states have county or municipal laws rather than, or in addition to, statewide bans.

“Generally there’s much more progress on this issue at the local level,” said Benson Frick, associate director of Americans for Nonsmokers’ Rights.

Combined, local and state laws protect 65.2% of the U.S. population from public smoke, the non-profit lobbying group found.

Oklahoma is one of the states with a pre-emption law that makes it impossible for local authorities to enact indoor smoke-free air laws stronger than the state law. This forces the issue to be debated at the state level.

Americans for Nonsmokers’ Rights has tallied laws that are in effect, but not enacted, and it looks like there may be more to come. For example, New Orleans passed an ordinance Jan. 22 to ban smoking in bars and casinos, but it hasn't yet been enacted. And Kentucky has a bill in state legislature that would prohibit smoking in public places and workplaces.

Other states, like South Dakota, go a step further to enact smoke-free laws in workplaces, restaurants, bars and places of gambling, such as casinos.

The Centers for Disease Control and Prevention estimated that 42.1 million adults in the U.S. smoked cigarettes in 2013, based on figures compiled that year.