Comparison · land neighboursCRI · PAN
Costa Rica and Panama compared
Two neighbours in Central America: people, land, economy and capitals side by side
Costa Rica and Panama share a land border in Central America, and their capitals, San José and Panama City, are 511 km apart in a straight line. Panama covers 48% more area than Costa Rica (75,417 km² against 51,100 km², world-countries), but Costa Rica has 13% more people: 5.15 million against 4.57 million in 2025 (World Bank).
Costa Rica has the larger economy by 14%: a GDP of US$102.9 billion against US$90.5 billion in 2025 (World Bank, current US$). Costa Rica is 66% more densely populated, with 101 people per km² against 60.6. They have no other neighbour in common: Costa Rica also borders one other country and Panama one.
Side by side larger figure in bold
| Measure | Costa Rica | Panama | Difference |
|---|---|---|---|
| PopulationWorld Bank | 5,152,950 2025 | 4,571,189 2025 | Costa Rica13% more people |
| Areaworld-countries | 51,100 km² | 75,417 km² | Panama48% larger |
| Population densitypopulation ÷ area | 101 per km² 2025 | 60.6 per km² 2025 | Costa Rica66% denser |
| GDPWorld Bank, current US$ | US$102.9 billion 2025 | US$90.5 billion 2025 | Costa Rica14% larger |
| GDP per capitaWorld Bank, current US$ | US$19,970 2025 | US$19,790 2025 | Costa Rica0.9% higher |
| Life expectancyWorld Bank | 81.0 years 2024 | 79.8 years 2024 | Costa Rica1.2 years longer |
| Land neighboursworld-countries | 2 | 2 | Equal |
| Capitalworld-countries | San José | Panama City | 511 kmapart, in a straight line |
| Languagesworld-countries | Spanish | Spanish | In commonSpanish |
| Currencyworld-countries | Costa Rican colón (CRC) | Panamanian balboa (PAB), United States dollar (USD) | none in common |