Of all the towns and cities in Massachusetts — with 50,000 people or more, that is — Newton is the best place to live, according to Money magazine.

After compiling a list of the “Best Places to Live in the US” in September, which had Newton at the No. 12 spot and Brookline at No. 42, the magazine narrowed down its findings to determine the most ideal area to live in each state. In this new list, published Tuesday, the publication used several factors to judge the merits of each locale, including economic health, public school performance, and amenities.

And based on these components, Newton came out on top — joining Cranston, R.I., West Hartford, Conn., Colchester, Vt., Nashua, and South Portland, Maine.

According to the magazine, Newton is home to 86,131 residents, boasts a median household income of $132,258, and like other Boston-area locales, is “notoriously expensive,” with the median list price for a home at $1,470,000.

Money praised the affluent town for the commute — noting that Newton, made up of 13 villages, “is home to several MBTA stops” — and its schools. Newton, according to the publication, has a 97 percent graduation rate among its public schools, one of the highest on the list.

“And, after graduation, going off to college doesn’t necessarily mean traveling far from home,” according to Money. “The Boston area is home to 35 colleges and universities, including Boston College, which has a campus right in town.”