Brazil vs Costa Rica: population pyramids in 2026
BrazilCosta Rica
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.
Brazil and Costa Rica compared
In 2026, Brazil has a population of 213.2 million and Costa Rica 5.16 million; Brazil is about 41 times the size of Costa Rica.
The share aged 65 and over is 11.7% in Brazil and 13.0% in Costa Rica, 1.3 points higher in Costa Rica. The median age is 35.2 years in Brazil and 35.7 years in Costa Rica.
The total fertility rate is 1.59 in Brazil and 1.31 in Costa Rica, both below the replacement level of about 2.1. Life expectancy at birth is 76.4 years in Brazil and 81.4 years in Costa Rica.
By 2050, the population of Brazil is projected to grow by 2.1% and that of Costa Rica to grow by 3.8% compared with 2026.
GDP per person is $11K in Brazil (2025) and $20K in Costa Rica (2025).
Figures from 2024 are UN medium-variant projections.
Key figures (2026)
| Brazil | Costa Rica | |
|---|---|---|
| Population | 213.2 million | 5.16 million |
| Aged 0–14 | 19.2% | 18.1% |
| Aged 15–64 | 69.1% | 68.9% |
| Aged 65+ | 11.7% | 13.0% |
| Median age | 35.2 yrs | 35.7 yrs |
| Old-age dependency | 16.9 | 18.9 |
| Total fertility rate | 1.59 | 1.31 |
| Life expectancy | 76.4 yrs | 81.4 yrs |
| Population growth | +0.34% | +0.41% |
| Net migration (per year) | -205,642 | +966 |
| GDP | $2.28T (2025) | $103B (2025) |
| GDP per person | $11K (2025) | $20K (2025) |
| Unemployment | 6% (2025) | 6.8% (2025) |
Economic figures are the latest year published for each country.
Prices by category (2021, World = 100)
| Brazil | Costa Rica | Brazil as % of Costa Rica | |
|---|---|---|---|
| Food and non-alcoholic drinks | 81 | 124 | 65% |
| Bread and cereals | 91 | 144 | 64% |
| Meat | 66 | 94 | 71% |
| Milk, cheese and eggs | 90 | 146 | 62% |
| Fruit | 78 | 134 | 58% |
| Vegetables | 98 | 157 | 63% |
| Alcoholic drinks | 74 | 139 | 53% |
| Tobacco | 42 | 83 | 51% |
| Clothing and footwear | 71 | 100 | 71% |
| Housing, water, electricity and gas | 54 | 67 | 80% |
| Health | 69 | 129 | 53% |
| Transport services | 108 | 85 | 128% |
| Communication | 95 | 113 | 85% |
| Recreation and culture | 69 | 90 | 77% |
| Education | 76 | 68 | 113% |
| Restaurants and hotels | 49 | 89 | 55% |
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