Ecuador vs El Salvador: population pyramids in 2026
EcuadorEl Salvador
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.
Ecuador and El Salvador compared
In 2026, Ecuador has a population of 18.4 million and El Salvador 6.38 million; Ecuador is about 2.9 times the size of El Salvador.
The share aged 65 and over is 8.7% in Ecuador and 8.4% in El Salvador, almost the same. The median age is 29.7 years in Ecuador and 28.4 years in El Salvador.
The total fertility rate is 1.78 in Ecuador and 1.74 in El Salvador, both below the replacement level of about 2.1. Life expectancy at birth is 77.9 years in Ecuador and 72.7 years in El Salvador.
By 2050, the population of Ecuador is projected to grow by 16.0% and that of El Salvador to grow by 4.5% compared with 2026.
GDP per person is $7,125 in Ecuador (2025) and $5,767 in El Salvador (2025).
Figures from 2024 are UN medium-variant projections.
Key figures (2026)
| Ecuador | El Salvador | |
|---|---|---|
| Population | 18.4 million | 6.38 million |
| Aged 0–14 | 23.6% | 24.2% |
| Aged 15–64 | 67.6% | 67.4% |
| Aged 65+ | 8.7% | 8.4% |
| Median age | 29.7 yrs | 28.4 yrs |
| Old-age dependency | 12.9 | 12.4 |
| Total fertility rate | 1.78 | 1.74 |
| Life expectancy | 77.9 yrs | 72.7 yrs |
| Population growth | +0.84% | +0.40% |
| Net migration (per year) | -13,851 | -23,530 |
| GDP | $130B (2025) | $37B (2025) |
| GDP per person | $7,125 (2025) | $5,767 (2025) |
| Unemployment | 3.3% (2025) | 3.3% (2025) |
Economic figures are the latest year published for each country.
Prices by category (2021, World = 100)
| Ecuador | El Salvador | Ecuador as % of El Salvador | |
|---|---|---|---|
| Food and non-alcoholic drinks | 100 | 88 | 113% |
| Bread and cereals | 119 | 104 | 114% |
| Meat | 84 | 76 | 110% |
| Milk, cheese and eggs | 98 | 99 | 99% |
| Fruit | 68 | 81 | 84% |
| Vegetables | 76 | 138 | 55% |
| Alcoholic drinks | 154 | 110 | 140% |
| Tobacco | 132 | 79 | 168% |
| Clothing and footwear | 118 | 112 | 105% |
| Housing, water, electricity and gas | 52 | 92 | 56% |
| Health | 69 | 54 | 127% |
| Transport services | 55 | 63 | 87% |
| Communication | 125 | 94 | 133% |
| Recreation and culture | 58 | 59 | 98% |
| Education | 64 | 50 | 128% |
| Restaurants and hotels | 80 | 75 | 106% |
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