Egypt vs Spain
Egypt vs Spain: Median age
Median age in 2023: 24 years in Egypt and 44.9 years in Spain, by UN estimates. In 2023 the value was higher in Spain, by 20.9 years, or 1.87 times that in Egypt.
years · UN
What the numbers say
- Spain has been higher in every year both have figures for since 1950.
- In 2023, Egypt ranked 165 and Spain ranked 16 of 229 countries, counting from the highest.
- The UN projection (medium variant) puts Egypt at 41.6 years and Spain at 52.2 years in 2100.
- The world as a whole: 30.4 years in 2023.
Every year
years · UN
| Year | Egypt | Spain | World |
|---|---|---|---|
| 2023 | 24 | 44.9 | 30.4 |
| 2022 | 23.8 | 44.4 | 30.1 |
| 2021 | 23.6 | 43.9 | 29.8 |
| 2020 | 23.5 | 43.5 | 29.6 |
| 2019 | 23.3 | 43.1 | 29.3 |
| 2018 | 23.2 | 42.8 | 29 |
| 2017 | 23.1 | 42.4 | 28.8 |
| 2016 | 23 | 42.1 | 28.5 |
| 2015 | 22.9 | 41.6 | 28.3 |
| 2014 | 22.8 | 41.2 | 28.1 |
| 2013 | 22.7 | 40.6 | 27.8 |
| 2012 | 22.6 | 40.1 | 27.6 |
| 2011 | 22.4 | 39.6 | 27.4 |
| 2010 | 22.2 | 39.2 | 27.2 |
| 2009 | 22 | 38.8 | 27 |
| 2008 | 21.9 | 38.4 | 26.7 |
| 2007 | 21.7 | 38.2 | 26.5 |
| 2006 | 21.4 | 38 | 26.3 |
| 2005 | 21.2 | 37.8 | 26.1 |
| 2004 | 21 | 37.5 | 25.9 |
| 2003 | 20.8 | 37.3 | 25.7 |
| 2002 | 20.5 | 37.1 | 25.5 |
| 2001 | 20.3 | 36.8 | 25.3 |
| 2000 | 20.1 | 36.3 | 25.1 |
| 1999 | 19.9 | 35.9 | 24.9 |
| 1998 | 19.7 | 35.5 | 24.7 |
| 1997 | 19.5 | 35.1 | 24.4 |
| 1996 | 19.3 | 34.7 | 24.2 |
| 1995 | 19.1 | 34.3 | 24 |
| 1994 | 19 | 33.9 | 23.8 |
| 1993 | 18.9 | 33.6 | 23.5 |
| 1992 | 18.7 | 33.2 | 23.3 |
| 1991 | 18.6 | 32.9 | 23.1 |
| 1990 | 18.5 | 32.5 | 22.9 |
| 1989 | 18.4 | 32.1 | 22.8 |
| 1988 | 18.4 | 31.8 | 22.6 |
| 1987 | 18.4 | 31.5 | 22.4 |
| 1986 | 18.3 | 31.2 | 22.2 |
| 1985 | 18.3 | 30.9 | 22 |
| 1984 | 18.3 | 30.6 | 21.9 |
| 1983 | 18.3 | 30.4 | 21.8 |
| 1982 | 18.3 | 30.1 | 21.7 |
| 1981 | 18.2 | 29.9 | 21.6 |
| 1980 | 18.2 | 29.8 | 21.5 |
| 1979 | 18.2 | 29.6 | 21.3 |
| 1978 | 18.3 | 29.4 | 21.1 |
| 1977 | 18.3 | 29.2 | 21 |
| 1976 | 18.3 | 29.1 | 20.8 |
| 1975 | 18.3 | 29 | 20.7 |
| 1974 | 18.2 | 29 | 20.5 |
| 1973 | 18.2 | 29 | 20.4 |
| 1972 | 18.1 | 29 | 20.4 |
| 1971 | 18.1 | 29.1 | 20.3 |
| 1970 | 18.1 | 29.1 | 20.3 |
| 1969 | 18.1 | 29.3 | 20.3 |
| 1968 | 18 | 29.4 | 20.4 |
| 1967 | 18 | 29.4 | 20.5 |
| 1966 | 18 | 29.3 | 20.6 |
| 1965 | 17.9 | 29.2 | 20.8 |
| 1964 | 17.9 | 29.1 | 21 |
| 1963 | 18 | 29 | 21.2 |
| 1962 | 18.2 | 28.8 | 21.4 |
| 1961 | 18.4 | 28.6 | 21.4 |
| 1960 | 18.6 | 28.4 | 21.5 |
| 1959 | 18.9 | 28.2 | 21.5 |
| 1958 | 19.1 | 28.1 | 21.5 |
| 1957 | 19.3 | 28 | 21.6 |
| 1956 | 19.4 | 27.9 | 21.7 |
| 1955 | 19.5 | 27.7 | 21.8 |
| 1954 | 19.6 | 27.5 | 21.9 |
| 1953 | 19.6 | 27.2 | 22 |
| 1952 | 19.6 | 27 | 22.1 |
| 1951 | 19.6 | 26.8 | 22.1 |
| 1950 | 19.6 | 26.5 | 22.2 |
UN projection (medium variant) · 2024–2100
| Year | Egypt | Spain | World |
|---|---|---|---|
| 2024 | 24.324.2–24.4 | 45.445.3–45.5 | 30.6 |
| 2025 | 24.524.3–24.7 | 45.945.6–46.1 | 30.9 |
| 2026 | 24.724.4–25.1 | 46.345.9–46.7 | 31.1 |
| 2027 | 24.924.5–25.5 | 46.846.1–47.3 | 31.3 |
| 2028 | 25.124.6–25.8 | 47.246.4–47.9 | 31.6 |
| 2029 | 25.424.8–26.1 | 47.646.5–48.6 | 31.8 |
| 2030 | 25.625–26.5 | 48.146.6–49.2 | 32 |
| 2031 | 25.825.1–26.8 | 48.446.7–49.9 | 32.2 |
| 2032 | 2625.2–27.1 | 48.846.6–50.5 | 32.4 |
| 2033 | 26.225.3–27.5 | 49.246.5–51.2 | 32.6 |
| 2034 | 26.425.4–27.8 | 49.546.4–51.8 | 32.8 |
| 2035 | 26.725.5–28.1 | 49.846.2–52.4 | 33 |
| 2036 | 26.925.6–28.5 | 50.146–53.1 | 33.2 |
| 2037 | 27.125.7–28.8 | 50.445.8–53.7 | 33.4 |
| 2038 | 27.425.9–29.2 | 50.645.4–54.3 | 33.6 |
| 2039 | 27.626–29.5 | 50.845–54.9 | 33.8 |
| 2040 | 27.926.2–29.9 | 5144.6–55.4 | 34 |
| 2041 | 28.226.4–30.3 | 51.244–56 | 34.2 |
| 2042 | 28.526.5–30.7 | 51.443.3–56.5 | 34.4 |
| 2043 | 28.826.7–31.1 | 51.542.7–57.1 | 34.6 |
| 2044 | 29.126.9–31.5 | 51.642.2–57.6 | 34.8 |
| 2045 | 29.427–31.9 | 51.741.7–58.1 | 35 |
| 2046 | 29.827.1–32.3 | 51.841.4–58.6 | 35.2 |
| 2047 | 30.127.2–32.8 | 51.841.3–59.1 | 35.4 |
| 2048 | 30.427.2–33.2 | 51.841.2–59.6 | 35.6 |
| 2049 | 30.727.2–33.6 | 51.841.1–60 | 35.9 |
| 2050 | 3127.3–34.1 | 51.841.1–60.5 | 36.1 |
| 2051 | 31.227.3–34.5 | 51.741.2–60.9 | 36.3 |
| 2052 | 31.527.3–34.9 | 51.741.3–61.3 | 36.5 |
| 2053 | 31.727.5–35.4 | 51.741.3–61.8 | 36.7 |
| 2054 | 31.927.6–35.8 | 51.741.4–62.2 | 36.9 |
| 2055 | 32.127.7–36.2 | 51.741.4–62.6 | 37.1 |
| 2056 | 32.327.9–36.6 | 51.741.4–63.1 | 37.3 |
| 2057 | 32.528–36.9 | 51.841.5–63.5 | 37.5 |
| 2058 | 32.728.1–37.3 | 51.841.5–63.9 | 37.6 |
| 2059 | 32.928.3–37.6 | 51.941.5–64.2 | 37.8 |
| 2060 | 33.228.4–38 | 5241.5–64.5 | 37.9 |
| 2061 | 33.428.5–38.3 | 52.241.4–64.8 | 38 |
| 2062 | 33.628.7–38.6 | 52.341.4–65.1 | 38.1 |
| 2063 | 33.828.8–38.9 | 52.441.3–65.4 | 38.3 |
| 2064 | 3429–39.2 | 52.541.2–65.6 | 38.4 |
| 2065 | 34.229.1–39.5 | 52.641.1–65.9 | 38.5 |
| 2066 | 34.429.3–39.7 | 52.641–66.1 | 38.6 |
| 2067 | 34.629.4–40 | 52.740.8–66.3 | 38.7 |
| 2068 | 34.829.6–40.2 | 52.740.7–66.6 | 38.8 |
| 2069 | 3529.8–40.4 | 52.740.5–66.9 | 38.9 |
| 2070 | 35.229.9–40.6 | 52.740.4–67.1 | 39 |
| 2071 | 35.530.1–40.8 | 52.740.4–67.4 | 39.1 |
| 2072 | 35.730.2–41 | 52.640.3–67.8 | 39.2 |
| 2073 | 35.930.4–41.2 | 52.540.2–68.1 | 39.3 |
| 2074 | 36.230.6–41.4 | 52.440.2–68.4 | 39.4 |
| 2075 | 36.430.7–41.6 | 52.240.2–68.8 | 39.5 |
| 2076 | 36.730.9–41.8 | 52.140.1–69.2 | 39.6 |
| 2077 | 36.931.1–41.9 | 5240.1–69.6 | 39.7 |
| 2078 | 37.231.2–42.1 | 51.840–70 | 39.8 |
| 2079 | 37.431.3–42.3 | 51.740–70.4 | 40 |
| 2080 | 37.731.5–42.5 | 51.640–70.8 | 40.1 |
| 2081 | 37.931.6–42.7 | 51.539.9–71.2 | 40.2 |
| 2082 | 38.231.7–42.9 | 51.540–71.6 | 40.3 |
| 2083 | 38.431.8–43.1 | 51.440–72 | 40.4 |
| 2084 | 38.632–43.4 | 51.340.1–72.4 | 40.5 |
| 2085 | 38.932.1–43.5 | 51.340.1–72.7 | 40.6 |
| 2086 | 39.132.1–43.7 | 51.340.2–73 | 40.7 |
| 2087 | 39.332.2–43.9 | 51.340.2–73.3 | 40.9 |
| 2088 | 39.532.3–44.1 | 51.340.2–73.5 | 41 |
| 2089 | 39.732.4–44.3 | 51.440.3–73.8 | 41.1 |
| 2090 | 39.932.5–44.4 | 51.440.3–74 | 41.2 |
| 2091 | 40.132.6–44.6 | 51.540.4–74.3 | 41.3 |
| 2092 | 40.332.7–44.8 | 51.640.4–74.5 | 41.4 |
| 2093 | 40.432.8–44.9 | 51.740.5–74.7 | 41.5 |
| 2094 | 40.633–45 | 51.740.6–74.8 | 41.6 |
| 2095 | 40.833.1–45.2 | 51.840.7–74.8 | 41.7 |
| 2096 | 40.933.3–45.3 | 51.940.7–74.7 | 41.8 |
| 2097 | 41.133.4–45.5 | 5240.8–74.4 | 41.9 |
| 2098 | 41.333.6–45.6 | 52.140.8–74.2 | 42 |
| 2099 | 41.433.8–45.8 | 52.240.8–73.9 | 42 |
| 2100 | 41.634–45.9 | 52.240.9–73.5 | 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
Egypt vs Spain
Health
- Life expectancyEgypt: 71.6 years in 2023Spain: 83.7 years in 2023
- Child mortalityEgypt: 2.2 per 100 live births in 2024Spain: 0.3 per 100 live births in 2024
- Infant mortalityEgypt: 14.6 per 1,000 live births in 2023Spain: 2.4 per 1,000 live births in 2023
- DepressionEgypt: 3.24% in 2017Spain: 3.54% in 2017
- Suicide rateEgypt: 5.5 per 100,000 people in 2017Spain: 5.5 per 100,000 people in 2017
People
- PopulationEgypt: 115 million people in 2023Spain: 47.9 million people in 2023
- Population growthEgypt: 1.82% a year in 2023Spain: 0.02% a year in 2023
- Fertility rateEgypt: 2.75 births per woman in 2023Spain: 1.21 births per woman in 2023
- Urban populationEgypt: 42.9% in 2025Spain: 80.5% in 2025
- People aged 65 and overEgypt: 5% in 2023Spain: 20.7% in 2023
- Net migration rateEgypt: 2.7 per 1,000 people in 2023Spain: 2.5 per 1,000 people in 2023
Economy
Education
Politics
Conflict
Military
- Military spendingEgypt: 0.61% of GDP in 2025Spain: 2.13% of GDP in 2025
- Military spending in US dollarsEgypt: $2.26B in 2025Spain: $37.7B in 2025
- Military spending per personEgypt: $21 in 2025Spain: $839 in 2025
- Military share of state spendingEgypt: 2.5% of government spending in 2025Spain: 4.7% of government spending in 2025
- Armed forces personnelEgypt: 836,000 people in 2020Spain: 199,000 people in 2020
- National powerEgypt: 1.18% of world capability in 2022Spain: 0.66% of world capability in 2022
- Armed forces, share of workersEgypt: 2.76% of the labour force in 2020Spain: 0.87% of the labour force in 2020
- Arms importsEgypt: 697 million TIV in 2025Spain: 237 million TIV in 2025
- Arms exportsEgypt: 2 million TIV in 2024Spain: 341 million TIV in 2025