Algeria vs Libya
Algeria vs Libya: Median age
Median age in 2023: 28.2 years in Algeria and 27.2 years in Libya, by UN estimates. In 2023 the value was higher in Algeria, by 1 years, or 1.04 times that in Libya.
years · UN
What the numbers say
- Algeria has been higher since 2003, when it overtook Libya.
- In 2023, Algeria ranked 140 and Libya ranked 146 of 229 countries, counting from the highest.
- The UN projection (medium variant) puts Algeria at 46.8 years and Libya at 46.2 years in 2100.
- The world as a whole: 30.4 years in 2023.
Every year
years · UN
| Year | Algeria | Libya | World |
|---|---|---|---|
| 2023 | 28.2 | 27.2 | 30.4 |
| 2022 | 28 | 26.9 | 30.1 |
| 2021 | 27.8 | 26.7 | 29.8 |
| 2020 | 27.6 | 26.5 | 29.6 |
| 2019 | 27.4 | 26.2 | 29.3 |
| 2018 | 27.2 | 26 | 29 |
| 2017 | 27 | 25.8 | 28.8 |
| 2016 | 26.8 | 25.6 | 28.5 |
| 2015 | 26.6 | 25.4 | 28.3 |
| 2014 | 26.3 | 25.2 | 28.1 |
| 2013 | 26.1 | 24.9 | 27.8 |
| 2012 | 25.8 | 24.7 | 27.6 |
| 2011 | 25.5 | 24.5 | 27.4 |
| 2010 | 25.1 | 24.3 | 27.2 |
| 2009 | 24.8 | 24 | 27 |
| 2008 | 24.4 | 23.6 | 26.7 |
| 2007 | 24 | 23.2 | 26.5 |
| 2006 | 23.6 | 22.9 | 26.3 |
| 2005 | 23.2 | 22.6 | 26.1 |
| 2004 | 22.7 | 22.4 | 25.9 |
| 2003 | 22.2 | 22.2 | 25.7 |
| 2002 | 21.7 | 22 | 25.5 |
| 2001 | 21.3 | 21.8 | 25.3 |
| 2000 | 20.8 | 21.6 | 25.1 |
| 1999 | 20.3 | 21.3 | 24.9 |
| 1998 | 19.8 | 20.9 | 24.7 |
| 1997 | 19.4 | 20.4 | 24.4 |
| 1996 | 19.1 | 20 | 24.2 |
| 1995 | 18.8 | 19.6 | 24 |
| 1994 | 18.5 | 19.1 | 23.8 |
| 1993 | 18.2 | 18.7 | 23.5 |
| 1992 | 18 | 18.2 | 23.3 |
| 1991 | 17.8 | 17.8 | 23.1 |
| 1990 | 17.5 | 17.5 | 22.9 |
| 1989 | 17.2 | 17.1 | 22.8 |
| 1988 | 17 | 16.8 | 22.6 |
| 1987 | 16.7 | 16.5 | 22.4 |
| 1986 | 16.5 | 16.2 | 22.2 |
| 1985 | 16.3 | 16 | 22 |
| 1984 | 16.1 | 15.7 | 21.9 |
| 1983 | 16 | 15.4 | 21.8 |
| 1982 | 15.8 | 15.2 | 21.7 |
| 1981 | 15.6 | 15.1 | 21.6 |
| 1980 | 15.5 | 15 | 21.5 |
| 1979 | 15.4 | 14.9 | 21.3 |
| 1978 | 15.3 | 14.8 | 21.1 |
| 1977 | 15.2 | 14.7 | 21 |
| 1976 | 15.2 | 14.6 | 20.8 |
| 1975 | 15.4 | 14.4 | 20.7 |
| 1974 | 15.4 | 14.3 | 20.5 |
| 1973 | 15.4 | 13.9 | 20.4 |
| 1972 | 15.4 | 13.6 | 20.4 |
| 1971 | 15.3 | 13.6 | 20.3 |
| 1970 | 15.3 | 13.6 | 20.3 |
| 1969 | 15.3 | 13.7 | 20.3 |
| 1968 | 15.3 | 13.9 | 20.4 |
| 1967 | 15.3 | 14.3 | 20.5 |
| 1966 | 15.4 | 14.8 | 20.6 |
| 1965 | 15.5 | 15.5 | 20.8 |
| 1964 | 15.6 | 16.1 | 21 |
| 1963 | 15.8 | 16.4 | 21.2 |
| 1962 | 15.9 | 16.8 | 21.4 |
| 1961 | 16.1 | 17.1 | 21.4 |
| 1960 | 16.3 | 17.5 | 21.5 |
| 1959 | 16.6 | 17.8 | 21.5 |
| 1958 | 16.9 | 18.1 | 21.5 |
| 1957 | 17.2 | 18.4 | 21.6 |
| 1956 | 17.4 | 18.7 | 21.7 |
| 1955 | 17.7 | 19 | 21.8 |
| 1954 | 17.9 | 19.1 | 21.9 |
| 1953 | 18 | 19.3 | 22 |
| 1952 | 18.1 | 19.4 | 22.1 |
| 1951 | 18.2 | 19.5 | 22.1 |
| 1950 | 18.4 | 19.7 | 22.2 |
UN projection (medium variant) · 2024–2100
| Year | Algeria | Libya | World |
|---|---|---|---|
| 2024 | 28.428.3–28.5 | 27.527.1–27.9 | 30.6 |
| 2025 | 28.628.2–29 | 27.726.6–28.4 | 30.9 |
| 2026 | 28.828.2–29.5 | 2826.4–28.2 | 31.1 |
| 2027 | 2928.1–30 | 28.326.6–28.4 | 31.3 |
| 2028 | 29.227.9–30.5 | 28.626.9–29.1 | 31.6 |
| 2029 | 29.327.8–31 | 2927.1–29.8 | 31.8 |
| 2030 | 29.527.7–31.4 | 29.327.3–30.5 | 32 |
| 2031 | 29.627.6–31.9 | 29.627.6–31.1 | 32.2 |
| 2032 | 29.827.7–32.3 | 29.927.8–31.7 | 32.4 |
| 2033 | 29.927.7–32.7 | 30.328–32.3 | 32.6 |
| 2034 | 3027.9–33.1 | 30.628.3–32.9 | 32.8 |
| 2035 | 30.228–33.5 | 3128.6–33.5 | 33 |
| 2036 | 30.428.2–33.9 | 31.328.8–34 | 33.2 |
| 2037 | 30.628.4–34.2 | 31.729–34.7 | 33.4 |
| 2038 | 30.828.6–34.5 | 3229.3–35.3 | 33.6 |
| 2039 | 31.128.8–34.8 | 32.429.6–35.8 | 33.8 |
| 2040 | 31.429–35.1 | 32.829.8–36.3 | 34 |
| 2041 | 31.629.2–35.4 | 33.130–36.8 | 34.2 |
| 2042 | 31.929.5–35.7 | 33.530.2–37.2 | 34.4 |
| 2043 | 32.229.8–36 | 33.830.6–37.9 | 34.6 |
| 2044 | 32.530.1–36.3 | 34.230.9–38.5 | 34.8 |
| 2045 | 32.830.4–36.6 | 34.531.2–39 | 35 |
| 2046 | 33.230.6–36.9 | 34.931.4–39.4 | 35.2 |
| 2047 | 33.530.9–37.2 | 35.331.7–39.9 | 35.4 |
| 2048 | 33.831.2–37.6 | 35.632–40.2 | 35.6 |
| 2049 | 34.231.5–37.9 | 35.932.3–40.8 | 35.9 |
| 2050 | 34.531.8–38.2 | 36.332.7–41.4 | 36.1 |
| 2051 | 34.932.1–38.6 | 36.633–41.5 | 36.3 |
| 2052 | 35.332.4–39 | 36.933.3–41.7 | 36.5 |
| 2053 | 35.732.7–39.4 | 37.233.6–41.8 | 36.7 |
| 2054 | 36.133–39.9 | 37.633.9–42 | 36.9 |
| 2055 | 36.433.2–40.3 | 37.934.2–42.3 | 37.1 |
| 2056 | 36.833.5–40.7 | 38.234.5–42.9 | 37.3 |
| 2057 | 37.233.7–41.2 | 38.534.7–43.4 | 37.5 |
| 2058 | 37.633.9–41.6 | 38.835–43.9 | 37.6 |
| 2059 | 37.934.2–42.1 | 3935.2–44.4 | 37.8 |
| 2060 | 38.334.4–42.6 | 39.335.4–44.6 | 37.9 |
| 2061 | 38.634.7–43.1 | 39.635.6–44.6 | 38 |
| 2062 | 38.934.9–43.5 | 39.835.9–44.6 | 38.1 |
| 2063 | 39.235–44 | 4036.1–45 | 38.3 |
| 2064 | 39.535.2–44.4 | 40.236.2–45.4 | 38.4 |
| 2065 | 39.835.3–44.9 | 40.436.4–45.8 | 38.5 |
| 2066 | 4035.4–45.3 | 40.636.6–46.1 | 38.6 |
| 2067 | 40.335.5–45.8 | 40.836.7–46.5 | 38.7 |
| 2068 | 40.535.6–46.2 | 40.936.8–47 | 38.8 |
| 2069 | 40.635.7–46.6 | 41.136.9–47.4 | 38.9 |
| 2070 | 40.835.8–46.9 | 41.237–47.9 | 39 |
| 2071 | 4135.9–47.3 | 41.437–48.5 | 39.1 |
| 2072 | 41.135.9–47.7 | 41.537.2–49.1 | 39.2 |
| 2073 | 41.236–48 | 41.737.4–49.6 | 39.3 |
| 2074 | 41.336.2–48.3 | 41.837.6–50.2 | 39.4 |
| 2075 | 41.436.3–48.6 | 4237.8–50.7 | 39.5 |
| 2076 | 41.536.5–48.9 | 42.138.1–51.1 | 39.6 |
| 2077 | 41.636.6–49.2 | 42.338.3–51.5 | 39.7 |
| 2078 | 41.736.8–49.5 | 42.538.5–51.9 | 39.8 |
| 2079 | 41.936.9–49.7 | 42.638.6–52.2 | 40 |
| 2080 | 4237.1–49.9 | 42.838.8–52.4 | 40.1 |
| 2081 | 42.137.4–50.1 | 4339–52.5 | 40.2 |
| 2082 | 42.337.6–50.3 | 43.139.2–52.7 | 40.3 |
| 2083 | 42.537.8–50.5 | 43.339.4–53.1 | 40.4 |
| 2084 | 42.738–50.6 | 43.539.5–53.3 | 40.5 |
| 2085 | 42.938.2–50.8 | 43.739.7–53.5 | 40.6 |
| 2086 | 43.238.4–51 | 43.939.9–53.8 | 40.7 |
| 2087 | 43.438.7–51.2 | 44.139.9–54.2 | 40.9 |
| 2088 | 43.738.9–51.4 | 44.340–54.8 | 41 |
| 2089 | 43.939.1–51.7 | 44.540.1–55.2 | 41.1 |
| 2090 | 44.239.3–51.8 | 44.740.2–55.7 | 41.2 |
| 2091 | 44.539.5–52 | 44.940.1–56.2 | 41.3 |
| 2092 | 44.839.6–52.2 | 45.140.1–56.6 | 41.4 |
| 2093 | 4539.8–52.3 | 45.340.1–57.1 | 41.5 |
| 2094 | 45.339.9–52.5 | 45.440.1–57.3 | 41.6 |
| 2095 | 45.640.1–52.7 | 45.640.2–57.3 | 41.7 |
| 2096 | 45.840.3–52.9 | 45.740.2–57.3 | 41.8 |
| 2097 | 46.140.4–53.2 | 45.940.3–57.2 | 41.9 |
| 2098 | 46.340.5–53.4 | 4640.3–57.5 | 42 |
| 2099 | 46.640.7–53.6 | 46.140.4–57.8 | 42 |
| 2100 | 46.840.8–53.8 | 46.240.5–58.1 | 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
Algeria vs Libya
Health
- Life expectancyAlgeria: 76.3 years in 2023Libya: 69.3 years in 2023
- Child mortalityAlgeria: 2.2 per 100 live births in 2024Libya: 1 per 100 live births in 2024
- Infant mortalityAlgeria: 17.8 per 1,000 live births in 2023Libya: 16 per 1,000 live births in 2023
- DepressionAlgeria: 3.66% in 2017Libya: 3.81% in 2017
- Suicide rateAlgeria: 4.1 per 100,000 people in 2017Libya: 8.1 per 100,000 people in 2017
People
- PopulationAlgeria: 46.2 million people in 2023Libya: 7.31 million people in 2023
- Population growthAlgeria: 1.44% a year in 2023Libya: 1.01% a year in 2023
- Fertility rateAlgeria: 2.77 births per woman in 2023Libya: 2.36 births per woman in 2023
- Urban populationAlgeria: 75.8% in 2025Libya: 87.9% in 2025
- People aged 65 and overAlgeria: 6.4% in 2023Libya: 4.9% in 2023
- Net migration rateAlgeria: -0.6 per 1,000 people in 2023Libya: -0.3 per 1,000 people in 2023
Economy
Education
Politics
Conflict
Military
- Military spendingAlgeria: 8.83% of GDP in 2025Libya: 3.57% of GDP in 2023
- Military spending in US dollarsAlgeria: $24.1B in 2025Libya: $1.6B in 2023
- Military spending per personAlgeria: $540 in 2025Libya: $216 in 2023
- Military share of state spendingAlgeria: 24.6% of government spending in 2025Libya: 5.5% of government spending in 2023
- Armed forces personnelAlgeria: 326,000 people in 2020Libya: 0 people in 2020
- National powerAlgeria: 0.51% of world capability in 2022Libya: 0.08% of world capability in 2022
- Armed forces, share of workersAlgeria: 2.81% of the labour force in 2020Libya: 0% of the labour force in 2020
- Arms importsAlgeria: 108 million TIV in 2025Libya: 5 million TIV in 2024
- Arms exportsAlgeria: 12 million TIV in 1984Libya: 0 TIV in 2016