Costa Rica vs Panama

Costa Rica vs Panama: Median age

Median age in 2023: 34.1 years in Costa Rica and 29.6 years in Panama, by UN estimates. In 2023 the value was higher in Costa Rica, by 4.5 years, or 1.15 times that in Panama.

years · UN

Costa Rica vs Panama: Median ageMedian age in 2023: 34.1 years in Costa Rica and 29.6 years in Panama, by UN estimates. In 2023 the value was higher in Costa Rica, by 4.5 years, or 1.15 times that in Panama.
Costa RicaPanamaUN projection (medium variant)95% prediction intervalWorld

What the numbers say

  • Costa Rica has been higher since 1971, when it overtook Panama.
  • In 2023, Costa Rica ranked 99 and Panama ranked 125 of 229 countries, counting from the highest.
  • The UN projection (medium variant) puts Costa Rica at 56.2 years and Panama at 48 years in 2100.
  • The world as a whole: 30.4 years in 2023.

Every year

years · UN

YearCosta RicaPanamaWorld
202334.129.630.4
202233.529.330.1
2021332929.8
202032.528.729.6
20193228.429.3
201831.528.129
201731.127.828.8
201630.627.528.5
201530.227.328.3
201429.72728.1
201329.326.727.8
201228.826.527.6
201128.426.227.4
20102825.927.2
200927.625.727
200827.225.426.7
200726.825.126.5
200626.424.826.3
20052624.626.1
200425.624.325.9
200325.224.125.7
200224.823.825.5
200124.523.525.3
200024.223.325.1
199923.92324.9
199823.722.724.7
199723.422.524.4
199623.122.224.2
199522.921.924
199422.621.623.8
199322.421.323.5
199222.22123.3
199121.920.823.1
199021.720.522.9
198921.520.222.8
198821.32022.6
198721.119.722.4
198620.819.422.2
198520.619.222
198420.418.921.9
198320.118.721.8
198219.918.421.7
198119.618.221.6
198019.31821.5
19791917.721.3
197818.717.521.1
197718.417.321
197618.117.220.8
197517.81720.7
197417.516.920.5
197317.216.720.4
19721716.620.4
197116.716.620.3
197016.416.520.3
196916.216.420.3
19681616.420.4
196715.816.420.5
196615.716.420.6
196515.616.420.8
196415.616.521
196315.516.521.2
196215.616.621.4
196115.616.721.4
196015.716.721.5
195915.916.821.5
19581616.921.5
195716.116.921.6
195616.21721.7
195516.317.121.8
195416.417.221.9
195316.517.322
195216.617.422.1
195116.717.622.1
195016.817.722.2
UN projection (medium variant) · 2024–2100
YearCosta RicaPanamaWorld
202434.634.6–34.629.929.9–3030.6
202535.235.1–35.230.330.1–30.430.9
202635.735.5–35.930.630.3–30.831.1
202736.236–36.530.930.6–31.231.3
202836.836.5–37.131.230.8–31.731.6
202937.336.9–37.731.631–32.131.8
203037.837.4–38.331.931.2–32.532
203138.337.8–38.932.231.4–3332.2
203238.838.2–39.532.531.6–33.432.4
203339.338.7–40.232.931.8–33.832.6
203439.839.1–40.833.232–34.332.8
203540.339.5–41.433.532.2–34.733
203640.839.9–4233.832.4–35.233.2
203741.340.3–42.534.232.6–35.633.4
203841.840.7–43.134.532.8–3633.6
203942.341–43.734.833–36.533.8
204042.741.4–44.335.133.2–36.934
204143.241.8–44.835.433.4–37.334.2
204243.642.1–45.435.733.6–37.734.4
204344.142.5–45.93633.8–38.234.6
204444.542.9–46.536.334–38.634.8
204544.943.2–4736.634.2–3935
204645.443.5–47.636.934.5–39.435.2
204745.843.9–48.137.234.7–39.835.4
204846.244.2–48.737.534.9–40.235.6
204946.644.5–49.237.935.1–40.735.9
20504744.7–49.738.235.3–41.136.1
205147.445–50.238.535.5–41.536.3
205247.745.3–50.738.835.7–41.936.5
205348.145.6–51.239.135.9–42.336.7
205448.545.9–51.739.436.1–42.736.9
205548.846.2–52.239.736.3–43.137.1
205649.246.5–52.74036.5–43.537.3
205749.546.8–53.240.336.6–43.937.5
205849.947.1–53.740.636.7–44.437.6
205950.247.3–54.140.936.8–44.837.8
206050.647.6–54.641.236.9–45.237.9
20615147.8–55.141.437–45.638
206251.348.1–55.541.737.1–4638.1
206351.748.3–5641.937.2–46.438.3
20645248.6–56.442.137.4–46.838.4
206552.348.8–56.842.337.5–47.338.5
206652.749–57.342.537.6–47.738.6
20675349.2–57.742.737.8–48.138.7
206853.349.4–58.242.937.9–48.538.8
206953.649.6–58.643.138.1–48.838.9
207053.949.7–5943.338.2–49.239
207154.249.8–59.443.538.4–49.539.1
207254.549.8–59.843.738.5–49.939.2
207354.749.7–60.243.938.7–50.239.3
20745549.7–60.644.138.8–50.539.4
207555.249.7–6144.239–50.939.5
207655.449.7–61.444.439.1–51.239.6
207755.649.7–61.844.639.3–51.539.7
207855.649.7–62.244.839.4–51.739.8
207955.749.7–62.644.939.6–5240
208055.749.8–6345.139.7–52.240.1
208155.849.8–63.345.339.8–52.440.2
208255.849.8–63.745.539.9–52.640.3
208355.849.9–64.145.640–52.940.4
208455.849.9–64.545.840.1–53.140.5
208555.850–64.84640.2–53.340.6
208655.850–65.146.140.3–53.540.7
208755.850–65.446.340.4–53.740.9
208855.950–65.646.540.5–53.941
208955.950.1–65.846.640.5–5441.1
209055.950.1–6646.840.6–54.241.2
209155.950.1–66.246.940.7–54.441.3
209255.950.1–66.34740.8–54.541.4
20935650.1–66.447.240.9–54.741.5
20945650.1–66.547.340.9–54.941.6
20955650.1–66.547.441–55.141.7
209656.150.1–66.647.641.1–55.341.8
209756.150.1–66.647.741.2–55.441.9
209856.250.1–66.647.841.2–55.642
209956.250.1–66.647.941.3–55.842
210056.250.1–66.64841.4–55.942.1

Each country on its own

Good to know

  • Half the people are older than this age and half are younger.
  • Source: UN DESA, World Population Prospects 2024.
  • The dashed line is the UN projection (medium variant), a scenario rather than a forecast; the band is its 95% prediction interval.
  • Ranks count the 229 countries with a value in 2023, highest first.
  • The faint line is the world as a whole, as the same source counts it.

How the layers work, where their data comes from and what they can’t tell you: Countries through time

Costa Rica vs Panama

Health

People

Economy

Education

Politics

Conflict

Military

Climate

Technology and environment