Indonesia vs South Africa
Indonesia vs South Africa: Median age
Median age in 2023: 29.8 years in Indonesia and 28.2 years in South Africa, by UN estimates. In 2023 the value was higher in Indonesia, by 1.6 years, or 1.06 times that in South Africa.
years · UN
What the numbers say
- Indonesia has been higher since 1986, when it overtook South Africa.
- In 2023, Indonesia ranked 124 and South Africa ranked 139 of 229 countries, counting from the highest.
- The UN projection (medium variant) puts Indonesia at 45 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 | Indonesia | South Africa | World |
|---|---|---|---|
| 2023 | 29.8 | 28.2 | 30.4 |
| 2022 | 29.6 | 27.9 | 30.1 |
| 2021 | 29.3 | 27.6 | 29.8 |
| 2020 | 29.1 | 27.3 | 29.6 |
| 2019 | 28.9 | 26.9 | 29.3 |
| 2018 | 28.6 | 26.5 | 29 |
| 2017 | 28.4 | 26.1 | 28.8 |
| 2016 | 28.1 | 25.7 | 28.5 |
| 2015 | 27.9 | 25.4 | 28.3 |
| 2014 | 27.6 | 25 | 28.1 |
| 2013 | 27.4 | 24.7 | 27.8 |
| 2012 | 27.1 | 24.3 | 27.6 |
| 2011 | 26.9 | 24 | 27.4 |
| 2010 | 26.6 | 23.6 | 27.2 |
| 2009 | 26.3 | 23.3 | 27 |
| 2008 | 26 | 23 | 26.7 |
| 2007 | 25.7 | 22.7 | 26.5 |
| 2006 | 25.5 | 22.4 | 26.3 |
| 2005 | 25.2 | 22.1 | 26.1 |
| 2004 | 24.9 | 21.9 | 25.9 |
| 2003 | 24.5 | 21.6 | 25.7 |
| 2002 | 24.2 | 21.3 | 25.5 |
| 2001 | 23.9 | 21.1 | 25.3 |
| 2000 | 23.6 | 20.8 | 25.1 |
| 1999 | 23.3 | 20.6 | 24.9 |
| 1998 | 23 | 20.3 | 24.7 |
| 1997 | 22.7 | 20.1 | 24.4 |
| 1996 | 22.4 | 20.2 | 24.2 |
| 1995 | 22.1 | 20.5 | 24 |
| 1994 | 21.8 | 20.9 | 23.8 |
| 1993 | 21.5 | 20.9 | 23.5 |
| 1992 | 21.2 | 20.5 | 23.3 |
| 1991 | 20.9 | 20.5 | 23.1 |
| 1990 | 20.7 | 20.3 | 22.9 |
| 1989 | 20.4 | 20 | 22.8 |
| 1988 | 20.1 | 19.8 | 22.6 |
| 1987 | 19.8 | 19.7 | 22.4 |
| 1986 | 19.5 | 19.5 | 22.2 |
| 1985 | 19.3 | 19.4 | 22 |
| 1984 | 19.1 | 19.2 | 21.9 |
| 1983 | 18.9 | 19 | 21.8 |
| 1982 | 18.7 | 18.8 | 21.7 |
| 1981 | 18.5 | 18.6 | 21.6 |
| 1980 | 18.4 | 18.4 | 21.5 |
| 1979 | 18.2 | 18.2 | 21.3 |
| 1978 | 18.1 | 18.1 | 21.1 |
| 1977 | 18 | 18 | 21 |
| 1976 | 17.9 | 17.9 | 20.8 |
| 1975 | 17.8 | 17.9 | 20.7 |
| 1974 | 17.8 | 17.8 | 20.5 |
| 1973 | 17.7 | 17.8 | 20.4 |
| 1972 | 17.7 | 17.7 | 20.4 |
| 1971 | 17.8 | 17.7 | 20.3 |
| 1970 | 17.9 | 17.7 | 20.3 |
| 1969 | 18 | 17.7 | 20.3 |
| 1968 | 18.2 | 17.8 | 20.4 |
| 1967 | 18.4 | 17.8 | 20.5 |
| 1966 | 18.6 | 17.8 | 20.6 |
| 1965 | 18.8 | 17.8 | 20.8 |
| 1964 | 18.9 | 17.8 | 21 |
| 1963 | 19 | 17.8 | 21.2 |
| 1962 | 19.1 | 17.8 | 21.4 |
| 1961 | 19.1 | 17.9 | 21.4 |
| 1960 | 19.1 | 17.9 | 21.5 |
| 1959 | 19.1 | 18 | 21.5 |
| 1958 | 19.1 | 18.1 | 21.5 |
| 1957 | 19 | 18.3 | 21.6 |
| 1956 | 18.9 | 18.4 | 21.7 |
| 1955 | 18.8 | 18.6 | 21.8 |
| 1954 | 18.6 | 18.7 | 21.9 |
| 1953 | 18.5 | 18.9 | 22 |
| 1952 | 18.3 | 19 | 22.1 |
| 1951 | 18.1 | 19.1 | 22.1 |
| 1950 | 17.9 | 19.2 | 22.2 |
UN projection (medium variant) · 2024–2100
| Year | Indonesia | South Africa | World |
|---|---|---|---|
| 2024 | 30.130.1–30.2 | 28.528.3–28.6 | 30.6 |
| 2025 | 30.430.3–30.5 | 28.728.3–29 | 30.9 |
| 2026 | 30.730.4–30.9 | 28.928.3–29.4 | 31.1 |
| 2027 | 30.930.6–31.3 | 29.128.2–29.8 | 31.3 |
| 2028 | 31.230.8–31.7 | 29.328.2–30.1 | 31.6 |
| 2029 | 31.531–32.1 | 29.528.1–30.5 | 31.8 |
| 2030 | 31.831.2–32.5 | 29.628.1–30.8 | 32 |
| 2031 | 32.131.4–32.9 | 29.728–31.2 | 32.2 |
| 2032 | 32.431.5–33.3 | 29.927.9–31.5 | 32.4 |
| 2033 | 32.631.7–33.7 | 3027.9–31.8 | 32.6 |
| 2034 | 32.931.8–34.1 | 30.128–32.1 | 32.8 |
| 2035 | 33.132–34.5 | 30.228.1–32.3 | 33 |
| 2036 | 33.332.1–34.8 | 30.328.1–32.5 | 33.2 |
| 2037 | 33.632.3–35.2 | 30.528.3–32.8 | 33.4 |
| 2038 | 33.832.4–35.5 | 30.628.4–33 | 33.6 |
| 2039 | 3432.5–35.9 | 30.828.4–33.2 | 33.8 |
| 2040 | 34.332.7–36.2 | 3128.5–33.5 | 34 |
| 2041 | 34.532.9–36.6 | 31.228.6–33.8 | 34.2 |
| 2042 | 34.833–36.9 | 31.328.6–34.1 | 34.4 |
| 2043 | 3533.2–37.3 | 31.528.7–34.4 | 34.6 |
| 2044 | 35.333.4–37.6 | 31.628.7–34.6 | 34.8 |
| 2045 | 35.533.6–37.9 | 31.828.7–34.9 | 35 |
| 2046 | 35.833.8–38.3 | 31.928.7–35.1 | 35.2 |
| 2047 | 3634–38.6 | 3228.8–35.3 | 35.4 |
| 2048 | 36.334.2–39 | 32.128.8–35.5 | 35.6 |
| 2049 | 36.634.4–39.3 | 32.228.9–35.7 | 35.9 |
| 2050 | 36.834.5–39.6 | 32.329–35.9 | 36.1 |
| 2051 | 37.134.7–40 | 32.429.1–36.1 | 36.3 |
| 2052 | 37.434.8–40.3 | 32.629.2–36.3 | 36.5 |
| 2053 | 37.634.9–40.7 | 32.729.3–36.5 | 36.7 |
| 2054 | 37.935–41 | 32.929.4–36.6 | 36.9 |
| 2055 | 38.135.1–41.4 | 33.129.6–36.9 | 37.1 |
| 2056 | 38.335.2–41.7 | 33.329.7–37.1 | 37.3 |
| 2057 | 38.535.3–42.1 | 33.529.8–37.3 | 37.5 |
| 2058 | 38.735.3–42.4 | 33.630–37.6 | 37.6 |
| 2059 | 38.935.4–42.8 | 33.830.1–37.9 | 37.8 |
| 2060 | 39.135.5–43.1 | 3430.2–38.2 | 37.9 |
| 2061 | 39.335.6–43.4 | 34.130.3–38.5 | 38 |
| 2062 | 39.435.8–43.7 | 34.230.5–38.7 | 38.1 |
| 2063 | 39.635.9–44 | 34.430.6–39 | 38.3 |
| 2064 | 39.836.1–44.3 | 34.530.7–39.2 | 38.4 |
| 2065 | 39.936.2–44.6 | 34.630.8–39.4 | 38.5 |
| 2066 | 40.136.4–44.9 | 34.830.9–39.6 | 38.6 |
| 2067 | 40.336.5–45.2 | 34.931–39.7 | 38.7 |
| 2068 | 40.436.6–45.5 | 3531.1–39.8 | 38.8 |
| 2069 | 40.636.8–45.8 | 35.131.2–39.9 | 38.9 |
| 2070 | 40.736.9–46.2 | 35.231.3–40 | 39 |
| 2071 | 40.937.1–46.4 | 35.331.4–40.1 | 39.1 |
| 2072 | 4137.3–46.7 | 35.431.5–40.2 | 39.2 |
| 2073 | 41.237.4–46.8 | 35.531.5–40.3 | 39.3 |
| 2074 | 41.337.6–47 | 35.631.6–40.4 | 39.4 |
| 2075 | 41.537.7–47.1 | 35.731.7–40.5 | 39.5 |
| 2076 | 41.637.9–47.2 | 35.831.8–40.7 | 39.6 |
| 2077 | 41.838.1–47.4 | 35.931.9–40.7 | 39.7 |
| 2078 | 41.938.2–47.4 | 3632–40.8 | 39.8 |
| 2079 | 42.138.4–47.5 | 36.132.1–40.9 | 40 |
| 2080 | 42.238.5–47.6 | 36.232.2–41 | 40.1 |
| 2081 | 42.438.7–47.7 | 36.332.4–41.1 | 40.2 |
| 2082 | 42.638.8–47.8 | 36.432.5–41.2 | 40.3 |
| 2083 | 42.738.9–48 | 36.532.6–41.2 | 40.4 |
| 2084 | 42.939.1–48.1 | 36.632.6–41.3 | 40.5 |
| 2085 | 4339.2–48.2 | 36.732.7–41.4 | 40.6 |
| 2086 | 43.239.3–48.4 | 36.832.9–41.6 | 40.7 |
| 2087 | 43.339.4–48.5 | 36.933–41.7 | 40.9 |
| 2088 | 43.539.5–48.6 | 37.133.1–41.9 | 41 |
| 2089 | 43.639.6–48.8 | 37.233.2–42 | 41.1 |
| 2090 | 43.839.7–48.9 | 37.333.3–42.2 | 41.2 |
| 2091 | 43.939.8–49.1 | 37.433.4–42.3 | 41.3 |
| 2092 | 44.139.9–49.2 | 37.533.5–42.4 | 41.4 |
| 2093 | 44.239.9–49.4 | 37.633.5–42.6 | 41.5 |
| 2094 | 44.340–49.5 | 37.733.6–42.7 | 41.6 |
| 2095 | 44.440.1–49.7 | 37.833.7–42.8 | 41.7 |
| 2096 | 44.640.2–49.8 | 37.933.8–43 | 41.8 |
| 2097 | 44.740.2–49.9 | 3833.9–43.1 | 41.9 |
| 2098 | 44.840.3–50 | 38.134–43.2 | 42 |
| 2099 | 44.940.4–50.2 | 38.234.1–43.3 | 42 |
| 2100 | 4540.5–50.3 | 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
Indonesia vs South Africa
Health
- Life expectancyIndonesia: 71.2 years in 2023South Africa: 66.1 years in 2023
- Child mortalityIndonesia: 1.8 per 100 live births in 2024South Africa: 3.5 per 100 live births in 2024
- Infant mortalityIndonesia: 17.1 per 1,000 live births in 2023South Africa: 27.9 per 1,000 live births in 2023
- DepressionIndonesia: 2.64% in 2017South Africa: 3.75% in 2017
- Suicide rateIndonesia: 3.1 per 100,000 people in 2017South Africa: 11.2 per 100,000 people in 2017
People
- PopulationIndonesia: 281 million people in 2023South Africa: 63.2 million people in 2023
- Population growthIndonesia: 0.83% a year in 2023South Africa: 1.32% a year in 2023
- Fertility rateIndonesia: 2.13 births per woman in 2023South Africa: 2.22 births per woman in 2023
- Urban populationIndonesia: 59.4% in 2025South Africa: 63.8% in 2025
- People aged 65 and overIndonesia: 7% in 2023South Africa: 6.5% in 2023
- Net migration rateIndonesia: -0.1 per 1,000 people in 2023South Africa: 3.6 per 1,000 people in 2023
Economy
Education
Politics
Conflict
Military
- Military spendingIndonesia: 1.05% of GDP in 2025South Africa: 0.74% of GDP in 2025
- Military spending in US dollarsIndonesia: $15.3B in 2025South Africa: $3B in 2025
- Military spending per personIndonesia: $53 in 2025South Africa: $49 in 2025
- Military share of state spendingIndonesia: 6.3% of government spending in 2025South Africa: 2.2% of government spending in 2025
- Armed forces personnelIndonesia: 676,000 people in 2020South Africa: 89,000 people in 2020
- National powerIndonesia: 2.09% of world capability in 2022South Africa: 0.55% of world capability in 2022
- Armed forces, share of workersIndonesia: 0.49% of the labour force in 2020South Africa: 0.4% of the labour force in 2020
- Arms importsIndonesia: 1.28 billion TIV in 2025South Africa: 30 million TIV in 2025
- Arms exportsIndonesia: 17 million TIV in 2021South Africa: 115 million TIV in 2025