"Before we looked at the data, people in the office did a guessing game of which places would end up on the list," Trulia Chief Economist Jed Kolko told BI. "A lot of people expected Miami, San Diego ... [but] it turned out these aren't necessarily the places that offer the best tools for losing weight."

Kolko and his team looked at five factors* to rank the cities: healthy food options; access to outdoor activities; weight loss centers; gyms; and the ability for consumers to bike or walk to work.

When all was said and calculated, one clear trend emerged: These places don't come cheap. In fact, six of the top 10 cities charge more than $200 per square foot for living space.

"These places tend to have spending power to support gyms, fitness centers, outdoor activities," Kolko explained. "And these are all types of businesses that have an easier time surviving in more affluent areas because people have more spending power."