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

El Salvador vs Mexico: population pyramids in 2026

◀2026▶Swap

El SalvadorMexico

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 Mexico compared

In 2026, El Salvador has a population of 6.38 million and Mexico 132.5 million; Mexico is about 21 times the size of El Salvador.

The share aged 65 and over is 8.4% in El Salvador and 8.7% in Mexico, almost the same. The median age is 28.4 years in El Salvador and 30.0 years in Mexico.

The total fertility rate is 1.74 in El Salvador and 1.85 in Mexico, both below the replacement level of about 2.1. Life expectancy at birth is 72.7 years in El Salvador and 75.6 years in Mexico.

By 2050, the population of El Salvador is projected to grow by 4.5% and that of Mexico to grow by 12.3% compared with 2026.

GDP per person is $5,767 in El Salvador (2025) and $14K in Mexico (2025).

Figures from 2024 are UN medium-variant projections.

Key figures (2026)

El SalvadorMexico
Population6.38 million132.5 million
Aged 0–1424.2%23.9%
Aged 15–6467.4%67.5%
Aged 65+8.4%8.7%
Median age28.4 yrs30.0 yrs
Old-age dependency12.412.8
Total fertility rate1.741.85
Life expectancy72.7 yrs75.6 yrs
Population growth+0.40%+0.78%
Net migration (per year)-23,530-109,844
GDP$37B (2025)$1.83T (2025)
GDP per person$5,767 (2025)$14K (2025)
Unemployment3.3% (2025)2.7% (2025)

Economic figures are the latest year published for each country.

Prices by category (2021, World = 100)

El SalvadorMexicoEl Salvador as % of Mexico
Food and non-alcoholic drinks8810088%
Bread and cereals10412682%
Meat768787%
Milk, cheese and eggs9995104%
Fruit818793%
Vegetables138123112%
Alcoholic drinks11088125%
Tobacco7979100%
Clothing and footwear11288128%
Housing, water, electricity and gas9282113%
Health548365%
Transport services6312650%
Communication9469137%
Recreation and culture598075%
Education5021242%
Restaurants and hotels758489%

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