Mexico vs Peru
Mexico vs Peru: Median age
Median age in 2023: 28.9 years in Mexico and 29.5 years in Peru, by UN estimates. In 2023 the value was higher in Peru, by 0.6 years, or 1.02 times that in Mexico.
years · UN
What the numbers say
- Peru has been higher since 2008.
- In 2023, Mexico ranked 135 and Peru ranked 128 of 229 countries, counting from the highest.
- The UN projection (medium variant) puts Mexico at 49.2 years and Peru at 48.9 years in 2100.
- The world as a whole: 30.4 years in 2023.
Every year
years · UN
| Year | Mexico | Peru | World |
|---|---|---|---|
| 2023 | 28.9 | 29.5 | 30.4 |
| 2022 | 28.5 | 29.1 | 30.1 |
| 2021 | 28.2 | 28.8 | 29.8 |
| 2020 | 27.9 | 28.5 | 29.6 |
| 2019 | 27.6 | 28.2 | 29.3 |
| 2018 | 27.3 | 27.9 | 29 |
| 2017 | 26.9 | 27.6 | 28.8 |
| 2016 | 26.6 | 27.3 | 28.5 |
| 2015 | 26.3 | 27.1 | 28.3 |
| 2014 | 26 | 26.7 | 28.1 |
| 2013 | 25.7 | 26.4 | 27.8 |
| 2012 | 25.4 | 26 | 27.6 |
| 2011 | 25.1 | 25.6 | 27.4 |
| 2010 | 24.8 | 25.2 | 27.2 |
| 2009 | 24.5 | 24.8 | 27 |
| 2008 | 24.3 | 24.4 | 26.7 |
| 2007 | 24 | 24 | 26.5 |
| 2006 | 23.7 | 23.6 | 26.3 |
| 2005 | 23.4 | 23.2 | 26.1 |
| 2004 | 23 | 22.8 | 25.9 |
| 2003 | 22.7 | 22.5 | 25.7 |
| 2002 | 22.4 | 22.1 | 25.5 |
| 2001 | 22.1 | 21.7 | 25.3 |
| 2000 | 21.8 | 21.4 | 25.1 |
| 1999 | 21.5 | 21.1 | 24.9 |
| 1998 | 21.2 | 20.8 | 24.7 |
| 1997 | 20.9 | 20.5 | 24.4 |
| 1996 | 20.6 | 20.2 | 24.2 |
| 1995 | 20.3 | 19.9 | 24 |
| 1994 | 20 | 19.6 | 23.8 |
| 1993 | 19.7 | 19.4 | 23.5 |
| 1992 | 19.3 | 19.2 | 23.3 |
| 1991 | 19 | 19 | 23.1 |
| 1990 | 18.7 | 18.8 | 22.9 |
| 1989 | 18.4 | 18.6 | 22.8 |
| 1988 | 18.1 | 18.4 | 22.6 |
| 1987 | 17.8 | 18.3 | 22.4 |
| 1986 | 17.5 | 18.1 | 22.2 |
| 1985 | 17.2 | 18 | 22 |
| 1984 | 16.9 | 17.9 | 21.9 |
| 1983 | 16.6 | 17.7 | 21.8 |
| 1982 | 16.3 | 17.6 | 21.7 |
| 1981 | 16 | 17.5 | 21.6 |
| 1980 | 15.7 | 17.4 | 21.5 |
| 1979 | 15.5 | 17.3 | 21.3 |
| 1978 | 15.4 | 17.2 | 21.1 |
| 1977 | 15.3 | 17.1 | 21 |
| 1976 | 15.2 | 17.1 | 20.8 |
| 1975 | 15.1 | 17 | 20.7 |
| 1974 | 15 | 17 | 20.5 |
| 1973 | 15 | 16.9 | 20.4 |
| 1972 | 15 | 16.9 | 20.4 |
| 1971 | 15 | 16.8 | 20.3 |
| 1970 | 15 | 16.8 | 20.3 |
| 1969 | 15 | 16.8 | 20.3 |
| 1968 | 15 | 16.8 | 20.4 |
| 1967 | 15.1 | 16.7 | 20.5 |
| 1966 | 15.1 | 16.7 | 20.6 |
| 1965 | 15.1 | 16.7 | 20.8 |
| 1964 | 15.2 | 16.8 | 21 |
| 1963 | 15.2 | 16.8 | 21.2 |
| 1962 | 15.3 | 16.9 | 21.4 |
| 1961 | 15.4 | 16.9 | 21.4 |
| 1960 | 15.5 | 17.1 | 21.5 |
| 1959 | 15.6 | 17.2 | 21.5 |
| 1958 | 15.7 | 17.3 | 21.5 |
| 1957 | 15.8 | 17.4 | 21.6 |
| 1956 | 15.9 | 17.5 | 21.7 |
| 1955 | 16.1 | 17.6 | 21.8 |
| 1954 | 16.2 | 17.7 | 21.9 |
| 1953 | 16.4 | 17.8 | 22 |
| 1952 | 16.6 | 17.8 | 22.1 |
| 1951 | 16.7 | 17.9 | 22.1 |
| 1950 | 16.9 | 17.9 | 22.2 |
UN projection (medium variant) · 2024–2100
| Year | Mexico | Peru | World |
|---|---|---|---|
| 2024 | 29.329.2–29.3 | 29.829.8–29.9 | 30.6 |
| 2025 | 29.629.5–29.8 | 30.230–30.3 | 30.9 |
| 2026 | 3029.7–30.3 | 30.630.3–30.8 | 31.1 |
| 2027 | 30.430–30.8 | 30.930.5–31.3 | 31.3 |
| 2028 | 30.730.2–31.3 | 31.330.8–31.8 | 31.6 |
| 2029 | 31.130.4–31.8 | 31.631–32.3 | 31.8 |
| 2030 | 31.530.7–32.3 | 3231.2–32.8 | 32 |
| 2031 | 31.830.9–32.8 | 32.431.5–33.3 | 32.2 |
| 2032 | 32.231.2–33.3 | 32.731.7–33.8 | 32.4 |
| 2033 | 32.531.4–33.8 | 33.131.9–34.3 | 32.6 |
| 2034 | 32.931.7–34.3 | 33.432.2–34.8 | 32.8 |
| 2035 | 33.332–34.8 | 33.832.4–35.3 | 33 |
| 2036 | 33.732.2–35.3 | 34.132.6–35.8 | 33.2 |
| 2037 | 3432.5–35.8 | 34.532.9–36.3 | 33.4 |
| 2038 | 34.432.7–36.3 | 34.833.1–36.9 | 33.6 |
| 2039 | 34.833–36.8 | 35.233.4–37.3 | 33.8 |
| 2040 | 35.233.2–37.3 | 35.533.7–37.8 | 34 |
| 2041 | 35.533.5–37.8 | 35.933.9–38.3 | 34.2 |
| 2042 | 35.933.8–38.3 | 36.334.2–38.8 | 34.4 |
| 2043 | 36.234–38.8 | 36.634.5–39.3 | 34.6 |
| 2044 | 36.634.3–39.3 | 3734.7–39.8 | 34.8 |
| 2045 | 36.934.5–39.8 | 37.335–40.3 | 35 |
| 2046 | 37.334.8–40.2 | 37.735.2–40.7 | 35.2 |
| 2047 | 37.735.1–40.7 | 3835.4–41.2 | 35.4 |
| 2048 | 3835.3–41.2 | 38.435.6–41.7 | 35.6 |
| 2049 | 38.435.6–41.7 | 38.735.8–42.2 | 35.9 |
| 2050 | 38.735.8–42.1 | 39.136–42.7 | 36.1 |
| 2051 | 39.136.1–42.6 | 39.436.2–43.2 | 36.3 |
| 2052 | 39.436.3–43.1 | 39.736.4–43.7 | 36.5 |
| 2053 | 39.836.5–43.5 | 4036.6–44.1 | 36.7 |
| 2054 | 40.136.7–44 | 40.336.7–44.6 | 36.9 |
| 2055 | 40.536.9–44.4 | 40.636.9–45 | 37.1 |
| 2056 | 40.837–44.9 | 40.937.1–45.5 | 37.3 |
| 2057 | 41.137.2–45.3 | 41.237.3–45.9 | 37.5 |
| 2058 | 41.437.4–45.8 | 41.537.5–46.3 | 37.6 |
| 2059 | 41.737.5–46.2 | 41.837.7–46.6 | 37.8 |
| 2060 | 4237.7–46.7 | 4237.8–47 | 37.9 |
| 2061 | 42.337.8–47.2 | 42.338–47.4 | 38 |
| 2062 | 42.537.9–47.6 | 42.638.2–47.8 | 38.1 |
| 2063 | 42.838–48 | 42.838.3–48.1 | 38.3 |
| 2064 | 43.138.2–48.4 | 43.138.4–48.5 | 38.4 |
| 2065 | 43.338.4–48.8 | 43.338.6–48.9 | 38.5 |
| 2066 | 43.638.6–49.2 | 43.638.8–49.3 | 38.6 |
| 2067 | 43.838.8–49.6 | 43.838.9–49.6 | 38.7 |
| 2068 | 44.138.9–50 | 4439.1–50 | 38.8 |
| 2069 | 44.339.1–50.4 | 44.339.2–50.4 | 38.9 |
| 2070 | 44.539.3–50.8 | 44.539.4–50.7 | 39 |
| 2071 | 44.839.4–51.1 | 44.739.5–51 | 39.1 |
| 2072 | 4539.5–51.5 | 44.939.7–51.4 | 39.2 |
| 2073 | 45.239.7–51.9 | 45.139.9–51.8 | 39.3 |
| 2074 | 45.439.8–52.2 | 45.340–52.1 | 39.4 |
| 2075 | 45.640–52.6 | 45.540.2–52.5 | 39.5 |
| 2076 | 45.840.1–53 | 45.740.3–52.9 | 39.6 |
| 2077 | 4640.2–53.3 | 45.940.5–53.3 | 39.7 |
| 2078 | 46.240.3–53.6 | 46.140.6–53.7 | 39.8 |
| 2079 | 46.440.4–53.9 | 46.340.7–54 | 40 |
| 2080 | 46.540.5–54.1 | 46.440.9–54.3 | 40.1 |
| 2081 | 46.740.6–54.3 | 46.641–54.7 | 40.2 |
| 2082 | 46.940.7–54.5 | 46.841.1–54.9 | 40.3 |
| 2083 | 4740.8–54.7 | 46.941.2–55.2 | 40.4 |
| 2084 | 47.240.9–54.8 | 47.141.3–55.5 | 40.5 |
| 2085 | 47.441–55 | 47.241.4–55.7 | 40.6 |
| 2086 | 47.541.1–55.2 | 47.341.5–55.9 | 40.7 |
| 2087 | 47.741.2–55.3 | 47.541.6–56.2 | 40.9 |
| 2088 | 47.841.3–55.5 | 47.641.7–56.5 | 41 |
| 2089 | 4841.3–55.6 | 47.741.9–56.7 | 41.1 |
| 2090 | 48.141.4–55.7 | 47.842–57 | 41.2 |
| 2091 | 48.241.5–55.9 | 4842.1–57.2 | 41.3 |
| 2092 | 48.341.5–56 | 48.142.2–57.4 | 41.4 |
| 2093 | 48.541.6–56.1 | 48.242.2–57.6 | 41.5 |
| 2094 | 48.641.6–56.2 | 48.342.3–57.9 | 41.6 |
| 2095 | 48.741.7–56.3 | 48.442.4–58.1 | 41.7 |
| 2096 | 48.841.7–56.5 | 48.542.5–58.2 | 41.8 |
| 2097 | 48.941.8–56.6 | 48.642.5–58.4 | 41.9 |
| 2098 | 4941.8–56.8 | 48.742.6–58.6 | 42 |
| 2099 | 49.141.8–56.9 | 48.842.6–58.7 | 42 |
| 2100 | 49.241.9–57.1 | 48.942.6–58.9 | 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
Mexico vs Peru
Health
- Life expectancyMexico: 75.1 years in 2023Peru: 77.7 years in 2023
- Child mortalityMexico: 1.3 per 100 live births in 2024Peru: 1.3 per 100 live births in 2024
- Infant mortalityMexico: 10.4 per 1,000 live births in 2023Peru: 11.7 per 1,000 live births in 2023
- Safe drinking waterMexico: 43% in 2022Peru: 52% in 2022
- DepressionMexico: 2.79% in 2017Peru: 2.28% in 2017
- Suicide rateMexico: 5.9 per 100,000 people in 2017Peru: 3.1 per 100,000 people in 2017
People
- PopulationMexico: 130 million people in 2023Peru: 33.9 million people in 2023
- Population growthMexico: 0.88% a year in 2023Peru: 1.12% a year in 2023
- Fertility rateMexico: 1.91 births per woman in 2023Peru: 1.98 births per woman in 2023
- Urban populationMexico: 80% in 2025Peru: 85.6% in 2025
- People aged 65 and overMexico: 8% in 2023Peru: 9% in 2023
- Net migration rateMexico: -0.8 per 1,000 people in 2023Peru: 0.7 per 1,000 people in 2023
Economy
Education
Politics
Conflict
Military
- Military spendingMexico: 0.74% of GDP in 2025Peru: 0.81% of GDP in 2025
- Military spending in US dollarsMexico: $13.8B in 2025Peru: $2.43B in 2025
- Military spending per personMexico: $104 in 2025Peru: $75 in 2025
- Military share of state spendingMexico: 2.5% of government spending in 2025Peru: 3.7% of government spending in 2025
- Armed forces personnelMexico: 341,000 people in 2020Peru: 158,000 people in 2020
- National powerMexico: 1.14% of world capability in 2022Peru: 0.28% of world capability in 2022
- Armed forces, share of workersMexico: 0.64% of the labour force in 2020Peru: 0.94% of the labour force in 2020
- Arms importsMexico: 9 million TIV in 2025Peru: 90 million TIV in 2025
- Arms exportsMexico: 1 million TIV in 2019Peru: 5 million TIV in 2004