Costa Rica vs United States: population pyramids in 2026
Costa RicaUnited States
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 United States compared
In 2026, Costa Rica has a population of 5.16 million and the United States 348.2 million; the United States is about 67 times the size of Costa Rica.
The share aged 65 and over is 13.0% in Costa Rica and 18.6% in the United States, 5.6 points higher in the United States. The median age is 35.7 years in Costa Rica and 38.7 years in the United States.
The total fertility rate is 1.31 in Costa Rica and 1.62 in the United States, both below the replacement level of about 2.1. Life expectancy at birth is 81.4 years in Costa Rica and 79.8 years in the United States.
By 2050, the population of Costa Rica is projected to grow by 3.8% and that of the United States to grow by 9.3% compared with 2026.
GDP per person is $20K in Costa Rica (2025) and $90K in the United States (2025).
Figures from 2024 are UN medium-variant projections.
Key figures (2026)
| Costa Rica | United States | |
|---|---|---|
| Population | 5.16 million | 348.2 million |
| Aged 0–14 | 18.1% | 17.0% |
| Aged 15–64 | 68.9% | 64.4% |
| Aged 65+ | 13.0% | 18.6% |
| Median age | 35.7 yrs | 38.7 yrs |
| Old-age dependency | 18.9 | 28.9 |
| Total fertility rate | 1.31 | 1.62 |
| Life expectancy | 81.4 yrs | 79.8 yrs |
| Population growth | +0.41% | +0.49% |
| Net migration (per year) | +966 | +1.18 million |
| GDP | $103B (2025) | $30.8T (2025) |
| GDP per person | $20K (2025) | $90K (2025) |
| Unemployment | 6.8% (2025) | 4.2% (2025) |
Economic figures are the latest year published for each country.
Prices by category (2021, World = 100)
| Costa Rica | United States | Costa Rica as % of United States | |
|---|---|---|---|
| Food and non-alcoholic drinks | 124 | 116 | 107% |
| Bread and cereals | 144 | 117 | 122% |
| Meat | 94 | 117 | 80% |
| Milk, cheese and eggs | 146 | 107 | 137% |
| Fruit | 134 | 121 | 111% |
| Vegetables | 157 | 178 | 88% |
| Alcoholic drinks | 139 | 99 | 140% |
| Tobacco | 83 | 195 | 42% |
| Clothing and footwear | 100 | 123 | 82% |
| Housing, water, electricity and gas | 67 | 215 | 31% |
| Health | 129 | 208 | 62% |
| Transport services | 85 | 152 | 56% |
| Communication | 113 | 224 | 50% |
| Recreation and culture | 90 | 114 | 79% |
| Education | 68 | 255 | 27% |
| Restaurants and hotels | 89 | 142 | 63% |
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