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

Mexico vs El Salvador: population pyramids in 2026

◀2026▶Swap

MexicoEl Salvador

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.

Mexico and El Salvador compared

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

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

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

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

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

Figures from 2024 are UN medium-variant projections.

Key figures (2026)

MexicoEl Salvador
Population132.5 million6.38 million
Aged 0–1423.9%24.2%
Aged 15–6467.5%67.4%
Aged 65+8.7%8.4%
Median age30.0 yrs28.4 yrs
Old-age dependency12.812.4
Total fertility rate1.851.74
Life expectancy75.6 yrs72.7 yrs
Population growth+0.78%+0.40%
Net migration (per year)-109,844-23,530
GDP$1.83T (2025)$37B (2025)
GDP per person$14K (2025)$5,767 (2025)
Unemployment2.7% (2025)3.3% (2025)

Economic figures are the latest year published for each country.

Prices by category (2021, World = 100)

MexicoEl SalvadorMexico as % of El Salvador
Food and non-alcoholic drinks10088113%
Bread and cereals126104122%
Meat8776114%
Milk, cheese and eggs959996%
Fruit8781108%
Vegetables12313889%
Alcoholic drinks8811080%
Tobacco7979100%
Clothing and footwear8811278%
Housing, water, electricity and gas829289%
Health8354153%
Transport services12663201%
Communication699473%
Recreation and culture8059134%
Education215041%
Restaurants and hotels8475112%

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