Mexico vs Spain

Mexico vs Spain: Median age

Median age in 2023: 28.9 years in Mexico and 44.9 years in Spain, by UN estimates. In 2023 the value was higher in Spain, by 16 years, or 1.55 times that in Mexico.

years · UN

Mexico vs Spain: Median ageMedian age in 2023: 28.9 years in Mexico and 44.9 years in Spain, by UN estimates. In 2023 the value was higher in Spain, by 16 years, or 1.55 times that in Mexico.
MexicoSpainUN projection (medium variant)95% prediction intervalWorld

What the numbers say

  • Spain has been higher in every year both have figures for since 1950.
  • In 2023, Mexico ranked 135 and Spain ranked 16 of 229 countries, counting from the highest.
  • The UN projection (medium variant) puts Mexico at 49.2 years and Spain at 52.2 years in 2100.
  • The world as a whole: 30.4 years in 2023.

Every year

years · UN

YearMexicoSpainWorld
202328.944.930.4
202228.544.430.1
202128.243.929.8
202027.943.529.6
201927.643.129.3
201827.342.829
201726.942.428.8
201626.642.128.5
201526.341.628.3
20142641.228.1
201325.740.627.8
201225.440.127.6
201125.139.627.4
201024.839.227.2
200924.538.827
200824.338.426.7
20072438.226.5
200623.73826.3
200523.437.826.1
20042337.525.9
200322.737.325.7
200222.437.125.5
200122.136.825.3
200021.836.325.1
199921.535.924.9
199821.235.524.7
199720.935.124.4
199620.634.724.2
199520.334.324
19942033.923.8
199319.733.623.5
199219.333.223.3
19911932.923.1
199018.732.522.9
198918.432.122.8
198818.131.822.6
198717.831.522.4
198617.531.222.2
198517.230.922
198416.930.621.9
198316.630.421.8
198216.330.121.7
19811629.921.6
198015.729.821.5
197915.529.621.3
197815.429.421.1
197715.329.221
197615.229.120.8
197515.12920.7
1974152920.5
1973152920.4
1972152920.4
19711529.120.3
19701529.120.3
19691529.320.3
19681529.420.4
196715.129.420.5
196615.129.320.6
196515.129.220.8
196415.229.121
196315.22921.2
196215.328.821.4
196115.428.621.4
196015.528.421.5
195915.628.221.5
195815.728.121.5
195715.82821.6
195615.927.921.7
195516.127.721.8
195416.227.521.9
195316.427.222
195216.62722.1
195116.726.822.1
195016.926.522.2
UN projection (medium variant) · 2024–2100
YearMexicoSpainWorld
202429.329.2–29.345.445.3–45.530.6
202529.629.5–29.845.945.6–46.130.9
20263029.7–30.346.345.9–46.731.1
202730.430–30.846.846.1–47.331.3
202830.730.2–31.347.246.4–47.931.6
202931.130.4–31.847.646.5–48.631.8
203031.530.7–32.348.146.6–49.232
203131.830.9–32.848.446.7–49.932.2
203232.231.2–33.348.846.6–50.532.4
203332.531.4–33.849.246.5–51.232.6
203432.931.7–34.349.546.4–51.832.8
203533.332–34.849.846.2–52.433
203633.732.2–35.350.146–53.133.2
20373432.5–35.850.445.8–53.733.4
203834.432.7–36.350.645.4–54.333.6
203934.833–36.850.845–54.933.8
204035.233.2–37.35144.6–55.434
204135.533.5–37.851.244–5634.2
204235.933.8–38.351.443.3–56.534.4
204336.234–38.851.542.7–57.134.6
204436.634.3–39.351.642.2–57.634.8
204536.934.5–39.851.741.7–58.135
204637.334.8–40.251.841.4–58.635.2
204737.735.1–40.751.841.3–59.135.4
20483835.3–41.251.841.2–59.635.6
204938.435.6–41.751.841.1–6035.9
205038.735.8–42.151.841.1–60.536.1
205139.136.1–42.651.741.2–60.936.3
205239.436.3–43.151.741.3–61.336.5
205339.836.5–43.551.741.3–61.836.7
205440.136.7–4451.741.4–62.236.9
205540.536.9–44.451.741.4–62.637.1
205640.837–44.951.741.4–63.137.3
205741.137.2–45.351.841.5–63.537.5
205841.437.4–45.851.841.5–63.937.6
205941.737.5–46.251.941.5–64.237.8
20604237.7–46.75241.5–64.537.9
206142.337.8–47.252.241.4–64.838
206242.537.9–47.652.341.4–65.138.1
206342.838–4852.441.3–65.438.3
206443.138.2–48.452.541.2–65.638.4
206543.338.4–48.852.641.1–65.938.5
206643.638.6–49.252.641–66.138.6
206743.838.8–49.652.740.8–66.338.7
206844.138.9–5052.740.7–66.638.8
206944.339.1–50.452.740.5–66.938.9
207044.539.3–50.852.740.4–67.139
207144.839.4–51.152.740.4–67.439.1
20724539.5–51.552.640.3–67.839.2
207345.239.7–51.952.540.2–68.139.3
207445.439.8–52.252.440.2–68.439.4
207545.640–52.652.240.2–68.839.5
207645.840.1–5352.140.1–69.239.6
20774640.2–53.35240.1–69.639.7
207846.240.3–53.651.840–7039.8
207946.440.4–53.951.740–70.440
208046.540.5–54.151.640–70.840.1
208146.740.6–54.351.539.9–71.240.2
208246.940.7–54.551.540–71.640.3
20834740.8–54.751.440–7240.4
208447.240.9–54.851.340.1–72.440.5
208547.441–5551.340.1–72.740.6
208647.541.1–55.251.340.2–7340.7
208747.741.2–55.351.340.2–73.340.9
208847.841.3–55.551.340.2–73.541
20894841.3–55.651.440.3–73.841.1
209048.141.4–55.751.440.3–7441.2
209148.241.5–55.951.540.4–74.341.3
209248.341.5–5651.640.4–74.541.4
209348.541.6–56.151.740.5–74.741.5
209448.641.6–56.251.740.6–74.841.6
209548.741.7–56.351.840.7–74.841.7
209648.841.7–56.551.940.7–74.741.8
209748.941.8–56.65240.8–74.441.9
20984941.8–56.852.140.8–74.242
209949.141.8–56.952.240.8–73.942
210049.241.9–57.152.240.9–73.542.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 Spain

Health

People

Economy

Education

Politics

Conflict

Military

Climate

Technology and environment