Skip to content

Population density: Costa Rica vs Sri Lanka compared

Updated on by Georank team

Costa Rica has a population density of 262.6 people per square mile compared to 928 people in Sri Lanka. Costa Rica has 107,389 sq ft of land per person vs 32,224 sq ft in Sri Lanka. Costa Rica and Sri Lanka rank 93rd and 25th by population density, respectively.

Population density is calculated as the ratio of population to land area. Costa Rica has 0.06% of the world's population and 0.03% of all countries' land area, compared to 0.27% of the population and 0.04% of the land area for Sri Lanka, making the population density in Costa Rica 71.7% lower than in Sri Lanka.

Population density by year

Costa Rica
Sri Lanka

people per square mile

1x
Year Population density
Costa Rica Sri Lanka
2026 262.6 928
2025 261.4 923
2024 260.2 918
2023 259 923
2022 257.8 929
2021 256.7 928
2020 255.4 918
2019 253.6 913
2018 251.5 907
2017 249.2 898
2016 246.9 888
2015 244.4 878
2014 241.8 858
2013 239.2 850
2012 236.6 874
2011 233.8 868
2010 231.1 862
2009 228.2 857
2008 225.2 852
2007 222.2 846
2006 219.2 841
2005 216.1 835
2004 213 830
2003 209.9 824
2002 206.7 818
2001 203.4 810
2000 199.7 797
1999 195.9 782
1998 191.9 768
1997 187.8 754
1996 183.6 739
1995 179.3 725
1994 175.1 714
1993 170.8 703
1992 166.6 691
1991 162.4 680
1990 158.3 675
1989 154.4 671
1988 150.6 664
1987 146.7 657
1986 142.9 650
1985 139.1 642
1984 135.3 638
1983 131.6 636
1982 128.1 631
1981 124.6 624
1980 121.3 613
1979 118 602
1978 114.9 591
1977 111.8 580
1976 108.9 570
1975 106.2 560
1974 103.5 550
1973 100.9 539
1972 98.3 529
1971 95.8 518
1970 93.3 507
1969 90.8 496
1968 88.2 485
1967 85.7 473
1966 83.1 462
1965 80.5 451
1964 77.8 440
1963 75.2 429
1962 72.5 419
1961 69.9 409

Data sources: World Bank | Agriculture & Rural Development (1961–2026, retrieved 2026-04-06); United Nations | World Population Prospects (2025–2026, retrieved 2026-03-10).

GeoRank.org/population-density/costa-rica/sri-lanka | CC BY

From 2006 to 2026, population density in Costa Rica increased by 19.8%, compared to a 10.4% growth in Sri Lanka.

In 2006, Costa Rica ranked 88th by population density and is 93rd now. Sri Lanka was 25th in 2006 and still ranks 25th out of 197 currently.

Share of urban population by year

Costa Rica
Sri Lanka
1x
Year Urban population
Costa Rica Sri Lanka
2024 79.3% 20.3%
2023 78.9% 20.1%
2022 78.4% 20%
2021 78% 19.8%
2020 77.5% 19.7%
2019 77% 19.5%
2018 76.6% 19.3%
2017 76.1% 19.2%
2016 75.5% 19%
2015 75% 18.8%
2014 74.5% 18.6%
2013 73.9% 18.4%
2012 73.4% 18.3%
2011 72.8% 17.8%
2010 71.5% 17.2%
2009 70.1% 16.7%
2008 68.8% 16.3%
2007 67.5% 15.9%
2006 66.2% 15.5%
2005 64.9% 15.2%
2004 63.7% 14.9%
2003 62.5% 14.7%
2002 61.3% 14.6%
2001 60.1% 14.6%
2000 59% 14.6%
1999 58% 14.7%
1998 56.9% 14.9%
1997 55.8% 15.2%
1996 54.7% 15.5%
1995 53.6% 15.9%
1994 52.5% 16.3%
1993 51.5% 16.7%
1992 50.5% 17.1%
1991 49.5% 17.6%
1990 48.6% 18.1%
1989 47.7% 18.6%
1988 46.9% 19%
1987 46.1% 19.5%
1986 45.5% 19.9%
1985 44.9% 20.3%
1984 44.4% 20.7%
1983 43.9% 21%
1982 43.5% 21.3%
1981 43.2% 21.5%
1980 42.9% 21.6%
1979 42.6% 21.8%
1978 42.3% 21.9%
1977 42% 22%
1976 41.7% 22.1%
1975 41.4% 22.2%
1974 41.1% 22.3%
1973 40.7% 22.4%
1972 40.2% 22.4%
1971 39.5% 22.4%
1970 38.8% 22.3%
1969 38% 22%
1968 37.3% 21.5%
1967 36.5% 21%
1966 35.8% 20.4%
1965 35.2% 19.8%
1964 34.8% 19.3%
1963 34.5% 18.9%
1962 34.3% 18.5%
1961 34.2% 18%
1960 34.1% 17.6%

Data sources: World Bank | Health (1960–2024, retrieved 2026-04-06).

GeoRank.org/population-density/costa-rica/sri-lanka | CC BY

From 2004 to 2024, the share of urban population changed from 63.7% to 79.3% in Costa Rica and from 14.9% to 20.3% in Sri Lanka.

Densely populated cities

Costa Rica
City Population
San Jose 335K
Limon 71.5K
Liberia 65.9K
Sri Lanka
City Population
Colombo 648K
Gampaha 191K
Beruwala 165K
Negombo 142K
Kandy 120K
Sri Jayawardenepura Kotte 116K
Trincomalee 99.1K
Galle 93.1K
Matara 68.2K
Anuradhapura 63.2K

Compare countries by 7 more topics

Population density in other countries

1x

Data sources: World Bank | Agriculture & Rural Development (1961–2026, retrieved 2026-04-06); United Nations | World Population Prospects (1961–2026, retrieved 2026-03-10); U.S. Census Bureau (1961–2025, retrieved 2026-02-08); Central Intelligence Agency (CIA) (2000–2019, retrieved 2026-02-20).

GeoRank.org/population-density/costa-rica/sri-lanka | CC BY

Help us show the world through your eyes

Share a photo of your city and help others discover what it looks like to live there. Your contribution makes our data come alive.

Data sources:

  1. World Bank | Agriculture & Rural Development (1961–2026, retrieved 2026-04-06)
  2. United Nations | World Population Prospects (1961–2026, retrieved 2026-03-10)
  3. U.S. Census Bureau (1961–2025, retrieved 2026-02-08)
  4. Central Intelligence Agency (CIA) (2000–2019, retrieved 2026-02-20)
  5. Wikidata (2001–2025, retrieved 2026-02-08)

Creative Commons Attribution (CC BY) — you’re free to copy, share, remix, adapt, and use even commercially as long as you give appropriate credit and clearly indicate if you made changes. Other sources may be subject to different license terms.