This is the most liveable city in America

Jerry Driendl | Photolibrary | Getty Images

Honolulu, Hawaii, has been ranked the most liveable city in the U.S., according to The Economist Intelligence Unit's (EIU) Global Liveability Index for 2019.

Though no U.S. city ranked in the index's top 20, Honolulu ranked highest at No. 22 out of 140 ranked cities around the world.

Ranking one spot higher than last year, it is the only U.S. city to make the top 25 list.

Honolulu, Hawaii
Naomi Hayes of Island Memories Photography | Getty Images

The EIU examines the quality of health care, education, infrastructure, stability and culture when assessing living conditions of each city. More than 30 factors are taken into account when calculating each rank, which are then compiled into a weighted score between one and 100.

The Hawaiian capital scored 95.0 in stability, 91.7 in health care, 88.0 in culture and environment, 100.0 in education and 100.0 in infrastructure. Its overall rating is 94.1.

That said, living in Hawaii comes at a high price. The cost of living in Hawaii is actually the highest of all the U.S. states, according to the Missouri Economic Research and Information Center. Honolulu ranks as the most expensive area to live in within Hawaii, in a list of America's most expensive states by CNBC.

Trekandshoot | Getty Images

Among the U.S. cities on the EIU list, Atlanta ranked 33rd, followed by Pittsburgh at 34th, Seattle at 36th and Washington, D.C., at 40th. The first four received a rating of 100.0 for education.

"In general, the ratings of many U.S. cities fell behind their world rivals for a number of shared reasons," Steven Leslie, EIU analyst, told CNBC Make It. Those reasons included "higher crime rates, including a mix of petty crimes and more serious violence like mass shootings, weakness in infrastructure and shortfalls in public health care."

However, Leslie said it was important to put the weakness of the U.S. in context, noting that all American cities on the list are in the top half of the ranking.

The top five most liveable cities in the U.S., and their score according to The Global Liveability Index 2019, are:

Honolulu (94.1)

Atlanta (92.3)

Pittsburgh (92.1)

Seattle (91.6)

Washington, D.C. (91.2)

Like this story? Subscribe to CNBC Make It on YouTube!

Don't miss: These are the world's most liveable cities in 2019

These are the best ways to travel the world for super cheap
These are the best ways to travel the world for super cheap