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

Costa Rica vs Brazil: population pyramids in 2026

◀2026▶Swap

Costa RicaBrazil

1%0.75%0.5%0.25%0%0.25%0.5%0.75%1%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.

Costa Rica and Brazil compared

In 2026, Costa Rica has a population of 5.16 million and Brazil 213.2 million; Brazil is about 41 times the size of Costa Rica.

The share aged 65 and over is 13.0% in Costa Rica and 11.7% in Brazil, 1.3 points higher in Costa Rica. The median age is 35.7 years in Costa Rica and 35.2 years in Brazil.

The total fertility rate is 1.31 in Costa Rica and 1.59 in Brazil, both below the replacement level of about 2.1. Life expectancy at birth is 81.4 years in Costa Rica and 76.4 years in Brazil.

By 2050, the population of Costa Rica is projected to grow by 3.8% and that of Brazil to grow by 2.1% compared with 2026.

GDP per person is $20K in Costa Rica (2025) and $11K in Brazil (2025).

Figures from 2024 are UN medium-variant projections.

Key figures (2026)

Costa RicaBrazil
Population5.16 million213.2 million
Aged 0–1418.1%19.2%
Aged 15–6468.9%69.1%
Aged 65+13.0%11.7%
Median age35.7 yrs35.2 yrs
Old-age dependency18.916.9
Total fertility rate1.311.59
Life expectancy81.4 yrs76.4 yrs
Population growth+0.41%+0.34%
Net migration (per year)+966-205,642
GDP$103B (2025)$2.28T (2025)
GDP per person$20K (2025)$11K (2025)
Unemployment6.8% (2025)6% (2025)

Economic figures are the latest year published for each country.

Prices by category (2021, World = 100)

Costa RicaBrazilCosta Rica as % of Brazil
Food and non-alcoholic drinks12481154%
Bread and cereals14491157%
Meat9466141%
Milk, cheese and eggs14690161%
Fruit13478171%
Vegetables15798160%
Alcoholic drinks13974188%
Tobacco8342197%
Clothing and footwear10071141%
Housing, water, electricity and gas6754125%
Health12969188%
Transport services8510878%
Communication11395118%
Recreation and culture9069130%
Education687689%
Restaurants and hotels8949183%

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