Somalia vs Uganda
Somalia vs Uganda: Median age
Median age in 2023: 15.5 years in Somalia and 16.5 years in Uganda, by UN estimates. In 2023 the value was higher in Uganda, by 1.1 years, or 1.07 times that in Somalia.
years · UN
What the numbers say
- Uganda has been higher since 2017, when it overtook Somalia.
- In 2023, Somalia ranked 226 and Uganda ranked 220 of 229 countries, counting from the highest.
- The UN projection (medium variant) puts Somalia at 32.5 years and Uganda at 40.2 years in 2100.
- The world as a whole: 30.4 years in 2023.
Every year
years · UN
| Year | Somalia | Uganda | World |
|---|---|---|---|
| 2023 | 15.5 | 16.5 | 30.4 |
| 2022 | 15.4 | 16.3 | 30.1 |
| 2021 | 15.3 | 16.1 | 29.8 |
| 2020 | 15.3 | 15.9 | 29.6 |
| 2019 | 15.2 | 15.7 | 29.3 |
| 2018 | 15.2 | 15.5 | 29 |
| 2017 | 15.1 | 15.2 | 28.8 |
| 2016 | 15 | 15 | 28.5 |
| 2015 | 15 | 14.8 | 28.3 |
| 2014 | 15 | 14.6 | 28.1 |
| 2013 | 14.9 | 14.5 | 27.8 |
| 2012 | 14.9 | 14.4 | 27.6 |
| 2011 | 14.7 | 14.3 | 27.4 |
| 2010 | 14.6 | 14.2 | 27.2 |
| 2009 | 14.5 | 14.1 | 27 |
| 2008 | 14.5 | 14.1 | 26.7 |
| 2007 | 14.6 | 14 | 26.5 |
| 2006 | 14.8 | 14 | 26.3 |
| 2005 | 14.9 | 14 | 26.1 |
| 2004 | 15 | 14 | 25.9 |
| 2003 | 15 | 14 | 25.7 |
| 2002 | 15.1 | 14 | 25.5 |
| 2001 | 15.1 | 14 | 25.3 |
| 2000 | 15.2 | 14 | 25.1 |
| 1999 | 15.2 | 14 | 24.9 |
| 1998 | 15.3 | 14 | 24.7 |
| 1997 | 15.3 | 14.1 | 24.4 |
| 1996 | 15.4 | 14.2 | 24.2 |
| 1995 | 15.5 | 14.4 | 24 |
| 1994 | 15.5 | 14.6 | 23.8 |
| 1993 | 15.6 | 14.7 | 23.5 |
| 1992 | 15.6 | 14.7 | 23.3 |
| 1991 | 15.4 | 14.7 | 23.1 |
| 1990 | 15.4 | 14.8 | 22.9 |
| 1989 | 15.6 | 14.8 | 22.8 |
| 1988 | 15.8 | 14.8 | 22.6 |
| 1987 | 15.9 | 14.8 | 22.4 |
| 1986 | 16 | 14.8 | 22.2 |
| 1985 | 16.1 | 14.8 | 22 |
| 1984 | 16.2 | 14.8 | 21.9 |
| 1983 | 16.3 | 14.8 | 21.8 |
| 1982 | 16.4 | 14.8 | 21.7 |
| 1981 | 16.4 | 14.9 | 21.6 |
| 1980 | 16.5 | 14.9 | 21.5 |
| 1979 | 16.5 | 15 | 21.3 |
| 1978 | 16.6 | 15.1 | 21.1 |
| 1977 | 16.6 | 15.1 | 21 |
| 1976 | 16.6 | 15.1 | 20.8 |
| 1975 | 16.6 | 15.1 | 20.7 |
| 1974 | 16.6 | 15.2 | 20.5 |
| 1973 | 16.5 | 15.3 | 20.4 |
| 1972 | 16.5 | 15.4 | 20.4 |
| 1971 | 16.5 | 15.5 | 20.3 |
| 1970 | 16.5 | 15.5 | 20.3 |
| 1969 | 16.4 | 15.5 | 20.3 |
| 1968 | 16.4 | 15.5 | 20.4 |
| 1967 | 16.3 | 15.5 | 20.5 |
| 1966 | 16.3 | 15.5 | 20.6 |
| 1965 | 16.4 | 15.4 | 20.8 |
| 1964 | 16.4 | 15.4 | 21 |
| 1963 | 16.5 | 15.5 | 21.2 |
| 1962 | 16.7 | 15.6 | 21.4 |
| 1961 | 16.8 | 15.8 | 21.4 |
| 1960 | 17 | 16 | 21.5 |
| 1959 | 17.2 | 16.3 | 21.5 |
| 1958 | 17.3 | 16.5 | 21.5 |
| 1957 | 17.4 | 16.8 | 21.6 |
| 1956 | 17.5 | 17.1 | 21.7 |
| 1955 | 17.7 | 17.3 | 21.8 |
| 1954 | 17.8 | 17.5 | 21.9 |
| 1953 | 17.9 | 17.7 | 22 |
| 1952 | 18.1 | 17.9 | 22.1 |
| 1951 | 18.3 | 18 | 22.1 |
| 1950 | 18.5 | 18.2 | 22.2 |
UN projection (medium variant) · 2024–2100
| Year | Somalia | Uganda | World |
|---|---|---|---|
| 2024 | 15.515.3–15.8 | 16.716.7–16.8 | 30.6 |
| 2025 | 15.614.9–16.3 | 16.916.8–17.1 | 30.9 |
| 2026 | 15.614.6–16.7 | 17.116.9–17.4 | 31.1 |
| 2027 | 15.714.5–17 | 17.317–17.7 | 31.3 |
| 2028 | 15.714.5–17.2 | 17.517.1–18.1 | 31.6 |
| 2029 | 15.814.7–17.4 | 17.817.2–18.5 | 31.8 |
| 2030 | 15.914.9–17.5 | 1817.3–18.9 | 32 |
| 2031 | 16.115.1–17.7 | 18.317.4–19.3 | 32.2 |
| 2032 | 16.315.4–18 | 18.517.5–19.8 | 32.4 |
| 2033 | 16.415.7–18.1 | 18.817.6–20.2 | 32.6 |
| 2034 | 16.615.9–18.2 | 1917.7–20.7 | 32.8 |
| 2035 | 16.816.2–18.3 | 19.317.8–21.2 | 33 |
| 2036 | 1716.6–18.3 | 19.617.9–21.7 | 33.2 |
| 2037 | 17.216.9–18.3 | 19.818–22.2 | 33.4 |
| 2038 | 17.417.2–18.3 | 20.118.1–22.7 | 33.6 |
| 2039 | 17.617.5–18.4 | 20.418.2–23.2 | 33.8 |
| 2040 | 17.817.9–18.5 | 20.718.3–23.7 | 34 |
| 2041 | 18.118.3–18.5 | 2118.4–24.3 | 34.2 |
| 2042 | 18.318.5–18.7 | 21.318.5–24.8 | 34.4 |
| 2043 | 18.518.6–19.1 | 21.718.6–25.4 | 34.6 |
| 2044 | 18.718.7–19.4 | 2218.8–25.9 | 34.8 |
| 2045 | 1918.7–19.8 | 22.319–26.5 | 35 |
| 2046 | 19.218.8–20.2 | 22.719.2–27 | 35.2 |
| 2047 | 19.519–20.5 | 2319.4–27.5 | 35.4 |
| 2048 | 19.719.1–20.8 | 23.419.6–28 | 35.6 |
| 2049 | 2019.3–21.2 | 23.719.8–28.5 | 35.9 |
| 2050 | 20.219.4–21.5 | 2420–29 | 36.1 |
| 2051 | 20.419.5–21.8 | 24.420.2–29.5 | 36.3 |
| 2052 | 20.719.6–22.1 | 24.720.4–30 | 36.5 |
| 2053 | 20.919.7–22.5 | 25.120.6–30.5 | 36.7 |
| 2054 | 21.219.8–22.8 | 25.420.8–31 | 36.9 |
| 2055 | 21.419.9–23.1 | 25.820.9–31.6 | 37.1 |
| 2056 | 21.720–23.5 | 26.121.1–32.1 | 37.3 |
| 2057 | 21.920.1–23.8 | 26.421.2–32.6 | 37.5 |
| 2058 | 22.220.2–24.2 | 26.821.4–33.1 | 37.6 |
| 2059 | 22.420.2–24.5 | 27.121.6–33.6 | 37.8 |
| 2060 | 22.720.4–24.9 | 27.521.7–34 | 37.9 |
| 2061 | 2320.4–25.3 | 27.821.9–34.5 | 38 |
| 2062 | 23.220.5–25.8 | 28.222–35 | 38.1 |
| 2063 | 23.520.6–26.2 | 28.522.2–35.4 | 38.3 |
| 2064 | 23.720.7–26.7 | 28.822.3–35.8 | 38.4 |
| 2065 | 2420.8–27.1 | 29.222.4–36.2 | 38.5 |
| 2066 | 24.320.9–27.5 | 29.522.6–36.6 | 38.6 |
| 2067 | 24.521–27.9 | 29.822.8–37 | 38.7 |
| 2068 | 24.821.1–28.4 | 30.223–37.4 | 38.8 |
| 2069 | 25.121.2–28.8 | 30.523.2–37.8 | 38.9 |
| 2070 | 25.321.3–29.2 | 30.923.4–38.2 | 39 |
| 2071 | 25.621.3–29.7 | 31.223.6–38.6 | 39.1 |
| 2072 | 25.821.4–30.1 | 31.523.8–38.9 | 39.2 |
| 2073 | 26.121.5–30.5 | 31.923.9–39.2 | 39.3 |
| 2074 | 26.321.5–30.9 | 32.224.1–39.6 | 39.4 |
| 2075 | 26.621.6–31.3 | 32.524.3–39.9 | 39.5 |
| 2076 | 26.921.7–31.6 | 32.824.5–40.2 | 39.6 |
| 2077 | 27.121.7–32 | 33.224.7–40.5 | 39.7 |
| 2078 | 27.421.7–32.3 | 33.524.9–40.8 | 39.8 |
| 2079 | 27.621.8–32.7 | 33.825.2–41.1 | 40 |
| 2080 | 27.921.9–33.1 | 34.125.4–41.4 | 40.1 |
| 2081 | 28.122–33.5 | 34.525.6–41.7 | 40.2 |
| 2082 | 28.422.1–33.9 | 34.825.8–42 | 40.3 |
| 2083 | 28.622.1–34.3 | 35.126–42.2 | 40.4 |
| 2084 | 28.922.2–34.6 | 35.426.2–42.4 | 40.5 |
| 2085 | 29.122.3–34.9 | 35.726.5–42.7 | 40.6 |
| 2086 | 29.422.4–35.3 | 36.126.7–42.9 | 40.7 |
| 2087 | 29.622.5–35.6 | 36.426.8–43.1 | 40.9 |
| 2088 | 29.922.6–35.9 | 36.727–43.3 | 41 |
| 2089 | 30.122.7–36.3 | 3727.2–43.6 | 41.1 |
| 2090 | 30.322.9–36.6 | 37.327.4–43.8 | 41.2 |
| 2091 | 30.623–36.8 | 37.627.6–44 | 41.3 |
| 2092 | 30.823.1–37 | 37.927.8–44.2 | 41.4 |
| 2093 | 3123.2–37.3 | 38.228–44.4 | 41.5 |
| 2094 | 31.223.3–37.5 | 38.528.2–44.6 | 41.6 |
| 2095 | 31.523.4–37.8 | 38.828.4–44.8 | 41.7 |
| 2096 | 31.723.5–37.9 | 39.128.6–45 | 41.8 |
| 2097 | 31.923.7–38.2 | 39.428.9–45.2 | 41.9 |
| 2098 | 32.123.7–38.4 | 39.729.1–45.3 | 42 |
| 2099 | 32.323.8–38.6 | 4029.2–45.5 | 42 |
| 2100 | 32.523.9–38.8 | 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
Somalia vs Uganda
Health
- Life expectancySomalia: 58.8 years in 2023Uganda: 68.3 years in 2023
- Child mortalitySomalia: 10.1 per 100 live births in 2024Uganda: 4.9 per 100 live births in 2024
- Infant mortalitySomalia: 66.3 per 1,000 live births in 2023Uganda: 28.8 per 1,000 live births in 2023
- DepressionSomalia: 3.79% in 2017Uganda: 4.92% in 2017
- Suicide rateSomalia: 9.9 per 100,000 people in 2017Uganda: 11.5 per 100,000 people in 2017
People
- PopulationSomalia: 18.4 million people in 2023Uganda: 48.7 million people in 2023
- Population growthSomalia: 3.57% a year in 2023Uganda: 2.78% a year in 2023
- Fertility rateSomalia: 6.13 births per woman in 2023Uganda: 4.28 births per woman in 2023
- Urban populationSomalia: 55.1% in 2025Uganda: 31.9% in 2025
- People aged 65 and overSomalia: 2.6% in 2023Uganda: 2.2% in 2023
- Net migration rateSomalia: 2.5 per 1,000 people in 2023Uganda: -2.6 per 1,000 people in 2023
Economy
Education
Politics
Conflict
Military
- Military spendingSomalia: 1.54% of GDP in 2025Uganda: 1.96% of GDP in 2025
- Military spending in US dollarsSomalia: $193M in 2025Uganda: $1.2B in 2025
- Military spending per personSomalia: $10 in 2025Uganda: $26 in 2025
- Military share of state spendingSomalia: 20.8% of government spending in 2025Uganda: 9% of government spending in 2025
- Armed forces personnelSomalia: 14,000 people in 2020Uganda: 46,000 people in 2020
- National powerSomalia: 0.13% of world capability in 2022Uganda: 0.2% of world capability in 2022
- Armed forces, share of workersSomalia: 0.47% of the labour force in 2020Uganda: 0.24% of the labour force in 2020
- Arms importsSomalia: 2 million TIV in 2025Uganda: 2 million TIV in 2025