South Africa vs Uganda
South Africa vs Uganda: Median age
Median age in 2023: 28.2 years in South Africa and 16.5 years in Uganda, by UN estimates. In 2023 the value was higher in South Africa, by 11.7 years, or 1.71 times that in Uganda.
years · UN
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 Uganda ranked 220 of 229 countries, counting from the highest.
- The UN projection (medium variant) puts South Africa at 38.3 years and Uganda at 40.2 years in 2100.
- The world as a whole: 30.4 years in 2023.
Every year
years · UN
| Year | South Africa | Uganda | World |
|---|---|---|---|
| 2023 | 28.2 | 16.5 | 30.4 |
| 2022 | 27.9 | 16.3 | 30.1 |
| 2021 | 27.6 | 16.1 | 29.8 |
| 2020 | 27.3 | 15.9 | 29.6 |
| 2019 | 26.9 | 15.7 | 29.3 |
| 2018 | 26.5 | 15.5 | 29 |
| 2017 | 26.1 | 15.2 | 28.8 |
| 2016 | 25.7 | 15 | 28.5 |
| 2015 | 25.4 | 14.8 | 28.3 |
| 2014 | 25 | 14.6 | 28.1 |
| 2013 | 24.7 | 14.5 | 27.8 |
| 2012 | 24.3 | 14.4 | 27.6 |
| 2011 | 24 | 14.3 | 27.4 |
| 2010 | 23.6 | 14.2 | 27.2 |
| 2009 | 23.3 | 14.1 | 27 |
| 2008 | 23 | 14.1 | 26.7 |
| 2007 | 22.7 | 14 | 26.5 |
| 2006 | 22.4 | 14 | 26.3 |
| 2005 | 22.1 | 14 | 26.1 |
| 2004 | 21.9 | 14 | 25.9 |
| 2003 | 21.6 | 14 | 25.7 |
| 2002 | 21.3 | 14 | 25.5 |
| 2001 | 21.1 | 14 | 25.3 |
| 2000 | 20.8 | 14 | 25.1 |
| 1999 | 20.6 | 14 | 24.9 |
| 1998 | 20.3 | 14 | 24.7 |
| 1997 | 20.1 | 14.1 | 24.4 |
| 1996 | 20.2 | 14.2 | 24.2 |
| 1995 | 20.5 | 14.4 | 24 |
| 1994 | 20.9 | 14.6 | 23.8 |
| 1993 | 20.9 | 14.7 | 23.5 |
| 1992 | 20.5 | 14.7 | 23.3 |
| 1991 | 20.5 | 14.7 | 23.1 |
| 1990 | 20.3 | 14.8 | 22.9 |
| 1989 | 20 | 14.8 | 22.8 |
| 1988 | 19.8 | 14.8 | 22.6 |
| 1987 | 19.7 | 14.8 | 22.4 |
| 1986 | 19.5 | 14.8 | 22.2 |
| 1985 | 19.4 | 14.8 | 22 |
| 1984 | 19.2 | 14.8 | 21.9 |
| 1983 | 19 | 14.8 | 21.8 |
| 1982 | 18.8 | 14.8 | 21.7 |
| 1981 | 18.6 | 14.9 | 21.6 |
| 1980 | 18.4 | 14.9 | 21.5 |
| 1979 | 18.2 | 15 | 21.3 |
| 1978 | 18.1 | 15.1 | 21.1 |
| 1977 | 18 | 15.1 | 21 |
| 1976 | 17.9 | 15.1 | 20.8 |
| 1975 | 17.9 | 15.1 | 20.7 |
| 1974 | 17.8 | 15.2 | 20.5 |
| 1973 | 17.8 | 15.3 | 20.4 |
| 1972 | 17.7 | 15.4 | 20.4 |
| 1971 | 17.7 | 15.5 | 20.3 |
| 1970 | 17.7 | 15.5 | 20.3 |
| 1969 | 17.7 | 15.5 | 20.3 |
| 1968 | 17.8 | 15.5 | 20.4 |
| 1967 | 17.8 | 15.5 | 20.5 |
| 1966 | 17.8 | 15.5 | 20.6 |
| 1965 | 17.8 | 15.4 | 20.8 |
| 1964 | 17.8 | 15.4 | 21 |
| 1963 | 17.8 | 15.5 | 21.2 |
| 1962 | 17.8 | 15.6 | 21.4 |
| 1961 | 17.9 | 15.8 | 21.4 |
| 1960 | 17.9 | 16 | 21.5 |
| 1959 | 18 | 16.3 | 21.5 |
| 1958 | 18.1 | 16.5 | 21.5 |
| 1957 | 18.3 | 16.8 | 21.6 |
| 1956 | 18.4 | 17.1 | 21.7 |
| 1955 | 18.6 | 17.3 | 21.8 |
| 1954 | 18.7 | 17.5 | 21.9 |
| 1953 | 18.9 | 17.7 | 22 |
| 1952 | 19 | 17.9 | 22.1 |
| 1951 | 19.1 | 18 | 22.1 |
| 1950 | 19.2 | 18.2 | 22.2 |
UN projection (medium variant) · 2024–2100
| Year | South Africa | Uganda | World |
|---|---|---|---|
| 2024 | 28.528.3–28.6 | 16.716.7–16.8 | 30.6 |
| 2025 | 28.728.3–29 | 16.916.8–17.1 | 30.9 |
| 2026 | 28.928.3–29.4 | 17.116.9–17.4 | 31.1 |
| 2027 | 29.128.2–29.8 | 17.317–17.7 | 31.3 |
| 2028 | 29.328.2–30.1 | 17.517.1–18.1 | 31.6 |
| 2029 | 29.528.1–30.5 | 17.817.2–18.5 | 31.8 |
| 2030 | 29.628.1–30.8 | 1817.3–18.9 | 32 |
| 2031 | 29.728–31.2 | 18.317.4–19.3 | 32.2 |
| 2032 | 29.927.9–31.5 | 18.517.5–19.8 | 32.4 |
| 2033 | 3027.9–31.8 | 18.817.6–20.2 | 32.6 |
| 2034 | 30.128–32.1 | 1917.7–20.7 | 32.8 |
| 2035 | 30.228.1–32.3 | 19.317.8–21.2 | 33 |
| 2036 | 30.328.1–32.5 | 19.617.9–21.7 | 33.2 |
| 2037 | 30.528.3–32.8 | 19.818–22.2 | 33.4 |
| 2038 | 30.628.4–33 | 20.118.1–22.7 | 33.6 |
| 2039 | 30.828.4–33.2 | 20.418.2–23.2 | 33.8 |
| 2040 | 3128.5–33.5 | 20.718.3–23.7 | 34 |
| 2041 | 31.228.6–33.8 | 2118.4–24.3 | 34.2 |
| 2042 | 31.328.6–34.1 | 21.318.5–24.8 | 34.4 |
| 2043 | 31.528.7–34.4 | 21.718.6–25.4 | 34.6 |
| 2044 | 31.628.7–34.6 | 2218.8–25.9 | 34.8 |
| 2045 | 31.828.7–34.9 | 22.319–26.5 | 35 |
| 2046 | 31.928.7–35.1 | 22.719.2–27 | 35.2 |
| 2047 | 3228.8–35.3 | 2319.4–27.5 | 35.4 |
| 2048 | 32.128.8–35.5 | 23.419.6–28 | 35.6 |
| 2049 | 32.228.9–35.7 | 23.719.8–28.5 | 35.9 |
| 2050 | 32.329–35.9 | 2420–29 | 36.1 |
| 2051 | 32.429.1–36.1 | 24.420.2–29.5 | 36.3 |
| 2052 | 32.629.2–36.3 | 24.720.4–30 | 36.5 |
| 2053 | 32.729.3–36.5 | 25.120.6–30.5 | 36.7 |
| 2054 | 32.929.4–36.6 | 25.420.8–31 | 36.9 |
| 2055 | 33.129.6–36.9 | 25.820.9–31.6 | 37.1 |
| 2056 | 33.329.7–37.1 | 26.121.1–32.1 | 37.3 |
| 2057 | 33.529.8–37.3 | 26.421.2–32.6 | 37.5 |
| 2058 | 33.630–37.6 | 26.821.4–33.1 | 37.6 |
| 2059 | 33.830.1–37.9 | 27.121.6–33.6 | 37.8 |
| 2060 | 3430.2–38.2 | 27.521.7–34 | 37.9 |
| 2061 | 34.130.3–38.5 | 27.821.9–34.5 | 38 |
| 2062 | 34.230.5–38.7 | 28.222–35 | 38.1 |
| 2063 | 34.430.6–39 | 28.522.2–35.4 | 38.3 |
| 2064 | 34.530.7–39.2 | 28.822.3–35.8 | 38.4 |
| 2065 | 34.630.8–39.4 | 29.222.4–36.2 | 38.5 |
| 2066 | 34.830.9–39.6 | 29.522.6–36.6 | 38.6 |
| 2067 | 34.931–39.7 | 29.822.8–37 | 38.7 |
| 2068 | 3531.1–39.8 | 30.223–37.4 | 38.8 |
| 2069 | 35.131.2–39.9 | 30.523.2–37.8 | 38.9 |
| 2070 | 35.231.3–40 | 30.923.4–38.2 | 39 |
| 2071 | 35.331.4–40.1 | 31.223.6–38.6 | 39.1 |
| 2072 | 35.431.5–40.2 | 31.523.8–38.9 | 39.2 |
| 2073 | 35.531.5–40.3 | 31.923.9–39.2 | 39.3 |
| 2074 | 35.631.6–40.4 | 32.224.1–39.6 | 39.4 |
| 2075 | 35.731.7–40.5 | 32.524.3–39.9 | 39.5 |
| 2076 | 35.831.8–40.7 | 32.824.5–40.2 | 39.6 |
| 2077 | 35.931.9–40.7 | 33.224.7–40.5 | 39.7 |
| 2078 | 3632–40.8 | 33.524.9–40.8 | 39.8 |
| 2079 | 36.132.1–40.9 | 33.825.2–41.1 | 40 |
| 2080 | 36.232.2–41 | 34.125.4–41.4 | 40.1 |
| 2081 | 36.332.4–41.1 | 34.525.6–41.7 | 40.2 |
| 2082 | 36.432.5–41.2 | 34.825.8–42 | 40.3 |
| 2083 | 36.532.6–41.2 | 35.126–42.2 | 40.4 |
| 2084 | 36.632.6–41.3 | 35.426.2–42.4 | 40.5 |
| 2085 | 36.732.7–41.4 | 35.726.5–42.7 | 40.6 |
| 2086 | 36.832.9–41.6 | 36.126.7–42.9 | 40.7 |
| 2087 | 36.933–41.7 | 36.426.8–43.1 | 40.9 |
| 2088 | 37.133.1–41.9 | 36.727–43.3 | 41 |
| 2089 | 37.233.2–42 | 3727.2–43.6 | 41.1 |
| 2090 | 37.333.3–42.2 | 37.327.4–43.8 | 41.2 |
| 2091 | 37.433.4–42.3 | 37.627.6–44 | 41.3 |
| 2092 | 37.533.5–42.4 | 37.927.8–44.2 | 41.4 |
| 2093 | 37.633.5–42.6 | 38.228–44.4 | 41.5 |
| 2094 | 37.733.6–42.7 | 38.528.2–44.6 | 41.6 |
| 2095 | 37.833.7–42.8 | 38.828.4–44.8 | 41.7 |
| 2096 | 37.933.8–43 | 39.128.6–45 | 41.8 |
| 2097 | 3833.9–43.1 | 39.428.9–45.2 | 41.9 |
| 2098 | 38.134–43.2 | 39.729.1–45.3 | 42 |
| 2099 | 38.234.1–43.3 | 4029.2–45.5 | 42 |
| 2100 | 38.334.1–43.4 | 40.229.4–45.6 | 42.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 Uganda
Health
- Life expectancySouth Africa: 66.1 years in 2023Uganda: 68.3 years in 2023
- Child mortalitySouth Africa: 3.5 per 100 live births in 2024Uganda: 4.9 per 100 live births in 2024
- Infant mortalitySouth Africa: 27.9 per 1,000 live births in 2023Uganda: 28.8 per 1,000 live births in 2023
- DepressionSouth Africa: 3.75% in 2017Uganda: 4.92% in 2017
- Suicide rateSouth Africa: 11.2 per 100,000 people in 2017Uganda: 11.5 per 100,000 people in 2017
People
- PopulationSouth Africa: 63.2 million people in 2023Uganda: 48.7 million people in 2023
- Population growthSouth Africa: 1.32% a year in 2023Uganda: 2.78% a year in 2023
- Fertility rateSouth Africa: 2.22 births per woman in 2023Uganda: 4.28 births per woman in 2023
- Urban populationSouth Africa: 63.8% in 2025Uganda: 31.9% in 2025
- People aged 65 and overSouth Africa: 6.5% in 2023Uganda: 2.2% in 2023
- Net migration rateSouth Africa: 3.6 per 1,000 people in 2023Uganda: -2.6 per 1,000 people in 2023
Economy
Education
Politics
Conflict
Military
- Military spendingSouth Africa: 0.74% of GDP in 2025Uganda: 1.96% of GDP in 2025
- Military spending in US dollarsSouth Africa: $3B in 2025Uganda: $1.2B in 2025
- Military spending per personSouth Africa: $49 in 2025Uganda: $26 in 2025
- Military share of state spendingSouth Africa: 2.2% of government spending in 2025Uganda: 9% of government spending in 2025
- Armed forces personnelSouth Africa: 89,000 people in 2020Uganda: 46,000 people in 2020
- National powerSouth Africa: 0.55% of world capability in 2022Uganda: 0.2% of world capability in 2022
- Armed forces, share of workersSouth Africa: 0.4% of the labour force in 2020Uganda: 0.24% of the labour force in 2020
- Arms importsSouth Africa: 30 million TIV in 2025Uganda: 2 million TIV in 2025
- Arms exportsSouth Africa: 115 million TIV in 2025Uganda: 4 million TIV in 2016