Andorra vs Spain
Andorra vs Spain: Median age
Median age in 2023: 43.2 years in Andorra and 44.9 years in Spain, by UN estimates. In 2023 the value was higher in Spain, by 1.7 years, or 1.04 times that in Andorra.
years · UN
What the numbers say
- Spain has been higher since 2004, when it overtook Andorra.
- In 2023, Andorra ranked 27 and Spain ranked 16 of 229 countries, counting from the highest.
- The UN projection (medium variant) puts Andorra at 58.5 years and Spain at 52.2 years in 2100.
- The world as a whole: 30.4 years in 2023.
Every year
years · UN
| Year | Andorra | Spain | World |
|---|---|---|---|
| 2023 | 43.2 | 44.9 | 30.4 |
| 2022 | 42.8 | 44.4 | 30.1 |
| 2021 | 42.5 | 43.9 | 29.8 |
| 2020 | 42.1 | 43.5 | 29.6 |
| 2019 | 41.7 | 43.1 | 29.3 |
| 2018 | 41.3 | 42.8 | 29 |
| 2017 | 40.8 | 42.4 | 28.8 |
| 2016 | 40.4 | 42.1 | 28.5 |
| 2015 | 39.9 | 41.6 | 28.3 |
| 2014 | 39.5 | 41.2 | 28.1 |
| 2013 | 39.1 | 40.6 | 27.8 |
| 2012 | 38.8 | 40.1 | 27.6 |
| 2011 | 38.6 | 39.6 | 27.4 |
| 2010 | 38.6 | 39.2 | 27.2 |
| 2009 | 38.1 | 38.8 | 27 |
| 2008 | 37.6 | 38.4 | 26.7 |
| 2007 | 37.2 | 38.2 | 26.5 |
| 2006 | 36.9 | 38 | 26.3 |
| 2005 | 36.8 | 37.8 | 26.1 |
| 2004 | 37.1 | 37.5 | 25.9 |
| 2003 | 37.4 | 37.3 | 25.7 |
| 2002 | 37.3 | 37.1 | 25.5 |
| 2001 | 36.7 | 36.8 | 25.3 |
| 2000 | 36 | 36.3 | 25.1 |
| 1999 | 35.3 | 35.9 | 24.9 |
| 1998 | 34.7 | 35.5 | 24.7 |
| 1997 | 34.3 | 35.1 | 24.4 |
| 1996 | 33.8 | 34.7 | 24.2 |
| 1995 | 33.3 | 34.3 | 24 |
| 1994 | 32.8 | 33.9 | 23.8 |
| 1993 | 32.1 | 33.6 | 23.5 |
| 1992 | 31.5 | 33.2 | 23.3 |
| 1991 | 31.5 | 32.9 | 23.1 |
| 1990 | 31.8 | 32.5 | 22.9 |
| 1989 | 31.6 | 32.1 | 22.8 |
| 1988 | 31 | 31.8 | 22.6 |
| 1987 | 30.4 | 31.5 | 22.4 |
| 1986 | 30 | 31.2 | 22.2 |
| 1985 | 29.7 | 30.9 | 22 |
| 1984 | 29.2 | 30.6 | 21.9 |
| 1983 | 28.8 | 30.4 | 21.8 |
| 1982 | 28.5 | 30.1 | 21.7 |
| 1981 | 28 | 29.9 | 21.6 |
| 1980 | 27.2 | 29.8 | 21.5 |
| 1979 | 26.5 | 29.6 | 21.3 |
| 1978 | 25.9 | 29.4 | 21.1 |
| 1977 | 25.4 | 29.2 | 21 |
| 1976 | 25.1 | 29.1 | 20.8 |
| 1975 | 24.8 | 29 | 20.7 |
| 1974 | 24.6 | 29 | 20.5 |
| 1973 | 24.5 | 29 | 20.4 |
| 1972 | 24.6 | 29 | 20.4 |
| 1971 | 24.8 | 29.1 | 20.3 |
| 1970 | 25.1 | 29.1 | 20.3 |
| 1969 | 25.7 | 29.3 | 20.3 |
| 1968 | 26.4 | 29.4 | 20.4 |
| 1967 | 27.4 | 29.4 | 20.5 |
| 1966 | 28.2 | 29.3 | 20.6 |
| 1965 | 28.3 | 29.2 | 20.8 |
| 1964 | 28.2 | 29.1 | 21 |
| 1963 | 28.1 | 29 | 21.2 |
| 1962 | 28 | 28.8 | 21.4 |
| 1961 | 28.1 | 28.6 | 21.4 |
| 1960 | 28.2 | 28.4 | 21.5 |
| 1959 | 28.4 | 28.2 | 21.5 |
| 1958 | 28.8 | 28.1 | 21.5 |
| 1957 | 29.3 | 28 | 21.6 |
| 1956 | 30.1 | 27.9 | 21.7 |
| 1955 | 31 | 27.7 | 21.8 |
| 1954 | 32.2 | 27.5 | 21.9 |
| 1953 | 33.2 | 27.2 | 22 |
| 1952 | 32.8 | 27 | 22.1 |
| 1951 | 31.4 | 26.8 | 22.1 |
| 1950 | 30.9 | 26.5 | 22.2 |
UN projection (medium variant) · 2024–2100
| Year | Andorra | Spain | World |
|---|---|---|---|
| 2024 | 43.542.9–44.1 | 45.445.3–45.5 | 30.6 |
| 2025 | 43.942.2–45.6 | 45.945.6–46.1 | 30.9 |
| 2026 | 44.241.3–47.4 | 46.345.9–46.7 | 31.1 |
| 2027 | 44.740.2–49.2 | 46.846.1–47.3 | 31.3 |
| 2028 | 45.139–51 | 47.246.4–47.9 | 31.6 |
| 2029 | 45.638–52.9 | 47.646.5–48.6 | 31.8 |
| 2030 | 46.137.1–54.7 | 48.146.6–49.2 | 32 |
| 2031 | 46.636.5–56.2 | 48.446.7–49.9 | 32.2 |
| 2032 | 4735.9–57.5 | 48.846.6–50.5 | 32.4 |
| 2033 | 47.535.4–58.7 | 49.246.5–51.2 | 32.6 |
| 2034 | 47.935.1–59.8 | 49.546.4–51.8 | 32.8 |
| 2035 | 48.434.9–60.8 | 49.846.2–52.4 | 33 |
| 2036 | 48.835–61.8 | 50.146–53.1 | 33.2 |
| 2037 | 49.335.1–62.7 | 50.445.8–53.7 | 33.4 |
| 2038 | 49.735.2–63.5 | 50.645.4–54.3 | 33.6 |
| 2039 | 50.135.4–64.3 | 50.845–54.9 | 33.8 |
| 2040 | 50.635.5–65 | 5144.6–55.4 | 34 |
| 2041 | 5135.6–65.8 | 51.244–56 | 34.2 |
| 2042 | 51.435.7–66.5 | 51.443.3–56.5 | 34.4 |
| 2043 | 51.835.8–67.2 | 51.542.7–57.1 | 34.6 |
| 2044 | 52.335.9–67.9 | 51.642.2–57.6 | 34.8 |
| 2045 | 52.735.9–68.6 | 51.741.7–58.1 | 35 |
| 2046 | 53.135.9–69.4 | 51.841.4–58.6 | 35.2 |
| 2047 | 53.535.9–70.1 | 51.841.3–59.1 | 35.4 |
| 2048 | 53.836–70.7 | 51.841.2–59.6 | 35.6 |
| 2049 | 54.236.1–71.2 | 51.841.1–60 | 35.9 |
| 2050 | 54.536.3–71.8 | 51.841.1–60.5 | 36.1 |
| 2051 | 54.836.3–72.3 | 51.741.2–60.9 | 36.3 |
| 2052 | 55.136.3–72.8 | 51.741.3–61.3 | 36.5 |
| 2053 | 55.436.5–73.3 | 51.741.3–61.8 | 36.7 |
| 2054 | 55.836.7–73.9 | 51.741.4–62.2 | 36.9 |
| 2055 | 56.137–74.4 | 51.741.4–62.6 | 37.1 |
| 2056 | 56.437.2–75 | 51.741.4–63.1 | 37.3 |
| 2057 | 56.837.2–75.6 | 51.841.5–63.5 | 37.5 |
| 2058 | 57.137.2–76.2 | 51.841.5–63.9 | 37.6 |
| 2059 | 57.437.2–76.8 | 51.941.5–64.2 | 37.8 |
| 2060 | 57.637.4–77.4 | 5241.5–64.5 | 37.9 |
| 2061 | 57.937.6–77.8 | 52.241.4–64.8 | 38 |
| 2062 | 58.137.7–78.3 | 52.341.4–65.1 | 38.1 |
| 2063 | 58.338–78.9 | 52.441.3–65.4 | 38.3 |
| 2064 | 58.638–79.4 | 52.541.2–65.6 | 38.4 |
| 2065 | 58.838–79.9 | 52.641.1–65.9 | 38.5 |
| 2066 | 58.938–80.3 | 52.641–66.1 | 38.6 |
| 2067 | 5938.2–80.8 | 52.740.8–66.3 | 38.7 |
| 2068 | 59.238.5–81.2 | 52.740.7–66.6 | 38.8 |
| 2069 | 59.438.7–81.5 | 52.740.5–66.9 | 38.9 |
| 2070 | 59.538.7–81.7 | 52.740.4–67.1 | 39 |
| 2071 | 59.638.6–81.9 | 52.740.4–67.4 | 39.1 |
| 2072 | 59.738.7–82.2 | 52.640.3–67.8 | 39.2 |
| 2073 | 59.838.8–82.5 | 52.540.2–68.1 | 39.3 |
| 2074 | 59.838.9–82.9 | 52.440.2–68.4 | 39.4 |
| 2075 | 59.739–83.2 | 52.240.2–68.8 | 39.5 |
| 2076 | 59.739.2–83.4 | 52.140.1–69.2 | 39.6 |
| 2077 | 59.739.3–83.5 | 5240.1–69.6 | 39.7 |
| 2078 | 59.739.4–83.6 | 51.840–70 | 39.8 |
| 2079 | 59.639.4–84 | 51.740–70.4 | 40 |
| 2080 | 59.439.5–70.7 | 51.640–70.8 | 40.1 |
| 2081 | 58.939.6–50.1 | 51.539.9–71.2 | 40.2 |
| 2082 | 58.739.9–66.7 | 51.540–71.6 | 40.3 |
| 2083 | 58.740.1–42 | 51.440–72 | 40.4 |
| 2084 | 58.739.3–40.2 | 51.340.1–72.4 | 40.5 |
| 2085 | 58.637–40.3 | 51.340.1–72.7 | 40.6 |
| 2086 | 58.635.3–40.4 | 51.340.2–73 | 40.7 |
| 2087 | 58.534–40.4 | 51.340.2–73.3 | 40.9 |
| 2088 | 58.533.6–40.4 | 51.340.2–73.5 | 41 |
| 2089 | 58.433.4–40.4 | 51.440.3–73.8 | 41.1 |
| 2090 | 58.433.3–40.4 | 51.440.3–74 | 41.2 |
| 2091 | 58.433.1–40.7 | 51.540.4–74.3 | 41.3 |
| 2092 | 58.433–41 | 51.640.4–74.5 | 41.4 |
| 2093 | 58.433–41.1 | 51.740.5–74.7 | 41.5 |
| 2094 | 58.432.9–41.4 | 51.740.6–74.8 | 41.6 |
| 2095 | 58.432.4–41.9 | 51.840.7–74.8 | 41.7 |
| 2096 | 58.431.6–42.3 | 51.940.7–74.7 | 41.8 |
| 2097 | 58.431–42.4 | 5240.8–74.4 | 41.9 |
| 2098 | 58.430.8–42.3 | 52.140.8–74.2 | 42 |
| 2099 | 58.531–42.4 | 52.240.8–73.9 | 42 |
| 2100 | 58.531.5–42.5 | 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
Andorra vs Spain
Health
- Life expectancyAndorra: 84 years in 2023Spain: 83.7 years in 2023
- Child mortalityAndorra: 0.3 per 100 live births in 2024Spain: 0.3 per 100 live births in 2024
- Infant mortalityAndorra: 5.3 per 1,000 live births in 2023Spain: 2.4 per 1,000 live births in 2023
- Safe drinking waterAndorra: 90.6% in 2022Spain: 99.6% in 2022
- DepressionAndorra: 3.73% in 2017Spain: 3.54% in 2017
- Suicide rateAndorra: 7.9 per 100,000 people in 2017Spain: 5.5 per 100,000 people in 2017
People
- PopulationAndorra: 80,860 people in 2023Spain: 47.9 million people in 2023
- Population growthAndorra: 1.39% a year in 2023Spain: 0.02% a year in 2023
- Fertility rateAndorra: 1.08 births per woman in 2023Spain: 1.21 births per woman in 2023
- Urban populationAndorra: 89% in 2025Spain: 80.5% in 2025
- People aged 65 and overAndorra: 15.4% in 2023Spain: 20.7% in 2023
- Net migration rateAndorra: 13.1 per 1,000 people in 2023Spain: 2.5 per 1,000 people in 2023