Madagascar vs Somalia: Median age
Median age in 2023: 18.9 years in Madagascar and 15.5 years in Somalia, by UN estimates. In 2023 the value was higher in Madagascar, by 3.4 years, or 1.22 times that in Somalia.
MadagascarSomalia
Watch it change on the mapChange since 1950, years · UN
Latest figures
years · UN
| Country | Latest | 10 years before | Rank in 2023 | Projected |
|---|---|---|---|---|
| Madagascar | 18.9 2023 | 17.1 | 198 of 229 | 34.2 2100 |
| Somalia | 15.5 2023 | 14.9 | 226 of 229 | 32.5 2100 |
| World | 30.4 2023 | 27.8 | 42.1 2100 |
What the numbers say
- Madagascar has been higher since 1989, when it overtook Somalia.
- In 2023, Madagascar ranked 198 and Somalia ranked 226 of 229 countries, counting from the highest.
- The UN projection (medium variant) puts Madagascar at 34.2 years and Somalia at 32.5 years in 2100.
- The world as a whole: 30.4 years in 2023.
Every year
years · UN
| Year | Madagascar | Somalia | World |
|---|---|---|---|
| 2023 | 18.9 | 15.5 | 30.4 |
| 2022 | 18.7 | 15.4 | 30.1 |
| 2021 | 18.6 | 15.3 | 29.8 |
| 2020 | 18.4 | 15.3 | 29.6 |
| 2019 | 18.2 | 15.2 | 29.3 |
| 2018 | 18.1 | 15.2 | 29 |
| 2017 | 17.9 | 15.1 | 28.8 |
| 2016 | 17.7 | 15 | 28.5 |
| 2015 | 17.5 | 15 | 28.3 |
| 2014 | 17.3 | 15 | 28.1 |
| 2013 | 17.1 | 14.9 | 27.8 |
| 2012 | 16.9 | 14.9 | 27.6 |
| 2011 | 16.8 | 14.7 | 27.4 |
| 2010 | 16.7 | 14.6 | 27.2 |
| 2009 | 16.6 | 14.5 | 27 |
| 2008 | 16.5 | 14.5 | 26.7 |
| 2007 | 16.4 | 14.6 | 26.5 |
| 2006 | 16.3 | 14.8 | 26.3 |
| 2005 | 16.2 | 14.9 | 26.1 |
| 2004 | 16.2 | 15 | 25.9 |
| 2003 | 16.2 | 15 | 25.7 |
| 2002 | 16.1 | 15.1 | 25.5 |
| 2001 | 16.1 | 15.1 | 25.3 |
| 2000 | 16.1 | 15.2 | 25.1 |
| 1999 | 16.1 | 15.2 | 24.9 |
| 1998 | 16.1 | 15.3 | 24.7 |
| 1997 | 16.1 | 15.3 | 24.4 |
| 1996 | 16.1 | 15.4 | 24.2 |
| 1995 | 16 | 15.5 | 24 |
| 1994 | 16 | 15.5 | 23.8 |
| 1993 | 15.9 | 15.6 | 23.5 |
| 1992 | 15.9 | 15.6 | 23.3 |
| 1991 | 15.8 | 15.4 | 23.1 |
| 1990 | 15.8 | 15.4 | 22.9 |
| 1989 | 15.7 | 15.6 | 22.8 |
| 1988 | 15.6 | 15.8 | 22.6 |
| 1987 | 15.5 | 15.9 | 22.4 |
| 1986 | 15.5 | 16 | 22.2 |
| 1985 | 15.4 | 16.1 | 22 |
| 1984 | 15.4 | 16.2 | 21.9 |
| 1983 | 15.3 | 16.3 | 21.8 |
| 1982 | 15.3 | 16.4 | 21.7 |
| 1981 | 15.3 | 16.4 | 21.6 |
| 1980 | 15.4 | 16.5 | 21.5 |
| 1979 | 15.4 | 16.5 | 21.3 |
| 1978 | 15.4 | 16.6 | 21.1 |
| 1977 | 15.5 | 16.6 | 21 |
| 1976 | 15.5 | 16.6 | 20.8 |
| 1975 | 15.5 | 16.6 | 20.7 |
| 1974 | 15.5 | 16.6 | 20.5 |
| 1973 | 15.6 | 16.5 | 20.4 |
| 1972 | 15.6 | 16.5 | 20.4 |
| 1971 | 15.6 | 16.5 | 20.3 |
| 1970 | 15.6 | 16.5 | 20.3 |
| 1969 | 15.6 | 16.4 | 20.3 |
| 1968 | 15.5 | 16.4 | 20.4 |
| 1967 | 15.5 | 16.3 | 20.5 |
| 1966 | 15.5 | 16.3 | 20.6 |
| 1965 | 15.5 | 16.4 | 20.8 |
| 1964 | 15.6 | 16.4 | 21 |
| 1963 | 15.8 | 16.5 | 21.2 |
| 1962 | 16.1 | 16.7 | 21.4 |
| 1961 | 16.4 | 16.8 | 21.4 |
| 1960 | 16.8 | 17 | 21.5 |
| 1959 | 17.1 | 17.2 | 21.5 |
| 1958 | 17.5 | 17.3 | 21.5 |
| 1957 | 17.8 | 17.4 | 21.6 |
| 1956 | 18.1 | 17.5 | 21.7 |
| 1955 | 18.4 | 17.7 | 21.8 |
| 1954 | 18.7 | 17.8 | 21.9 |
| 1953 | 18.9 | 17.9 | 22 |
| 1952 | 19.2 | 18.1 | 22.1 |
| 1951 | 19.4 | 18.3 | 22.1 |
| 1950 | 19.7 | 18.5 | 22.2 |
UN projection (medium variant) · 2024–2100
| Year | Madagascar | Somalia | World |
|---|---|---|---|
| 2024 | 1919–19.1 | 15.515.3–15.8 | 30.6 |
| 2025 | 19.219–19.4 | 15.614.9–16.3 | 30.9 |
| 2026 | 19.419–19.7 | 15.614.6–16.7 | 31.1 |
| 2027 | 19.519–20.1 | 15.714.5–17 | 31.3 |
| 2028 | 19.719–20.4 | 15.714.5–17.2 | 31.6 |
| 2029 | 19.919.1–20.8 | 15.814.7–17.4 | 31.8 |
| 2030 | 20.119.1–21.2 | 15.914.9–17.5 | 32 |
| 2031 | 20.319.1–21.5 | 16.115.1–17.7 | 32.2 |
| 2032 | 20.519.1–21.9 | 16.315.4–18 | 32.4 |
| 2033 | 20.719.1–22.3 | 16.415.7–18.1 | 32.6 |
| 2034 | 20.919.1–22.7 | 16.615.9–18.2 | 32.8 |
| 2035 | 21.119.1–23.1 | 16.816.2–18.3 | 33 |
| 2036 | 21.219–23.5 | 1716.6–18.3 | 33.2 |
| 2037 | 21.419.1–23.9 | 17.216.9–18.3 | 33.4 |
| 2038 | 21.619.1–24.3 | 17.417.2–18.3 | 33.6 |
| 2039 | 21.819.1–24.7 | 17.617.5–18.4 | 33.8 |
| 2040 | 2219.1–25.1 | 17.817.9–18.5 | 34 |
| 2041 | 22.219.1–25.5 | 18.118.3–18.5 | 34.2 |
| 2042 | 22.419.2–25.9 | 18.318.5–18.7 | 34.4 |
| 2043 | 22.619.2–26.3 | 18.518.6–19.1 | 34.6 |
| 2044 | 22.919.2–26.7 | 18.718.7–19.4 | 34.8 |
| 2045 | 23.119.4–27.2 | 1918.7–19.8 | 35 |
| 2046 | 23.319.5–27.6 | 19.218.8–20.2 | 35.2 |
| 2047 | 23.519.6–28 | 19.519–20.5 | 35.4 |
| 2048 | 23.719.8–28.4 | 19.719.1–20.8 | 35.6 |
| 2049 | 2419.9–28.8 | 2019.3–21.2 | 35.9 |
| 2050 | 24.220–29.2 | 20.219.4–21.5 | 36.1 |
| 2051 | 24.420.2–29.6 | 20.419.5–21.8 | 36.3 |
| 2052 | 24.620.3–30.1 | 20.719.6–22.1 | 36.5 |
| 2053 | 24.920.4–30.5 | 20.919.7–22.5 | 36.7 |
| 2054 | 25.120.5–30.9 | 21.219.8–22.8 | 36.9 |
| 2055 | 25.320.6–31.4 | 21.419.9–23.1 | 37.1 |
| 2056 | 25.520.8–31.8 | 21.720–23.5 | 37.3 |
| 2057 | 25.720.9–32.2 | 21.920.1–23.8 | 37.5 |
| 2058 | 2621–32.6 | 22.220.2–24.2 | 37.6 |
| 2059 | 26.221.1–32.9 | 22.420.2–24.5 | 37.8 |
| 2060 | 26.421.2–33.3 | 22.720.4–24.9 | 37.9 |
| 2061 | 26.621.2–33.6 | 2320.4–25.3 | 38 |
| 2062 | 26.821.3–33.9 | 23.220.5–25.8 | 38.1 |
| 2063 | 2721.4–34.2 | 23.520.6–26.2 | 38.3 |
| 2064 | 27.221.4–34.5 | 23.720.7–26.7 | 38.4 |
| 2065 | 27.421.5–34.7 | 2420.8–27.1 | 38.5 |
| 2066 | 27.621.6–35 | 24.320.9–27.5 | 38.6 |
| 2067 | 27.821.7–35.3 | 24.521–27.9 | 38.7 |
| 2068 | 2821.8–35.5 | 24.821.1–28.4 | 38.8 |
| 2069 | 28.221.9–35.7 | 25.121.2–28.8 | 38.9 |
| 2070 | 28.522–35.9 | 25.321.3–29.2 | 39 |
| 2071 | 28.722.1–36.2 | 25.621.3–29.7 | 39.1 |
| 2072 | 28.922.2–36.4 | 25.821.4–30.1 | 39.2 |
| 2073 | 29.122.4–36.6 | 26.121.5–30.5 | 39.3 |
| 2074 | 29.322.5–36.8 | 26.321.5–30.9 | 39.4 |
| 2075 | 29.522.6–36.9 | 26.621.6–31.3 | 39.5 |
| 2076 | 29.722.7–37.1 | 26.921.7–31.6 | 39.6 |
| 2077 | 29.922.9–37.3 | 27.121.7–32 | 39.7 |
| 2078 | 30.123–37.4 | 27.421.7–32.3 | 39.8 |
| 2079 | 30.323.1–37.6 | 27.621.8–32.7 | 40 |
| 2080 | 30.523.2–37.7 | 27.921.9–33.1 | 40.1 |
| 2081 | 30.723.4–37.9 | 28.122–33.5 | 40.2 |
| 2082 | 30.823.5–38 | 28.422.1–33.9 | 40.3 |
| 2083 | 3123.6–38.1 | 28.622.1–34.3 | 40.4 |
| 2084 | 31.223.7–38.2 | 28.922.2–34.6 | 40.5 |
| 2085 | 31.423.8–38.4 | 29.122.3–34.9 | 40.6 |
| 2086 | 31.623.9–38.5 | 29.422.4–35.3 | 40.7 |
| 2087 | 31.824–38.6 | 29.622.5–35.6 | 40.9 |
| 2088 | 3224.2–38.7 | 29.922.6–35.9 | 41 |
| 2089 | 32.224.3–38.9 | 30.122.7–36.3 | 41.1 |
| 2090 | 32.424.4–39 | 30.322.9–36.6 | 41.2 |
| 2091 | 32.624.6–39.1 | 30.623–36.8 | 41.3 |
| 2092 | 32.724.7–39.1 | 30.823.1–37 | 41.4 |
| 2093 | 32.924.9–39.2 | 3123.2–37.3 | 41.5 |
| 2094 | 33.125–39.3 | 31.223.3–37.5 | 41.6 |
| 2095 | 33.325.1–39.3 | 31.523.4–37.8 | 41.7 |
| 2096 | 33.525.3–39.4 | 31.723.5–37.9 | 41.8 |
| 2097 | 33.725.4–39.4 | 31.923.7–38.2 | 41.9 |
| 2098 | 33.925.6–39.5 | 32.123.7–38.4 | 42 |
| 2099 | 3425.7–39.5 | 32.323.8–38.6 | 42 |
| 2100 | 34.225.8–39.5 | 32.523.9–38.8 | 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