El Salvador vs Mexico: population pyramids in 2026
El SalvadorMexico
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 Salvador | Mexico | |
|---|---|---|
| Population | 6.38 million | 132.5 million |
| Aged 0–14 | 24.2% | 23.9% |
| Aged 15–64 | 67.4% | 67.5% |
| Aged 65+ | 8.4% | 8.7% |
| Median age | 28.4 yrs | 30.0 yrs |
| Old-age dependency | 12.4 | 12.8 |
| Total fertility rate | 1.74 | 1.85 |
| Life expectancy | 72.7 yrs | 75.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) |
| Unemployment | 3.3% (2025) | 2.7% (2025) |
Economic figures are the latest year published for each country.
Prices by category (2021, World = 100)
| El Salvador | Mexico | El Salvador as % of Mexico | |
|---|---|---|---|
| Food and non-alcoholic drinks | 88 | 100 | 88% |
| Bread and cereals | 104 | 126 | 82% |
| Meat | 76 | 87 | 87% |
| Milk, cheese and eggs | 99 | 95 | 104% |
| Fruit | 81 | 87 | 93% |
| Vegetables | 138 | 123 | 112% |
| Alcoholic drinks | 110 | 88 | 125% |
| Tobacco | 79 | 79 | 100% |
| Clothing and footwear | 112 | 88 | 128% |
| Housing, water, electricity and gas | 92 | 82 | 113% |
| Health | 54 | 83 | 65% |
| Transport services | 63 | 126 | 50% |
| Communication | 94 | 69 | 137% |
| Recreation and culture | 59 | 80 | 75% |
| Education | 50 | 21 | 242% |
| Restaurants and hotels | 75 | 84 | 89% |
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