๐Ÿ‡ธ๐Ÿ‡ป El Salvadorvs๐Ÿ‡จ๐Ÿ‡ท Costa Rica

Total Population
6,391,255
5,174,781
El Salvador is 1.2ร— Costa Rica
Median age
29.4 years
36.7 years
7.3 years apart
Elderly Population Percentage
8.48%
13.29%
4.8 percentage points apart
Growth Rate
0.40%
0.42%
0.02 percentage points apart

Age composition in 2026:

๐Ÿ‡ธ๐Ÿ‡ป El Salvador ๐Ÿ‡จ๐Ÿ‡ท Costa Rica
El Salvador Costa Rica
Young Population 23.96%1,531,157 17.83%922,831
Working Age Population 67.56%4,318,068 68.87%3,563,963
Elderly Population 8.48%542,030 13.29%687,987

In 2026, the median age is 29.4 years in El Salvador and 36.7 years in Costa Rica.Costa Rica already reached El Salvadorโ€™s current median age in 2011, about 15 years ahead in population aging.

The total population of El Salvador peaks in 2047 at 6,669,838.The total population of Costa Rica peaks in 2044 at 5,381,723.

By 2050, the dependency ratio of El Salvador will be 46.6%, and 14.68% of the population will be elderly.By 2050, the dependency ratio of Costa Rica will be 61.0%, and 25.28% of the population will be elderly.

El Salvador Costa Rica
Demographic dividend (dependency ratio below 50%) 2023โ€“2056 2007โ€“2039
Aging society (65+ reaches 7%) 2014 5 years later 2009
Aged society (65+ reaches 14%) 2048 20 years later 2028
Super-aged society (65+ reaches 20%) 2061 21 years later 2040