Geozy › Countries › Costa Rica

🇨🇷 Costa Rica: key facts and numbers

Costa Rica is in Central America. Its capital is San José, and about 5.2 million people live there (2025). Its economy was worth $103 bn in 2025, $19,970 per person. Life expectancy is 81.0 years (2024).

Costa Rica in numbers

LatestIn the worldTen years before
Population5.2 m (2025)125th largest of 1954.8 m (2015)
GDP$103 bn (2025)73rd largest of 194$56.4 bn (2015)
GDP per person$19,970 (2025)56th highest of 194$11,715 (2015)
GDP growth4.6% (2025)3.7% (2015)
Inflation-0.1% (2025)0.8% (2015)
Unemployment6.8% (2025)8.4% (2015)
Life expectancy81.0 yrs (2024)38th highest of 19580.2 yrs (2014)
People living in cities79.7% (2025)75.0% (2015)
People online87.2% (2024)53.0% (2014)
People with electricity99.8% (2024)99.4% (2014)
Military spending (share of GDP)0.0% (2025)0.0% (2015)
Inequality (Gini index)45.5 (2025)48.4 (2015)
Area51,100 km²126th largest of 197

Key facts

CapitalSan José
Political systemPresidential republic
Head of statePresident Rodrigo CHAVES Robles (since 8 May 2022)
Head of governmentPresident Rodrigo CHAVES Robles (since 8 May 2022)
Independence15 September 1821 (from Spain)
LanguagesSpanish (official), English
ReligionsRoman Catholic 47.5%, Evangelical and Pentecostal 19.8%, Jehovah's Witness 1.4%, other Protestant 1.2%, other 3.1%, none 27%
Ethnic groupsWhite or Mestizo 83.6%, Mulatto 6.7%, Indigenous 2.4%, Black or African descent 1.1%, other 1.1%, none 2.9%, unspecified 2.2%
CurrencyCosta Rican colón
ClimateTropical and subtropical

Background

Although explored by the Spanish early in the 16th century, initial attempts at colonizing Costa Rica proved unsuccessful due to a combination of factors, including disease from mosquito-infested swamps, brutal heat, resistance from Indigenous populations, and pirate raids. It was not until 1563 that a permanent settlement of Cartago was established in the cooler, fertile central highlands. The area remained a colony for some two-and-a-half centuries. In 1821, Costa Rica was one of several Central American provinces that jointly declared independence from Spain. Two years later it joined the United Provinces of Central America, but this federation disintegrated in 1838, at which time Costa Rica proclaimed its sovereignty and independence.

Since the late 19th century, only two brief periods of violence have marred the country's democratic development. General Federico TINOCO Granados led a coup in 1917, but the threat of US intervention pushed him to resign in 1919. In 1948, landowner Jose FIGUERES Ferrer raised his own army and rebelled against the government. The brief civil war ended with an agreement to allow FIGUERES to remain in power for 18 months, then step down in favor of the previously elected Otilio ULATE. FIGUERES was later elected twice in his own right, in 1953 and 1970.

Trade

Exports$40.0 bn
Imports$33.6 bn
Top exportsmedical instruments, integrated circuits, orthopedic appliances, bananas, tropical fruits
Export partnersUSA 40%, Netherlands 6%, China 5%, Guatemala 4%, Belgium 3%
Top importsrefined petroleum, plastic products, cars, medical instruments, broadcasting equipment
Import partnersUSA 38%, China 15%, Mexico 6%, Brazil 3%, Guatemala 3%

Neighbours

🇳🇮 Nicaragua · 🇵🇦 Panama

Explore Costa Rica

Sources: World Bank World Development Indicators (numbers and world ranks, among 197 countries and territories), CIA World Factbook (key facts, background, trade partners).