Costa Rica vs Panama — Country Comparison

Side-by-side comparison of Costa Rica and Panama across population, economy, quality of life, and more. Data updated 2026.

How do Costa Rica and Panama compare? Costa Rica, located in Central America and Caribbean, has a population of 5.3M and covers an area of 51,100 km². Its GDP (PPP) stands at $138.4B with a GDP per capita of $27,000. Panama, in Central America and Caribbean, has a population of 4.5M across 75,420 km², with a GDP of $164.5B and GDP per capita of $36,400. In terms of quality of life, Costa Rica has a life expectancy of 80.3 years compared to Panama's 79.2 years.

Demographics

IndicatorCosta RicaPanama
Population5,304,9324,536,008
Birth Rate10.917.1
Death Rate5.25.5
Life Expectancy80.379.2
Literacy Rate-96.3%

Economy

IndicatorCosta RicaPanama
GDP (PPP)$138.37B$164.48B
GDP per Capita$27,000$36,400
Unemployment7.9%6.6%
Inflation0.4%0.7%
Public Debt (% GDP)48.937.4

Geography

IndicatorCosta RicaPanama
Area (km²)51,10075,420
Coastline (km)1,2902,490
Highest Elevation (m)3,8193,475

Military & Security

IndicatorCosta RicaPanama
Military Spending (% GDP)0.60%1.10%
Military Personnel10,00030,000

Infrastructure

IndicatorCosta RicaPanama
Internet Users85.0%78.0%
Electricity Consumption9,957,000,00011,777,000,000
Oil Production (bbl/day)400-
Costa Rica
Panama