When WalletHub made a list of the most livable smaller cities in the United States, they included a lot of criteria, including the number of bars per capita.

We decided to rank Arizona's cities on the list by cost of living. Apache Junction has the lowest cost of living, and therefore is the best one to live in based on that criteria. The city with the highest rank number, Oro Valley, is ranked last and has the highest cost of living.

Of course, other things may be more important to you. See a list of the 22 Arizona smaller cities ranked by all of WalletHub's criteria in an interactive database at tucson.com/databases