World SurveyPlay
Comparison · land neighboursCRI · PAN

Costa Rica and Panama compared

Two neighbours in Central America: people, land, economy and capitals side by side

Locator map of Costa Rica and PanamaCOSTA RICAPANAMASan JoséPanama CityCOLOMBIANICARAGUA0250 km
Costa Rica and Panama hatched in opposite directions; San José and Panama City marked with triangles and joined by a dashed line. Orthographic projection centred on 9.2°N 81.5°W; the scale bar is true at that point.

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

World Bank figures are the latest for each country, with the year beside each one; a figure older than 2018 is shown but not compared. Area, land neighbours, capitals, languages and currencies: world-countries, which gives no year. Density is population divided by area.
MeasureCosta RicaPanamaDifference
PopulationWorld Bank5,152,950 20254,571,189 2025Costa Rica13% more people
Areaworld-countries51,100 km²75,417 km²Panama48% larger
Population densitypopulation ÷ area101 per km² 202560.6 per km² 2025Costa Rica66% denser
GDPWorld Bank, current US$US$102.9 billion 2025US$90.5 billion 2025Costa Rica14% larger
GDP per capitaWorld Bank, current US$US$19,970 2025US$19,790 2025Costa Rica0.9% higher
Life expectancyWorld Bank81.0 years 202479.8 years 2024Costa Rica1.2 years longer
Land neighboursworld-countries22Equal
Capitalworld-countriesSan JoséPanama City511 kmapart, in a straight line
Languagesworld-countriesSpanishSpanishIn commonSpanish
Currencyworld-countriesCosta Rican colón (CRC)Panamanian balboa (PAB), United States dollar (USD)none in common