SEATTLE, Wash. —  A recent study found of the 62 largest cities in the U.S., Seattle is the 3rd best to live in.

WalletHub looked at a multitude of factors and while Seattle rated poorly in affordability, it did well in economy, education and health, and quality of life.

Breaking it down further, Seattle ranked high because of income growth, having a large percent of the population with insurance, and having the most coffee shops per capita.

Detroit was considered the worst city to live in, while Virginia Beach and Austin were the best and second best.