Consider your quality of life.

What factors will make you happy when you move to a new place? As part of the Best Places to Live in the U.S. 2016 rankings, U.S. News surveyed people across the country about what matters the most when determining where they wanted to live. Based on that survey, the Quality of Life rankings were compiled, which include crime rates, quality and availability of health care, quality of education, well-being and average morning commute time (read more about the categories). These are the 20 U.S. metro areas that scored the best among all five areas.

20. Albany, New York

Best Places to Live 2016 Ranking: 36

Median Home Price: $165,050

Median Annual Salary: $49,690

College Readiness Ranking: 59

Health Ranking: 26

Well-Being Ranking: 52

Crime Ranking: 18

Average Commute Time: 22.5 minutes

New York's capital city rounds out the top 20 with a short average morning commute of just 22.5 minutes and low crime -- ranking 18th out of the 100 metro areas examined. With a population just under 900,000, Albany is large enough to bring cultural attractions to the city and be home to high-quality health care -- ranking 26th in that category -- but it doesn't come with the high cost of living found in a major city like New York.

19. Rochester, New York

Best Places to Live 2016 Ranking: 60

Median Home Price: $125,000

Median Annual Salary: $45,770

College Readiness Ranking: 17

Health Ranking: 43

Well-Being Ranking: 83

Crime Ranking: 49

Average Commute Time: 20.9 minutes

The second city in upstate New York to make the list -- but not the last -- has an even shorter commute time than Albany, with its residents travelling just under 21 minutes to work on average. Students in Rochester receive high-quality education, ranking 17th out of the 100 metro areas ranked for high school students' college readiness.

18. Los Angeles

Best Places to Live 2016 Ranking: 83

Median Home Price: $478,992

Median Annual Salary: $53,000

College Readiness Ranking: 22

Health Ranking: 2

Well-Being Ranking: 14

Crime Ranking: 45

Average Commute Time: 29.3 minutes

The country's second-largest metro area also happens to rank second in the U.S. for accessibility to high-quality health care. The LA metro area has six nationally ranked hospitals, per U.S. News Best Hospitals, including Cedars-Sinai Medical Center, UCLA Medical Center and the Keck Medical Center of USC. But as an area well-known for its big traffic jams, Los Angeles has an average commute time of more than 29 minutes.

17. Syracuse, New York

Best Places to Live 2016 Ranking: 53

Median Home Price: $75,800

Median Annual Salary: $46,340

College Readiness Ranking: 39

Health Ranking: 62

Well-Being Ranking: 41

Crime Ranking: 40

Average Commute Time: 20.8 minutes

Edging out its upstate New York neighbors, Syracuse has an even shorter average morning commute of 20.8 minutes -- the fifth shortest commute of the 100 metro areas ranked. Syracuse residents not only have more free time outside of work due to the short commute, but they have more money in their pockets as well -- Syracuse ranked No. 34 for cost of living, spending less than 31 percent of their income on housing expenses.

16. Salt Lake City

Best Places to Live 2016 Ranking: 27

Median Home Price: $250,000

Median Annual Salary: $46,730

College Readiness Ranking: 47

Health Ranking: 28

Well-Being Ranking: 57

Crime Ranking: 10

Average Commute Time: 22.2 minutes

Salt Lake City gets its top Quality of Life score for having a low crime rate. The area saw less than two homicides per 100,000 people in 2013, according to the FBI. Utah's capital and home of the Great Salt Lake also does well for accessibility to quality health care, with area hospitals Intermountain Medical Center and University of Utah Hospitals and Clinics ranked highly in the region, according to U.S. News Best Hospitals.

15. Santa Rosa, California

Best Places to Live 2016 Ranking: 62

Median Home Price: $495,500

Median Annual Salary: $49,800

College Readiness Ranking: 21

Health Ranking: 94

Well-Being Ranking: N/A

Crime Ranking: 5

Average Commute Time: 25.2 minutes

The commute may be a bit longer than other places on this list, but residents of this city in California's wine country enjoy the fifth lowest crime rate. Plus, Santa Rosa's schoolchildren score high for college readiness, ranking 21st out of the metro areas ranked. However, Santa Rosa's prime location for vineyards and vacation retreats means renowned health care isn't as accessible, as it ranks 94th overall in the health category.

Story continues