Afghanistan vs Algeria

Afghanistan vs Algeria: Median age

Median age in 2023: 16.9 years in Afghanistan and 28.2 years in Algeria, by UN estimates. In 2023 the value was higher in Algeria, by 11.3 years, or 1.66 times that in Afghanistan.

years · UN

Afghanistan vs Algeria: Median ageMedian age in 2023: 16.9 years in Afghanistan and 28.2 years in Algeria, by UN estimates. In 2023 the value was higher in Algeria, by 11.3 years, or 1.66 times that in Afghanistan.
AfghanistanAlgeriaUN projection (medium variant)95% prediction intervalWorld

What the numbers say

  • Algeria has been higher since 1982, when it overtook Afghanistan.
  • In 2023, Afghanistan ranked 219 and Algeria ranked 140 of 229 countries, counting from the highest.
  • The UN projection (medium variant) puts Afghanistan at 34.8 years and Algeria at 46.8 years in 2100.
  • The world as a whole: 30.4 years in 2023.

Every year

years · UN

YearAfghanistanAlgeriaWorld
202316.928.230.4
202216.82830.1
202116.627.829.8
202016.427.629.6
201916.227.429.3
201816.127.229
201715.92728.8
201615.726.828.5
201515.526.628.3
201415.326.328.1
201315.126.127.8
20121525.827.6
201114.825.527.4
201014.625.127.2
200914.524.827
200814.324.426.7
200714.22426.5
200614.123.626.3
20051423.226.1
200413.922.725.9
200313.922.225.7
200213.921.725.5
200113.921.325.3
20001420.825.1
199914.120.324.9
199814.219.824.7
199714.319.424.4
199614.419.124.2
199514.618.824
199414.718.523.8
199314.818.223.5
199214.91823.3
199114.917.823.1
19901517.522.9
198915.117.222.8
198815.11722.6
198715.216.722.4
198615.216.522.2
198515.316.322
198415.416.121.9
198315.51621.8
198215.615.821.7
198115.715.621.6
198015.815.521.5
197915.915.421.3
19781615.321.1
197716.215.221
197616.315.220.8
197516.415.420.7
197416.515.420.5
197316.615.420.4
197216.715.420.4
197116.815.320.3
19701715.320.3
196917.115.320.3
196817.315.320.4
196717.415.320.5
196617.515.420.6
196517.515.520.8
196417.615.621
196317.615.821.2
196217.715.921.4
196117.816.121.4
196017.916.321.5
19591816.621.5
19581816.921.5
195718.117.221.6
195618.117.421.7
195518.217.721.8
195418.217.921.9
195318.31822
195218.318.122.1
195118.418.222.1
195018.418.422.2
UN projection (medium variant) · 2024–2100
YearAfghanistanAlgeriaWorld
202417.116.9–17.328.428.3–28.530.6
202517.316.7–17.828.628.2–2930.9
202617.416.5–18.228.828.2–29.531.1
202717.616.4–18.52928.1–3031.3
202817.816.5–18.829.227.9–30.531.6
20291816.6–19.129.327.8–3131.8
203018.216.7–19.429.527.7–31.432
203118.417–19.729.627.6–31.932.2
203218.617.2–19.929.827.7–32.332.4
203318.817.4–20.129.927.7–32.732.6
203419.117.6–20.43027.9–33.132.8
203519.317.9–20.530.228–33.533
203619.518.2–20.730.428.2–33.933.2
203719.718.5–20.730.628.4–34.233.4
20382018.8–20.730.828.6–34.533.6
203920.219.1–20.831.128.8–34.833.8
204020.519.5–2131.429–35.134
204120.719.8–21.131.629.2–35.434.2
20422120.2–21.231.929.5–35.734.4
204321.220.6–21.332.229.8–3634.6
204421.521–21.532.530.1–36.334.8
204521.721.4–21.632.830.4–36.635
20462221.7–21.833.230.6–36.935.2
204722.221.8–22.233.530.9–37.235.4
204822.522–22.533.831.2–37.635.6
204922.822.1–22.934.231.5–37.935.9
20502322.2–23.234.531.8–38.236.1
205123.322.5–23.634.932.1–38.636.3
205223.622.7–23.935.332.4–3936.5
205323.822.9–24.235.732.7–39.436.7
205424.123.2–24.536.133–39.936.9
205524.323.4–24.736.433.2–40.337.1
205624.623.6–24.936.833.5–40.737.3
205724.923.8–25.237.233.7–41.237.5
205825.123.9–25.537.633.9–41.637.6
205925.424–25.837.934.2–42.137.8
206025.624.2–25.938.334.4–42.637.9
206125.924.4–25.938.634.7–43.138
206226.124.7–25.938.934.9–43.538.1
206326.424.8–2639.235–4438.3
206426.625–26.239.535.2–44.438.4
206526.925.1–26.339.835.3–44.938.5
206627.125.3–26.74035.4–45.338.6
206727.425.4–27.240.335.5–45.838.7
206827.625.6–27.540.535.6–46.238.8
206927.925.7–27.840.635.7–46.638.9
207028.125.9–27.940.835.8–46.939
207128.326–27.94135.9–47.339.1
207228.626.3–28.141.135.9–47.739.2
207328.826.5–28.541.236–4839.3
20742926.7–28.741.336.2–48.339.4
207529.326.9–28.941.436.3–48.639.5
207629.527.1–29.341.536.5–48.939.6
207729.827.2–29.741.636.6–49.239.7
20783027.3–3041.736.8–49.539.8
207930.227.3–30.341.936.9–49.740
208030.527.4–30.54237.1–49.940.1
208130.727.5–30.842.137.4–50.140.2
208230.927.7–3142.337.6–50.340.3
208331.227.8–31.242.537.8–50.540.4
208431.427.9–31.642.738–50.640.5
208531.628.1–31.942.938.2–50.840.6
208631.828.2–32.343.238.4–5140.7
208732.128.3–32.343.438.7–51.240.9
208832.328.4–32.443.738.9–51.441
208932.528.6–32.843.939.1–51.741.1
209032.728.8–33.244.239.3–51.841.2
209132.928.9–33.544.539.5–5241.3
209233.229.1–33.844.839.6–52.241.4
209333.429.3–34.14539.8–52.341.5
209433.629.5–34.245.339.9–52.541.6
209533.829.7–34.245.640.1–52.741.7
20963429.9–34.345.840.3–52.941.8
209734.230–34.446.140.4–53.241.9
209834.430.2–34.646.340.5–53.442
209934.630.4–34.646.640.7–53.642
210034.830.5–34.646.840.8–53.842.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

Afghanistan vs Algeria

Health

People

Economy

Education

Politics

Conflict

Military

Climate

Technology and environment