El Salvador vs Ecuador: population pyramids in 2026
El SalvadorEcuador
Each bar is the share of the total population at that single year of age (men left, women right), so countries of different sizes can be compared.
El Salvador and Ecuador compared
In 2026, El Salvador has a population of 6.38 million and Ecuador 18.4 million; Ecuador is about 2.9 times the size of El Salvador.
The share aged 65 and over is 8.4% in El Salvador and 8.7% in Ecuador, almost the same. The median age is 28.4 years in El Salvador and 29.7 years in Ecuador.
The total fertility rate is 1.74 in El Salvador and 1.78 in Ecuador, both below the replacement level of about 2.1. Life expectancy at birth is 72.7 years in El Salvador and 77.9 years in Ecuador.
By 2050, the population of El Salvador is projected to grow by 4.5% and that of Ecuador to grow by 16.0% compared with 2026.
GDP per person is $5,767 in El Salvador (2025) and $7,125 in Ecuador (2025).
Figures from 2024 are UN medium-variant projections.
Key figures (2026)
| El Salvador | Ecuador | |
|---|---|---|
| Population | 6.38 million | 18.4 million |
| Aged 0–14 | 24.2% | 23.6% |
| Aged 15–64 | 67.4% | 67.6% |
| Aged 65+ | 8.4% | 8.7% |
| Median age | 28.4 yrs | 29.7 yrs |
| Old-age dependency | 12.4 | 12.9 |
| Total fertility rate | 1.74 | 1.78 |
| Life expectancy | 72.7 yrs | 77.9 yrs |
| Population growth | +0.40% | +0.84% |
| Net migration (per year) | -23,530 | -13,851 |
| GDP | $37B (2025) | $130B (2025) |
| GDP per person | $5,767 (2025) | $7,125 (2025) |
| Unemployment | 3.3% (2025) | 3.3% (2025) |
Economic figures are the latest year published for each country.
Prices by category (2021, World = 100)
| El Salvador | Ecuador | El Salvador as % of Ecuador | |
|---|---|---|---|
| Food and non-alcoholic drinks | 88 | 100 | 89% |
| Bread and cereals | 104 | 119 | 88% |
| Meat | 76 | 84 | 91% |
| Milk, cheese and eggs | 99 | 98 | 101% |
| Fruit | 81 | 68 | 119% |
| Vegetables | 138 | 76 | 181% |
| Alcoholic drinks | 110 | 154 | 72% |
| Tobacco | 79 | 132 | 59% |
| Clothing and footwear | 112 | 118 | 95% |
| Housing, water, electricity and gas | 92 | 52 | 178% |
| Health | 54 | 69 | 79% |
| Transport services | 63 | 55 | 114% |
| Communication | 94 | 125 | 75% |
| Recreation and culture | 59 | 58 | 102% |
| Education | 50 | 64 | 78% |
| Restaurants and hotels | 75 | 80 | 94% |
Price level indices from the World Bank's International Comparison Program (ICP 2021, CC BY 4.0): the same goods and services at market exchange rates of 2021. Rankings by category