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