The countries with the best quality of life in the world have a good work-life balance, access to quality healthcare, education, and infrastructure, as well as cost of living and career opportunities. Great weather also helps.

In a new survey by InterNations, the world's largest network for people who live and work abroad, the company asked 14,300 expats, representing 174 nationalities and living in 191 countries or territories, to rate 43 different aspects of life abroad on a scale of 1-7.

From this, InterNations calculated the scores to get an overall average.

The Quality of Life index took into account factors such as:

  • Leisure Options
  • Personal Happiness
  • Travel & Transport
  • Health & Well-Being
  • Safety & Security

We took a look at the top 21 countries:

21. Denmark

The country has the shortest working week out of all those surveyed at 39 hours. However, it fell down the list for quality of life during to scoring low on childcare options and availability.

21. Denmark — The country has the shortest working week out of all those surveyed at 39 hours. However, it fell down the list for quality of life during to scoring low on childcare options and availability.Den Gamle

20. Hungary

The country has rapidly climbed the ranking thanks to its relatively low cost of living, but abundant career opportunities.

20. Hungary — The country has rapidly climbed the ranking thanks to its relatively low cost of living but abundant career opportunities.posztos/Shutterstock

19. Finland

"Seventy-four percent of expat parents in Finland are in complete agreement that the education options are easy to afford," said InterNations.

It also scored highly in the Health & Well-Being sub-category.

19. Finland — "74% of expat parents in Finland are in complete agreement that the education options are easy to afford," said InterNations. It also scored highly in the Health & Well-Being sub-category.Sara Winter/Shutterstock

18. Ecuador

The country made the list mainly because of the expats who class themselves as travellers.

The language barrier can be an issue for those who want to stay longer than a few months or a year.

18. Ecuador — The country made the list mainly because of the expats who class themselves as travellers. The language barrier can be an issue for those who want to stay longer than a few months or a year.REUTERS/Gary Granja

17. Luxembourg

The country dropped down the list due to the continual higher cost of living, leaving less cash in people's pockets each month.

However, it still makes the rankings due to employment opportunities, beautiful surroundings, and high-quality healthcare and education.

17. Luxembourg — The country dropped down the list due to the continual higher cost of living, leaving less cash in people's pockets each month. However, it still makes the rankings due to employment opportunities, beautiful surroundings, and high-quality healthcare and education.Sergey Novikov/Shutterstock

16. Australia

The country is considered one of the best places in the world to raise a family, while also coming second in the sub-rankings for both the availability of education and education options in general.

shutterstock 524905105Christopher Mazmanian/Shutterstock

15. France

The country has on average only 41 hour working weeks and ranks highly for the quality and affordability of a good education.

15. France — The country has on average only 41 hour working weeks and ranks highly for the quality and affordability of a good education.TripAdvisor

14. Portugal

This country is considered one of the "dream destinations" for expats, and 91 percent of respondents who live there say they are generally satisfied with their lives.

13. New Zealand

"Most people tend to mentally lump Australia and New Zealand together - but there are some surprising differences concerning expat life in these destinations," said InterNations.

For example, New Zealand scores more points when it comes to healthcare, due to greater affordability.

13. New Zealand —"Most people tend to mentally lump Australia and New Zealandtogether — but there are some surprising differences concerningexpat life in these destinations," said InterNations. For example, New Zealand scores more points when it comes to healthcare, due to greater affordability.ChameleonsEye/Shutterstock

12. Canada

The environment, feeling welcome, and short working weeks boosted the country in the ranking this year.

12. Canada — The environment, feeling welcome, and short working weeks boosted the country in the ranking this year.Kenny Louie/Flickr

11. South Korea

The country nearly made the top 10, thanks to its career-opportunities and favourable environment for those with families.

11. South Korea — The country nearly made the top 10, thanks to its career-opportunities and favourable environment for those with families.Guitar photographer/Shutterstock

10. Switzerland

While healthcare, education, and the ability to find a job helps Switzerland hit the top 10, the rising cost of living keeps the country from the top spot.

9. Germany

The country is popular with expats due to it being one of the top rated places to find a job, while also hitting near the top of the sub-ranking for general living standards.

9. Germany — The country is popular with expats due to it being one of the top rated places to find a job, while also hitting near the top of the sub-ranking for general living standards.Sean Pavone/Shutterstock

8. Singapore

The city-state dropped from first to eighth place this year due to rising cost of living and mainly the affordability of healthcare.

7. Czech Republic

The country was a hit with expats with children as the availability and costs of childcare and education there are rated well.

Seventy-four percent said that education is easy to afford.

7. Czech Republic — The country was a hit with expats with children as the availability and costs of childcare and education there are rated well. 74% said that education is easy to afford.David W Cerny/REUTERS

6. Malta

While the country is very popular with Brits for the weather and local culture, it has dropped from 3rd place last year in the Work-Life Balance sub-category to 20th in 2016.

6. Malta — While the country is very popular with Brits for the weather and local culture, it has dropped from 3rd place last year in the Work-Life Balance sub-category to 20th in 2016.In Green/Shutterstock

5. Costa Rica

Warm weather and improvements in the language category helped boost the country. Seventy-nine percent also said they feel "at home" in the local culture.

5. Costa Rica — Warm weather and improvements in the language category helped boost the country. 79% also said they feel Armando Maynez/Wikimedia Commons

4. Spain

The country, famed for its good weather, rises in the rankings because expats voted it highly for in the Ease of Settling In Index.

They say that friendliness and, more specifically, the attitude of locals towards foreigners makes it a great place to live.

4. Spain — The country, famed for its good weather, rises in the rankings because expats voted it highly for in the Ease of Settling In Index. They say that friendliness and, more specifically, the attitude of locals towards foreigners makes it a great place to live.
Demiannnn/Wikimedia

3. Japan

The country rose from seventh to third place this year, mainly due to gaining poll position in transport infrastructure.

Expats also highly rated the island nation's peacefulness and quality of medical care.

3. Japan — The country rose from seventh to third place this year, mainly due to gaining poll position in transport infrastructure. Expats also highly rated the island nation's peacefulness and quality of medical care.Kim Kyung-Hoon/REUTERS

2. Austria

The country rocketed to the top of the charts, thanks to its clean water and clear air, which made it secure first in the Health & Well-Being sub-index.

Seventy-two percent of respondents also rated the transport infrastructure as very good.

1. Taiwan

The country rose right to the top of the ranking for its quality of medical care and its affordability.

It also polled first place for quality of life among female respondents and second for men.

shutterstock 384793462Ho Xuan Long

This article was originally published by Business Insider.

More from Business Insider: