Madagascar vs South Africa
Madagascar vs South Africa: Median age
Median age in 2023: 18.9 years in Madagascar and 28.2 years in South Africa, by UN estimates. In 2023 the value was higher in South Africa, by 9.3 years, or 1.49 times that in Madagascar.
years · UN
What the numbers say
- South Africa has been higher since 1954, when it overtook Madagascar.
- In 2023, Madagascar ranked 198 and South Africa ranked 139 of 229 countries, counting from the highest.
- The UN projection (medium variant) puts Madagascar at 34.2 years and South Africa at 38.3 years in 2100.
- The world as a whole: 30.4 years in 2023.
Every year
years · UN
| Year | Madagascar | South Africa | World |
|---|---|---|---|
| 2023 | 18.9 | 28.2 | 30.4 |
| 2022 | 18.7 | 27.9 | 30.1 |
| 2021 | 18.6 | 27.6 | 29.8 |
| 2020 | 18.4 | 27.3 | 29.6 |
| 2019 | 18.2 | 26.9 | 29.3 |
| 2018 | 18.1 | 26.5 | 29 |
| 2017 | 17.9 | 26.1 | 28.8 |
| 2016 | 17.7 | 25.7 | 28.5 |
| 2015 | 17.5 | 25.4 | 28.3 |
| 2014 | 17.3 | 25 | 28.1 |
| 2013 | 17.1 | 24.7 | 27.8 |
| 2012 | 16.9 | 24.3 | 27.6 |
| 2011 | 16.8 | 24 | 27.4 |
| 2010 | 16.7 | 23.6 | 27.2 |
| 2009 | 16.6 | 23.3 | 27 |
| 2008 | 16.5 | 23 | 26.7 |
| 2007 | 16.4 | 22.7 | 26.5 |
| 2006 | 16.3 | 22.4 | 26.3 |
| 2005 | 16.2 | 22.1 | 26.1 |
| 2004 | 16.2 | 21.9 | 25.9 |
| 2003 | 16.2 | 21.6 | 25.7 |
| 2002 | 16.1 | 21.3 | 25.5 |
| 2001 | 16.1 | 21.1 | 25.3 |
| 2000 | 16.1 | 20.8 | 25.1 |
| 1999 | 16.1 | 20.6 | 24.9 |
| 1998 | 16.1 | 20.3 | 24.7 |
| 1997 | 16.1 | 20.1 | 24.4 |
| 1996 | 16.1 | 20.2 | 24.2 |
| 1995 | 16 | 20.5 | 24 |
| 1994 | 16 | 20.9 | 23.8 |
| 1993 | 15.9 | 20.9 | 23.5 |
| 1992 | 15.9 | 20.5 | 23.3 |
| 1991 | 15.8 | 20.5 | 23.1 |
| 1990 | 15.8 | 20.3 | 22.9 |
| 1989 | 15.7 | 20 | 22.8 |
| 1988 | 15.6 | 19.8 | 22.6 |
| 1987 | 15.5 | 19.7 | 22.4 |
| 1986 | 15.5 | 19.5 | 22.2 |
| 1985 | 15.4 | 19.4 | 22 |
| 1984 | 15.4 | 19.2 | 21.9 |
| 1983 | 15.3 | 19 | 21.8 |
| 1982 | 15.3 | 18.8 | 21.7 |
| 1981 | 15.3 | 18.6 | 21.6 |
| 1980 | 15.4 | 18.4 | 21.5 |
| 1979 | 15.4 | 18.2 | 21.3 |
| 1978 | 15.4 | 18.1 | 21.1 |
| 1977 | 15.5 | 18 | 21 |
| 1976 | 15.5 | 17.9 | 20.8 |
| 1975 | 15.5 | 17.9 | 20.7 |
| 1974 | 15.5 | 17.8 | 20.5 |
| 1973 | 15.6 | 17.8 | 20.4 |
| 1972 | 15.6 | 17.7 | 20.4 |
| 1971 | 15.6 | 17.7 | 20.3 |
| 1970 | 15.6 | 17.7 | 20.3 |
| 1969 | 15.6 | 17.7 | 20.3 |
| 1968 | 15.5 | 17.8 | 20.4 |
| 1967 | 15.5 | 17.8 | 20.5 |
| 1966 | 15.5 | 17.8 | 20.6 |
| 1965 | 15.5 | 17.8 | 20.8 |
| 1964 | 15.6 | 17.8 | 21 |
| 1963 | 15.8 | 17.8 | 21.2 |
| 1962 | 16.1 | 17.8 | 21.4 |
| 1961 | 16.4 | 17.9 | 21.4 |
| 1960 | 16.8 | 17.9 | 21.5 |
| 1959 | 17.1 | 18 | 21.5 |
| 1958 | 17.5 | 18.1 | 21.5 |
| 1957 | 17.8 | 18.3 | 21.6 |
| 1956 | 18.1 | 18.4 | 21.7 |
| 1955 | 18.4 | 18.6 | 21.8 |
| 1954 | 18.7 | 18.7 | 21.9 |
| 1953 | 18.9 | 18.9 | 22 |
| 1952 | 19.2 | 19 | 22.1 |
| 1951 | 19.4 | 19.1 | 22.1 |
| 1950 | 19.7 | 19.2 | 22.2 |
UN projection (medium variant) · 2024–2100
| Year | Madagascar | South Africa | World |
|---|---|---|---|
| 2024 | 1919–19.1 | 28.528.3–28.6 | 30.6 |
| 2025 | 19.219–19.4 | 28.728.3–29 | 30.9 |
| 2026 | 19.419–19.7 | 28.928.3–29.4 | 31.1 |
| 2027 | 19.519–20.1 | 29.128.2–29.8 | 31.3 |
| 2028 | 19.719–20.4 | 29.328.2–30.1 | 31.6 |
| 2029 | 19.919.1–20.8 | 29.528.1–30.5 | 31.8 |
| 2030 | 20.119.1–21.2 | 29.628.1–30.8 | 32 |
| 2031 | 20.319.1–21.5 | 29.728–31.2 | 32.2 |
| 2032 | 20.519.1–21.9 | 29.927.9–31.5 | 32.4 |
| 2033 | 20.719.1–22.3 | 3027.9–31.8 | 32.6 |
| 2034 | 20.919.1–22.7 | 30.128–32.1 | 32.8 |
| 2035 | 21.119.1–23.1 | 30.228.1–32.3 | 33 |
| 2036 | 21.219–23.5 | 30.328.1–32.5 | 33.2 |
| 2037 | 21.419.1–23.9 | 30.528.3–32.8 | 33.4 |
| 2038 | 21.619.1–24.3 | 30.628.4–33 | 33.6 |
| 2039 | 21.819.1–24.7 | 30.828.4–33.2 | 33.8 |
| 2040 | 2219.1–25.1 | 3128.5–33.5 | 34 |
| 2041 | 22.219.1–25.5 | 31.228.6–33.8 | 34.2 |
| 2042 | 22.419.2–25.9 | 31.328.6–34.1 | 34.4 |
| 2043 | 22.619.2–26.3 | 31.528.7–34.4 | 34.6 |
| 2044 | 22.919.2–26.7 | 31.628.7–34.6 | 34.8 |
| 2045 | 23.119.4–27.2 | 31.828.7–34.9 | 35 |
| 2046 | 23.319.5–27.6 | 31.928.7–35.1 | 35.2 |
| 2047 | 23.519.6–28 | 3228.8–35.3 | 35.4 |
| 2048 | 23.719.8–28.4 | 32.128.8–35.5 | 35.6 |
| 2049 | 2419.9–28.8 | 32.228.9–35.7 | 35.9 |
| 2050 | 24.220–29.2 | 32.329–35.9 | 36.1 |
| 2051 | 24.420.2–29.6 | 32.429.1–36.1 | 36.3 |
| 2052 | 24.620.3–30.1 | 32.629.2–36.3 | 36.5 |
| 2053 | 24.920.4–30.5 | 32.729.3–36.5 | 36.7 |
| 2054 | 25.120.5–30.9 | 32.929.4–36.6 | 36.9 |
| 2055 | 25.320.6–31.4 | 33.129.6–36.9 | 37.1 |
| 2056 | 25.520.8–31.8 | 33.329.7–37.1 | 37.3 |
| 2057 | 25.720.9–32.2 | 33.529.8–37.3 | 37.5 |
| 2058 | 2621–32.6 | 33.630–37.6 | 37.6 |
| 2059 | 26.221.1–32.9 | 33.830.1–37.9 | 37.8 |
| 2060 | 26.421.2–33.3 | 3430.2–38.2 | 37.9 |
| 2061 | 26.621.2–33.6 | 34.130.3–38.5 | 38 |
| 2062 | 26.821.3–33.9 | 34.230.5–38.7 | 38.1 |
| 2063 | 2721.4–34.2 | 34.430.6–39 | 38.3 |
| 2064 | 27.221.4–34.5 | 34.530.7–39.2 | 38.4 |
| 2065 | 27.421.5–34.7 | 34.630.8–39.4 | 38.5 |
| 2066 | 27.621.6–35 | 34.830.9–39.6 | 38.6 |
| 2067 | 27.821.7–35.3 | 34.931–39.7 | 38.7 |
| 2068 | 2821.8–35.5 | 3531.1–39.8 | 38.8 |
| 2069 | 28.221.9–35.7 | 35.131.2–39.9 | 38.9 |
| 2070 | 28.522–35.9 | 35.231.3–40 | 39 |
| 2071 | 28.722.1–36.2 | 35.331.4–40.1 | 39.1 |
| 2072 | 28.922.2–36.4 | 35.431.5–40.2 | 39.2 |
| 2073 | 29.122.4–36.6 | 35.531.5–40.3 | 39.3 |
| 2074 | 29.322.5–36.8 | 35.631.6–40.4 | 39.4 |
| 2075 | 29.522.6–36.9 | 35.731.7–40.5 | 39.5 |
| 2076 | 29.722.7–37.1 | 35.831.8–40.7 | 39.6 |
| 2077 | 29.922.9–37.3 | 35.931.9–40.7 | 39.7 |
| 2078 | 30.123–37.4 | 3632–40.8 | 39.8 |
| 2079 | 30.323.1–37.6 | 36.132.1–40.9 | 40 |
| 2080 | 30.523.2–37.7 | 36.232.2–41 | 40.1 |
| 2081 | 30.723.4–37.9 | 36.332.4–41.1 | 40.2 |
| 2082 | 30.823.5–38 | 36.432.5–41.2 | 40.3 |
| 2083 | 3123.6–38.1 | 36.532.6–41.2 | 40.4 |
| 2084 | 31.223.7–38.2 | 36.632.6–41.3 | 40.5 |
| 2085 | 31.423.8–38.4 | 36.732.7–41.4 | 40.6 |
| 2086 | 31.623.9–38.5 | 36.832.9–41.6 | 40.7 |
| 2087 | 31.824–38.6 | 36.933–41.7 | 40.9 |
| 2088 | 3224.2–38.7 | 37.133.1–41.9 | 41 |
| 2089 | 32.224.3–38.9 | 37.233.2–42 | 41.1 |
| 2090 | 32.424.4–39 | 37.333.3–42.2 | 41.2 |
| 2091 | 32.624.6–39.1 | 37.433.4–42.3 | 41.3 |
| 2092 | 32.724.7–39.1 | 37.533.5–42.4 | 41.4 |
| 2093 | 32.924.9–39.2 | 37.633.5–42.6 | 41.5 |
| 2094 | 33.125–39.3 | 37.733.6–42.7 | 41.6 |
| 2095 | 33.325.1–39.3 | 37.833.7–42.8 | 41.7 |
| 2096 | 33.525.3–39.4 | 37.933.8–43 | 41.8 |
| 2097 | 33.725.4–39.4 | 3833.9–43.1 | 41.9 |
| 2098 | 33.925.6–39.5 | 38.134–43.2 | 42 |
| 2099 | 3425.7–39.5 | 38.234.1–43.3 | 42 |
| 2100 | 34.225.8–39.5 | 38.334.1–43.4 | 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
Madagascar vs South Africa
Health
- Life expectancyMadagascar: 63.6 years in 2023South Africa: 66.1 years in 2023
- Child mortalityMadagascar: 6.2 per 100 live births in 2024South Africa: 3.5 per 100 live births in 2024
- Infant mortalityMadagascar: 45 per 1,000 live births in 2023South Africa: 27.9 per 1,000 live births in 2023
- DepressionMadagascar: 3.71% in 2017South Africa: 3.75% in 2017
- Suicide rateMadagascar: 11 per 100,000 people in 2017South Africa: 11.2 per 100,000 people in 2017
People
- PopulationMadagascar: 31.2 million people in 2023South Africa: 63.2 million people in 2023
- Population growthMadagascar: 2.45% a year in 2023South Africa: 1.32% a year in 2023
- Fertility rateMadagascar: 3.97 births per woman in 2023South Africa: 2.22 births per woman in 2023
- Urban populationMadagascar: 32.9% in 2025South Africa: 63.8% in 2025
- People aged 65 and overMadagascar: 3.3% in 2023South Africa: 6.5% in 2023
- Net migration rateMadagascar: -0 per 1,000 people in 2023South Africa: 3.6 per 1,000 people in 2023
Economy
Education
Politics
Conflict
Military
- Military spendingMadagascar: 0.62% of GDP in 2025South Africa: 0.74% of GDP in 2025
- Military spending in US dollarsMadagascar: $111M in 2025South Africa: $3B in 2025
- Military spending per personMadagascar: $4 in 2025South Africa: $49 in 2025
- Military share of state spendingMadagascar: 3.8% of government spending in 2025South Africa: 2.2% of government spending in 2025
- Armed forces personnelMadagascar: 22,000 people in 2020South Africa: 89,000 people in 2020
- National powerMadagascar: 0.11% of world capability in 2022South Africa: 0.55% of world capability in 2022
- Armed forces, share of workersMadagascar: 0.15% of the labour force in 2020South Africa: 0.4% of the labour force in 2020
- Arms importsMadagascar: 3 million TIV in 2025South Africa: 30 million TIV in 2025