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