San Francisco is the city with the most coffee shops per capita, with roughly 40 shops per square mile and 235 shops per 100,000 people. This city actually comes in third place for housing the most coffee shops in total, but is the winner in terms of density, and Bankrate estimates that citizens “shell out roughly $1,209 on coffee each year.”