Fremont spends most on coffee, SF is third-best coffee scene in U.S., study says

A barista prepares a drink at Blue Bottle Coffee. Explore the gallery to see the top rated coffee spots in San Francisco, according to Yelp. A barista prepares a drink at Blue Bottle Coffee. Explore the gallery to see the top rated coffee spots in San Francisco, according to Yelp. Photo: Myung J. Chun, TNS Photo: Myung J. Chun, TNS Image 1 of / 14 Caption Close Fremont spends most on coffee, SF is third-best coffee scene in U.S., study says 1 / 14 Back to Gallery

Fremont spends more on coffee each year than any other city in America, according to rankings released Tuesday by WalletHub.

Households in Fremont spend an average of $185 per year on coffee, more than triple the average expenditure for the city that spends the least on coffee, Detroit, where households spend about $61, the report found.

With the general priciness of the Bay Area, San Francisco ranked No. 3 and San Jose No. 5 for average spending per year on coffee, according to the report.

The spending data were released as part of a ranking of the best cities in the U.S. for coffee drinkers, with San Francisco No. 3 and Seattle and Portland, Ore., taking the top two spots.

In calculating the rankings, WalletHub considered factors like the share of households that own a coffee maker, number of affordable, highly-rated coffee shops per capita, and the per-capita number of coffee and tea manufacturers.

Three other Bay Area cities appeared in the top 50 in the overall rankings: Oakland ranked No. 13, San Jose No. 24 and Fremont No. 26.

Three Bay Area cities, San Francisco, Oakland and Fremont, were in a 3-way tie for third-most coffee manufacturers per capita, after Portland and Seattle.

And San Francisco tied with New York, Seattle and Portland for the most coffee shops, coffee houses and cafes per capita. Not a shocker considering, as some commentators have observed, coffee shops tend to crop up as neighborhoods gentrify.

The Chronicle recently looked into the factors that make San Francisco such fertile ground for local coffee shops, finding that San Francisco has the lowest percentage of chain coffee shops of any major city in the U.S.

FIlipa Ioannou is an SFGATE staff writer. Email her at fioannou@sfchronicle.com and follow her on Twitter