Afghanistan vs Egypt

Afghanistan vs Egypt: Median age

Median age in 2023: 16.9 years in Afghanistan and 24 years in Egypt, by UN estimates. In 2023 the value was higher in Egypt, by 7.1 years, or 1.42 times that in Afghanistan.

years · UN

Afghanistan vs Egypt: Median ageMedian age in 2023: 16.9 years in Afghanistan and 24 years in Egypt, by UN estimates. In 2023 the value was higher in Egypt, by 7.1 years, or 1.42 times that in Afghanistan.
AfghanistanEgyptUN projection (medium variant)95% prediction intervalWorld

What the numbers say

  • Egypt has been higher in every year both have figures for since 1950.
  • In 2023, Afghanistan ranked 219 and Egypt ranked 165 of 229 countries, counting from the highest.
  • The UN projection (medium variant) puts Afghanistan at 34.8 years and Egypt at 41.6 years in 2100.
  • The world as a whole: 30.4 years in 2023.

Every year

years · UN

YearAfghanistanEgyptWorld
202316.92430.4
202216.823.830.1
202116.623.629.8
202016.423.529.6
201916.223.329.3
201816.123.229
201715.923.128.8
201615.72328.5
201515.522.928.3
201415.322.828.1
201315.122.727.8
20121522.627.6
201114.822.427.4
201014.622.227.2
200914.52227
200814.321.926.7
200714.221.726.5
200614.121.426.3
20051421.226.1
200413.92125.9
200313.920.825.7
200213.920.525.5
200113.920.325.3
20001420.125.1
199914.119.924.9
199814.219.724.7
199714.319.524.4
199614.419.324.2
199514.619.124
199414.71923.8
199314.818.923.5
199214.918.723.3
199114.918.623.1
19901518.522.9
198915.118.422.8
198815.118.422.6
198715.218.422.4
198615.218.322.2
198515.318.322
198415.418.321.9
198315.518.321.8
198215.618.321.7
198115.718.221.6
198015.818.221.5
197915.918.221.3
19781618.321.1
197716.218.321
197616.318.320.8
197516.418.320.7
197416.518.220.5
197316.618.220.4
197216.718.120.4
197116.818.120.3
19701718.120.3
196917.118.120.3
196817.31820.4
196717.41820.5
196617.51820.6
196517.517.920.8
196417.617.921
196317.61821.2
196217.718.221.4
196117.818.421.4
196017.918.621.5
19591818.921.5
19581819.121.5
195718.119.321.6
195618.119.421.7
195518.219.521.8
195418.219.621.9
195318.319.622
195218.319.622.1
195118.419.622.1
195018.419.622.2
UN projection (medium variant) · 2024–2100
YearAfghanistanEgyptWorld
202417.116.9–17.324.324.2–24.430.6
202517.316.7–17.824.524.3–24.730.9
202617.416.5–18.224.724.4–25.131.1
202717.616.4–18.524.924.5–25.531.3
202817.816.5–18.825.124.6–25.831.6
20291816.6–19.125.424.8–26.131.8
203018.216.7–19.425.625–26.532
203118.417–19.725.825.1–26.832.2
203218.617.2–19.92625.2–27.132.4
203318.817.4–20.126.225.3–27.532.6
203419.117.6–20.426.425.4–27.832.8
203519.317.9–20.526.725.5–28.133
203619.518.2–20.726.925.6–28.533.2
203719.718.5–20.727.125.7–28.833.4
20382018.8–20.727.425.9–29.233.6
203920.219.1–20.827.626–29.533.8
204020.519.5–2127.926.2–29.934
204120.719.8–21.128.226.4–30.334.2
20422120.2–21.228.526.5–30.734.4
204321.220.6–21.328.826.7–31.134.6
204421.521–21.529.126.9–31.534.8
204521.721.4–21.629.427–31.935
20462221.7–21.829.827.1–32.335.2
204722.221.8–22.230.127.2–32.835.4
204822.522–22.530.427.2–33.235.6
204922.822.1–22.930.727.2–33.635.9
20502322.2–23.23127.3–34.136.1
205123.322.5–23.631.227.3–34.536.3
205223.622.7–23.931.527.3–34.936.5
205323.822.9–24.231.727.5–35.436.7
205424.123.2–24.531.927.6–35.836.9
205524.323.4–24.732.127.7–36.237.1
205624.623.6–24.932.327.9–36.637.3
205724.923.8–25.232.528–36.937.5
205825.123.9–25.532.728.1–37.337.6
205925.424–25.832.928.3–37.637.8
206025.624.2–25.933.228.4–3837.9
206125.924.4–25.933.428.5–38.338
206226.124.7–25.933.628.7–38.638.1
206326.424.8–2633.828.8–38.938.3
206426.625–26.23429–39.238.4
206526.925.1–26.334.229.1–39.538.5
206627.125.3–26.734.429.3–39.738.6
206727.425.4–27.234.629.4–4038.7
206827.625.6–27.534.829.6–40.238.8
206927.925.7–27.83529.8–40.438.9
207028.125.9–27.935.229.9–40.639
207128.326–27.935.530.1–40.839.1
207228.626.3–28.135.730.2–4139.2
207328.826.5–28.535.930.4–41.239.3
20742926.7–28.736.230.6–41.439.4
207529.326.9–28.936.430.7–41.639.5
207629.527.1–29.336.730.9–41.839.6
207729.827.2–29.736.931.1–41.939.7
20783027.3–3037.231.2–42.139.8
207930.227.3–30.337.431.3–42.340
208030.527.4–30.537.731.5–42.540.1
208130.727.5–30.837.931.6–42.740.2
208230.927.7–3138.231.7–42.940.3
208331.227.8–31.238.431.8–43.140.4
208431.427.9–31.638.632–43.440.5
208531.628.1–31.938.932.1–43.540.6
208631.828.2–32.339.132.1–43.740.7
208732.128.3–32.339.332.2–43.940.9
208832.328.4–32.439.532.3–44.141
208932.528.6–32.839.732.4–44.341.1
209032.728.8–33.239.932.5–44.441.2
209132.928.9–33.540.132.6–44.641.3
209233.229.1–33.840.332.7–44.841.4
209333.429.3–34.140.432.8–44.941.5
209433.629.5–34.240.633–4541.6
209533.829.7–34.240.833.1–45.241.7
20963429.9–34.340.933.3–45.341.8
209734.230–34.441.133.4–45.541.9
209834.430.2–34.641.333.6–45.642
209934.630.4–34.641.433.8–45.842
210034.830.5–34.641.634–45.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

Afghanistan vs Egypt

Health

People

Economy

Education

Politics

Conflict

Military

Climate

Technology and environment