South Africa vs Tanzania

South Africa vs Tanzania: Median age

Median age in 2023: 28.2 years in South Africa and 17.2 years in Tanzania, by UN estimates. In 2023 the value was higher in South Africa, by 11 years, or 1.64 times that in Tanzania.

years · UN

South Africa vs Tanzania: Median ageMedian age in 2023: 28.2 years in South Africa and 17.2 years in Tanzania, by UN estimates. In 2023 the value was higher in South Africa, by 11 years, or 1.64 times that in Tanzania.
South AfricaTanzaniaUN projection (medium variant)95% prediction intervalWorld

What the numbers say

  • South Africa has been higher in every year both have figures for since 1950.
  • In 2023, South Africa ranked 139 and Tanzania ranked 217 of 229 countries, counting from the highest.
  • The UN projection (medium variant) puts South Africa at 38.3 years and Tanzania at 32.3 years in 2100.
  • The world as a whole: 30.4 years in 2023.

Every year

years · UN

YearSouth AfricaTanzaniaWorld
202328.217.230.4
202227.917.130.1
202127.61729.8
202027.316.929.6
201926.916.829.3
201826.516.829
201726.116.728.8
201625.716.628.5
201525.416.428.3
20142516.328.1
201324.716.227.8
201224.316.227.6
20112416.127.4
201023.616.127.2
200923.316.127
20082316.226.7
200722.716.226.5
200622.416.326.3
200522.116.326.1
200421.916.325.9
200321.616.425.7
200221.316.425.5
200121.116.425.3
200020.816.425.1
199920.616.324.9
199820.316.324.7
199720.116.224.4
199620.216.324.2
199520.516.324
199420.916.223.8
199320.915.923.5
199220.515.723.3
199120.515.623.1
199020.315.522.9
19892015.522.8
198819.815.422.6
198719.715.322.4
198619.515.222.2
198519.415.222
198419.215.121.9
19831915.121.8
198218.815.221.7
198118.615.321.6
198018.415.421.5
197918.215.521.3
197818.115.621.1
19771815.721
197617.915.820.8
197517.915.820.7
197417.815.820.5
197317.815.920.4
197217.715.920.4
197117.715.920.3
197017.71620.3
196917.71620.3
196817.816.120.4
196717.816.120.5
196617.816.220.6
196517.816.320.8
196417.816.321
196317.816.321.2
196217.816.321.4
196117.916.321.4
196017.916.321.5
19591816.321.5
195818.116.321.5
195718.316.321.6
195618.416.321.7
195518.616.321.8
195418.716.221.9
195318.916.222
19521916.122.1
195119.116.122.1
195019.21622.2
UN projection (medium variant) · 2024–2100
YearSouth AfricaTanzaniaWorld
202428.528.3–28.617.417.4–17.430.6
202528.728.3–2917.517.5–17.530.9
202628.928.3–29.417.617.6–17.731.1
202729.128.2–29.817.717.7–17.931.3
202829.328.2–30.117.917.7–18.131.6
202929.528.1–30.51817.8–18.331.8
203029.628.1–30.818.117.8–18.532
203129.728–31.218.317.8–18.832.2
203229.927.9–31.518.417.9–19.132.4
20333027.9–31.818.517.9–19.432.6
203430.128–32.118.718–19.732.8
203530.228.1–32.318.918–20.133
203630.328.1–32.51918.1–20.433.2
203730.528.3–32.819.218.2–20.833.4
203830.628.4–3319.418.3–21.133.6
203930.828.4–33.219.618.3–21.533.8
20403128.5–33.519.818.3–21.934
204131.228.6–33.82018.4–22.334.2
204231.328.6–34.120.218.4–22.734.4
204331.528.7–34.420.418.5–23.134.6
204431.628.7–34.620.618.6–23.534.8
204531.828.7–34.920.818.7–23.935
204631.928.7–35.12118.8–24.435.2
20473228.8–35.321.218.9–24.835.4
204832.128.8–35.521.419–25.235.6
204932.228.9–35.721.619.2–25.635.9
205032.329–35.921.819.3–26.136.1
205132.429.1–36.12219.4–26.536.3
205232.629.2–36.322.219.5–26.936.5
205332.729.3–36.522.419.7–27.336.7
205432.929.4–36.622.619.8–27.736.9
205533.129.6–36.922.819.9–28.137.1
205633.329.7–37.12320–28.437.3
205733.529.8–37.323.220.1–28.837.5
205833.630–37.623.420.2–29.237.6
205933.830.1–37.923.620.3–29.537.8
20603430.2–38.223.820.4–29.937.9
206134.130.3–38.52420.5–30.238
206234.230.5–38.724.220.6–30.538.1
206334.430.6–3924.420.7–30.938.3
206434.530.7–39.224.620.8–31.238.4
206534.630.8–39.424.820.8–31.638.5
206634.830.9–39.625.120.9–31.938.6
206734.931–39.725.321–32.338.7
20683531.1–39.825.521.1–32.738.8
206935.131.2–39.925.721.1–3338.9
207035.231.3–4025.921.2–33.339
207135.331.4–40.126.121.3–33.739.1
207235.431.5–40.226.321.4–3439.2
207335.531.5–40.326.521.5–34.339.3
207435.631.6–40.426.721.6–34.739.4
207535.731.7–40.52721.7–3539.5
207635.831.8–40.727.221.8–35.339.6
207735.931.9–40.727.421.9–35.639.7
20783632–40.827.622–35.939.8
207936.132.1–40.927.822.1–36.240
208036.232.2–412822.2–36.440.1
208136.332.4–41.128.322.3–36.740.2
208236.432.5–41.228.522.3–3740.3
208336.532.6–41.228.722.4–37.240.4
208436.632.6–41.328.922.5–37.540.5
208536.732.7–41.429.122.6–37.840.6
208636.832.9–41.629.322.7–3840.7
208736.933–41.729.522.8–38.240.9
208837.133.1–41.929.722.9–38.541
208937.233.2–4229.923–38.741.1
209037.333.3–42.230.223.1–38.941.2
209137.433.4–42.330.423.2–39.141.3
209237.533.5–42.430.623.3–39.241.4
209337.633.5–42.630.823.5–39.441.5
209437.733.6–42.73123.6–39.641.6
209537.833.7–42.831.223.6–39.841.7
209637.933.8–4331.423.7–39.941.8
20973833.9–43.131.623.8–4041.9
209838.134–43.231.923.9–40.242
209938.234.1–43.332.124–40.342
210038.334.1–43.432.324.1–40.442.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

South Africa vs Tanzania

Health

People

Economy

Education

Politics

Conflict

Military

Climate

Technology and environment