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