Afghanistan vs Iraq

Afghanistan vs Iraq: Median age

Median age in 2023: 16.9 years in Afghanistan and 20.4 years in Iraq, by UN estimates. In 2023 the value was higher in Iraq, by 3.4 years, or 1.2 times that in Afghanistan.

years · UN

Afghanistan vs Iraq: Median ageMedian age in 2023: 16.9 years in Afghanistan and 20.4 years in Iraq, by UN estimates. In 2023 the value was higher in Iraq, by 3.4 years, or 1.2 times that in Afghanistan.
AfghanistanIraqUN projection (medium variant)95% prediction intervalWorld

What the numbers say

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

Every year

years · UN

YearAfghanistanIraqWorld
202316.920.430.4
202216.820.130.1
202116.619.829.8
202016.419.629.6
201916.219.429.3
201816.119.129
201715.918.928.8
201615.718.728.5
201515.518.528.3
201415.318.428.1
201315.118.227.8
20121518.127.6
201114.81827.4
201014.617.927.2
200914.517.827
200814.317.726.7
200714.217.626.5
200614.117.526.3
20051417.426.1
200413.917.325.9
200313.917.225.7
200213.917.125.5
200113.91725.3
20001416.925.1
199914.116.824.9
199814.216.724.7
199714.316.624.4
199614.416.524.2
199514.616.424
199414.716.423.8
199314.816.323.5
199214.916.223.3
199114.916.123.1
1990151622.9
198915.115.922.8
198815.115.822.6
198715.215.822.4
198615.215.722.2
198515.315.622
198415.415.521.9
198315.515.521.8
198215.615.421.7
198115.715.421.6
198015.815.421.5
197915.915.321.3
19781615.221.1
197716.215.321
197616.315.620.8
197516.415.920.7
197416.516.420.5
197316.616.620.4
197216.716.820.4
197116.816.920.3
1970171720.3
196917.117.120.3
196817.317.420.4
196717.417.620.5
196617.517.920.6
196517.518.220.8
196417.618.521
196317.618.821.2
196217.719.121.4
196117.819.321.4
196017.919.421.5
19591819.521.5
19581819.421.5
195718.119.421.6
195618.119.421.7
195518.219.521.8
195418.219.621.9
195318.319.922
195218.320.122.1
195118.420.322.1
195018.420.522.2
UN projection (medium variant) · 2024–2100
YearAfghanistanIraqWorld
202417.116.9–17.320.620.6–20.630.6
202517.316.7–17.820.920.8–20.930.9
202617.416.5–18.221.121.1–21.131.1
202717.616.4–18.521.421.3–21.431.3
202817.816.5–18.821.621.5–21.731.6
20291816.6–19.121.921.7–22.131.8
203018.216.7–19.422.121.9–22.432
203118.417–19.722.422–22.832.2
203218.617.2–19.922.722.2–23.232.4
203318.817.4–20.122.922.4–23.732.6
203419.117.6–20.423.222.6–24.132.8
203519.317.9–20.523.522.8–24.533
203619.518.2–20.723.923–2533.2
203719.718.5–20.724.223.2–25.433.4
20382018.8–20.724.523.4–25.933.6
203920.219.1–20.824.923.6–26.533.8
204020.519.5–2125.223.8–2734
204120.719.8–21.125.523.9–27.534.2
20422120.2–21.225.824–2834.4
204321.220.6–21.326.124.1–28.534.6
204421.521–21.526.424.2–2934.8
204521.721.4–21.626.624.3–29.535
20462221.7–21.826.824.4–29.935.2
204722.221.8–22.227.124.5–30.435.4
204822.522–22.527.324.6–30.835.6
204922.822.1–22.927.624.7–31.235.9
20502322.2–23.227.824.8–31.636.1
205123.322.5–23.62825–3236.3
205223.622.7–23.928.325.2–32.436.5
205323.822.9–24.228.525.3–32.836.7
205424.123.2–24.528.825.5–33.136.9
205524.323.4–24.72925.6–33.537.1
205624.623.6–24.929.225.7–33.937.3
205724.923.8–25.229.525.9–34.337.5
205825.123.9–25.529.726.1–34.637.6
205925.424–25.83026.2–3537.8
206025.624.2–25.930.226.4–35.337.9
206125.924.4–25.930.526.5–35.638
206226.124.7–25.930.726.6–35.938.1
206326.424.8–263126.8–36.238.3
206426.625–26.231.226.9–36.538.4
206526.925.1–26.331.427.1–36.938.5
206627.125.3–26.731.727.2–37.138.6
206727.425.4–27.231.927.3–37.438.7
206827.625.6–27.532.227.5–37.838.8
206927.925.7–27.832.527.6–3838.9
207028.125.9–27.932.727.7–38.339
207128.326–27.93327.8–38.639.1
207228.626.3–28.133.227.9–38.839.2
207328.826.5–28.533.528–39.139.3
20742926.7–28.733.728.1–39.439.4
207529.326.9–28.93428.2–39.739.5
207629.527.1–29.334.228.4–4039.6
207729.827.2–29.734.528.5–40.339.7
20783027.3–3034.728.6–40.539.8
207930.227.3–30.334.928.7–40.840
208030.527.4–30.535.228.8–41.140.1
208130.727.5–30.835.429–41.340.2
208230.927.7–3135.629.1–41.540.3
208331.227.8–31.235.829.2–41.840.4
208431.427.9–31.63629.3–4240.5
208531.628.1–31.936.329.4–42.240.6
208631.828.2–32.336.529.5–42.340.7
208732.128.3–32.336.729.7–42.440.9
208832.328.4–32.436.929.8–42.641
208932.528.6–32.837.129.9–42.841.1
209032.728.8–33.237.330.1–42.941.2
209132.928.9–33.537.530.2–43.141.3
209233.229.1–33.837.630.3–43.241.4
209333.429.3–34.137.830.4–43.341.5
209433.629.5–34.23830.6–43.541.6
209533.829.7–34.238.230.7–43.641.7
20963429.9–34.338.430.8–43.741.8
209734.230–34.438.630.9–43.841.9
209834.430.2–34.638.731.1–43.842
209934.630.4–34.638.931.2–43.942
210034.830.5–34.639.131.4–4442.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 Iraq

Health

People

Economy

Education

Politics

Conflict

Military

Climate

Technology and environment