World Population PyramidsPopulation pyramids and indicators by country and year日本語

El Salvador vs Ecuador: population pyramids in 2026

◀2026▶Swap

El SalvadorEcuador

1.5%1%0.5%0%0.5%1%1.5%0102030405060708090100+MaleFemale

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 SalvadorEcuador
Population6.38 million18.4 million
Aged 0–1424.2%23.6%
Aged 15–6467.4%67.6%
Aged 65+8.4%8.7%
Median age28.4 yrs29.7 yrs
Old-age dependency12.412.9
Total fertility rate1.741.78
Life expectancy72.7 yrs77.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)
Unemployment3.3% (2025)3.3% (2025)

Economic figures are the latest year published for each country.

Prices by category (2021, World = 100)

El SalvadorEcuadorEl Salvador as % of Ecuador
Food and non-alcoholic drinks8810089%
Bread and cereals10411988%
Meat768491%
Milk, cheese and eggs9998101%
Fruit8168119%
Vegetables13876181%
Alcoholic drinks11015472%
Tobacco7913259%
Clothing and footwear11211895%
Housing, water, electricity and gas9252178%
Health546979%
Transport services6355114%
Communication9412575%
Recreation and culture5958102%
Education506478%
Restaurants and hotels758094%

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

Compare other years