If you lived in Spain instead of Tanzania, you would:

Health

be 91.4% less likely to be living with HIV/AIDS

In Tanzania, 3.5% of people are living with AIDS/HIV as of 2024. In Spain, that number is 0.3% of people as of 2024.

View global rankings →

live 16.7 years longer

In Tanzania, the average life expectancy is 67 years (64 years for men, 70 years for women) as of 2024. In Spain, that number is 84 years (81 years for men, 86 years for women) as of 2024.

View global rankings →

see 41.5 times more spent on your healthcare

Tanzania spends $119 per person on healthcare as of 2023 (international dollars, adjusted for prices). Spain spends $4,935 as of 2023.

View global rankings →

have 32.0 times more doctors per person

Tanzania has 1.3 doctors per 10,000 people as of 2022. Spain has 42.9 as of 2022.

View global rankings →

have 97.7% more access to essential health services

Tanzania scores 43 out of 100 on the universal health coverage index as of 2021. Spain scores 85 as of 2021.

View global rankings →

be 33.0% more likely to be obese

In Tanzania, 11.5% of adults are obese as of 2024. In Spain, that number is 15.3% of people as of 2024.

View global rankings →

be 71.0% more likely to die by suicide

Tanzania has a suicide rate of 5.1 per 100,000 people as of 2021. In Spain, it is 8.7 per 100,000 as of 2021.

View global rankings →

Economy

make 29.3 times more money

Tanzania has a GDP per capita of $1,319 as of 2025, while in Spain, the GDP per capita is $38,627 as of 2025.

View global rankings →

be 6.6 times more likely to be unemployed

In Tanzania, 1.6% of the labor force is unemployed as of 2025. In Spain, that number is 10.4% as of 2025.

View global rankings →

Life

be 98.9% less likely to die during childbirth

In Tanzania, approximately 276.0 women die from pregnancy or childbirth per 100,000 live births as of 2023. In Spain, 3.0 women do as of 2023.

View global rankings →

be 27.5% more likely to be literate

In Tanzania, the literacy rate is 78.2% as of 2022. In Spain, it is 99.7% as of 2021.

View global rankings →

be 90.9% less likely to die during infancy

In Tanzania, approximately 28.7 children (per 1,000 live births) die before they reach the age of one as of 2024. In Spain, on the other hand, 2.6 children do as of 2024.

View global rankings →

have 81.3% fewer children

In Tanzania, there are approximately 34.8 babies per 1,000 people as of 2024. In Spain, there are 6.5 babies per 1,000 people as of 2024.

View global rankings →

Basic Needs

be 2.1 times more likely to have access to electricity

In Tanzania, approximately 48% of people have electricity access (82% in urban areas, and 28% in rural areas) as of 2023. In Spain, that number is 100% of people on average (100% in urban areas, and 100% in rural areas) as of 2023.

View global rankings →

be 3.1 times more likely to have internet access

In Tanzania, approximately 31.2% of the population has internet access as of 2024. In Spain, about 95.8% do as of 2024.

View global rankings →

be 54.7% more likely to have access to drinking water

In Tanzania, approximately 65% of people have access to drinking water (86% in urban areas, and 51% in rural areas) as of 2024. In Spain, that number is 100% of people on average (100% in urban areas, and 100% in rural areas) as of 2024.

View global rankings →

Expenditures

spend 45.3% more on education

Tanzania spends 3.2% of its total GDP on education as of 2024. Spain spends 4.6% of total GDP on education as of 2022.

View global rankings →

spend 3.0 times more on healthcare

Tanzania spends 3.0% of its total GDP on healthcare as of 2023. In Spain, that number is 9.2% of GDP as of 2023.

View global rankings →

Geography

see 3.5 times more coastline

Tanzania has a total of 1,424 km of coastline. In Spain, that number is 4,964 km.

View global rankings →

Safety

be 81.6% less likely to be murdered

Tanzania has a homicide rate of 3.8 per 100,000 people as of 2020. In Spain, that number is 0.7 per 100,000 as of 2023.

View global rankings →

be 77.8% less likely to die in a road accident

In Tanzania, road accidents kill 15.8 people per 100,000 as of 2021. In Spain, they kill 3.5 per 100,000 as of 2021.

View global rankings →

Infrastructure

find 156.9 times more home broadband

Tanzania has 0.2 fixed broadband subscriptions per 100 people as of 2024. Spain has 39.2 as of 2024.

View global rankings →

use 38.5 times more electricity

Tanzania uses 135 kWh of electricity per person each year as of 2023. Spain uses 5,196 kWh as of 2024.

View global rankings →

live with 3.3 times more strain on fresh water

Tanzania withdraws 13% of its available fresh water each year as of 2022. Spain withdraws 43% as of 2022.

View global rankings →

Environment

be 72.2% less likely to die from air pollution

In Tanzania, air pollution causes 36.0 deaths per 100,000 people as of 2019. In Spain, it causes 10.0 as of 2019.

View global rankings →

emit 14.5 times more CO2

Tanzania emits 0.3 tonnes of CO2 per person each year as of 2024. Spain emits 4.5 tonnes as of 2024.

View global rankings →


Sources: World Bank (2020–2025), United Nations SDG Indicators (2019–2021), World Health Organization (2024), The World Factbook. How we calculate this

Spain: At a glance

Spain is a sovereign country in Europe, with a total land area of approximately 498,980 sq km. Spain's powerful world empire of the 16th and 17th centuries ultimately yielded command of the seas to England. Subsequent failure to embrace the mercantile and industrial revolutions caused the country to fall behind Britain, France, and Germany in economic and political power. Spain remained neutral in World War I and II but suffered through a devastating civil war (1936-39). A peaceful transition to democracy following the death of dictator Francisco FRANCO in 1975, and rapid economic modernization (Spain joined the EU in 1986) gave Spain a dynamic and rapidly growing economy and made it a global champion of freedom and human rights. More recently the government has had to focus on measures to reverse a severe economic recession that began in mid-2008. Austerity measures implemented to reduce a large budget deficit and reassure foreign investors have led to one of the highest unemployment rates in Europe.
Read more

How big is Spain compared to Tanzania? See an in-depth size comparison.

Share this

Ask the Elsewhere Community

Join the Elsewhere community and ask a question about Spain or Tanzania. It's a free, question-and-answer based forum to discuss what life is like in countries and cities around the world.