Quality of life comparison
If you lived in Costa Rica instead of San Marino, you would:
Health
live 4.8 years less
In San Marino, the average life expectancy is 86 years (84 years for men, 87 years for women) as of 2024. In Costa Rica, that number is 81 years (78 years for men, 84 years for women) as of 2024.
see 63.1% less spent on your healthcare
San Marino spends $5,231 per person on healthcare as of 2023 (international dollars, adjusted for prices). Costa Rica spends $1,928 as of 2023.
have 42.0% fewer doctors per person
San Marino has 46.3 doctors per 10,000 people as of 2023. Costa Rica has 26.9 as of 2022.
Economy
make 66.6% less money
San Marino has a GDP per capita of $59,871 as of 2023, while in Costa Rica, the GDP per capita is $19,970 as of 2025.
Life
have 2.4 times more children
In San Marino, there are approximately 4.2 babies per 1,000 people as of 2024. In Costa Rica, there are 10.0 babies per 1,000 people as of 2024.
be 3.0 times more likely to die during childbirth
In San Marino, approximately 8.0 women die from pregnancy or childbirth per 100,000 live births as of 2023. In Costa Rica, 24.0 women do as of 2023.
be 7.6 times more likely to die during infancy
In San Marino, approximately 1.2 children (per 1,000 live births) die before they reach the age of one as of 2024. In Costa Rica, on the other hand, 9.1 children do as of 2024.
Basic Needs
be 10.5% less likely to have internet access
In San Marino, approximately 97.3% of the population has internet access as of 2024. In Costa Rica, about 87.2% do as of 2024.
Expenditures
spend 83.1% more on education
San Marino spends 2.9% of its total GDP on education as of 2022. Costa Rica spends 5.3% of total GDP on education as of 2023.
Safety
be 2.6 times more likely to die in a road accident
In San Marino, road accidents kill 5.9 people per 100,000 as of 2021. In Costa Rica, they kill 15.5 per 100,000 as of 2021.
Infrastructure
find 34.9% less home broadband
San Marino has 35.8 fixed broadband subscriptions per 100 people as of 2022. Costa Rica has 23.3 as of 2024.
Sources: World Bank (2022–2025), United Nations SDG Indicators (2021). How we calculate this
Compare further: San Marino vs. Costa Rica
Costa Rica: At a glance
How big is Costa Rica compared to San Marino? See an in-depth size comparison.