Pakistan vs Spain

Pakistan vs Spain: Median age

Median age in 2023: 20.3 years in Pakistan and 44.9 years in Spain, by UN estimates. In 2023 the value was higher in Spain, by 24.6 years, or 2.21 times that in Pakistan.

years · UN

Pakistan vs Spain: Median ageMedian age in 2023: 20.3 years in Pakistan and 44.9 years in Spain, by UN estimates. In 2023 the value was higher in Spain, by 24.6 years, or 2.21 times that in Pakistan.
PakistanSpainUN 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, Pakistan ranked 187 and Spain ranked 16 of 229 countries, counting from the highest.
  • The UN projection (medium variant) puts Pakistan at 37.3 years and Spain at 52.2 years in 2100.
  • The world as a whole: 30.4 years in 2023.

Every year

years · UN

YearPakistanSpainWorld
202320.344.930.4
202220.244.430.1
20212043.929.8
202019.843.529.6
201919.743.129.3
201819.542.829
201719.442.428.8
201619.342.128.5
201519.241.628.3
201419.241.228.1
201319.140.627.8
20121940.127.6
201118.939.627.4
201018.839.227.2
200918.638.827
200818.438.426.7
200718.238.226.5
2006183826.3
200517.837.826.1
200417.637.525.9
200317.437.325.7
200217.337.125.5
200117.236.825.3
20001736.325.1
199916.935.924.9
199816.835.524.7
199716.735.124.4
199616.734.724.2
199516.634.324
199416.633.923.8
199316.733.623.5
199216.833.223.3
199116.932.923.1
199016.932.522.9
198916.932.122.8
19881731.822.6
198717.131.522.4
198617.131.222.2
198517.230.922
198417.230.621.9
198317.330.421.8
198217.330.121.7
198117.229.921.6
198017.129.821.5
197916.929.621.3
197816.829.421.1
197716.829.221
197616.829.120.8
197516.82920.7
197416.82920.5
197316.82920.4
197216.92920.4
19711729.120.3
197017.129.120.3
196917.229.320.3
196817.429.420.4
196717.629.420.5
196617.729.320.6
196517.829.220.8
196417.929.121
196317.92921.2
19621828.821.4
19611828.621.4
196018.128.421.5
195918.128.221.5
19581828.121.5
1957182821.6
19561827.921.7
195517.927.721.8
195417.827.521.9
195317.727.222
195217.62722.1
195117.526.822.1
195017.326.522.2
UN projection (medium variant) · 2024–2100
YearPakistanSpainWorld
202420.420.4–20.545.445.3–45.530.6
202520.620.5–20.745.945.6–46.130.9
202620.820.6–20.946.345.9–46.731.1
202720.920.7–21.146.846.1–47.331.3
202821.120.8–21.447.246.4–47.931.6
202921.321–21.647.646.5–48.631.8
203021.621.1–21.948.146.6–49.232
203121.821.3–22.348.446.7–49.932.2
203222.121.5–22.648.846.6–50.532.4
203322.321.6–22.949.246.5–51.232.6
203422.621.8–23.349.546.4–51.832.8
203522.821.9–23.749.846.2–52.433
203623.122.1–24.150.146–53.133.2
203723.322.2–24.550.445.8–53.733.4
203823.622.4–24.950.645.4–54.333.6
203923.822.5–25.350.845–54.933.8
20402422.5–25.65144.6–55.434
204124.322.6–2651.244–5634.2
204224.522.7–26.351.443.3–56.534.4
204324.722.8–26.751.542.7–57.134.6
204424.922.9–27.151.642.2–57.634.8
204525.123–27.451.741.7–58.135
204625.423.1–27.851.841.4–58.635.2
204725.623.2–28.151.841.3–59.135.4
204825.823.3–28.551.841.2–59.635.6
20492623.4–28.851.841.1–6035.9
205026.323.6–29.251.841.1–60.536.1
205126.523.7–29.651.741.2–60.936.3
205226.723.9–29.951.741.3–61.336.5
205326.924–30.351.741.3–61.836.7
205427.224.1–30.651.741.4–62.236.9
205527.424.3–3151.741.4–62.637.1
205627.624.4–31.451.741.4–63.137.3
205727.824.6–31.751.841.5–63.537.5
205828.124.7–32.151.841.5–63.937.6
205928.324.9–32.451.941.5–64.237.8
206028.525–32.75241.5–64.537.9
206128.825.2–3352.241.4–64.838
20622925.4–33.352.341.4–65.138.1
206329.225.6–33.652.441.3–65.438.3
206429.525.7–33.952.541.2–65.638.4
206529.725.9–34.252.641.1–65.938.5
206629.926–34.552.641–66.138.6
206730.226.2–34.852.740.8–66.338.7
206830.426.3–3552.740.7–66.638.8
206930.726.5–35.352.740.5–66.938.9
207030.926.6–35.552.740.4–67.139
207131.226.7–35.852.740.4–67.439.1
207231.426.9–36.152.640.3–67.839.2
207331.627–36.452.540.2–68.139.3
207431.927.2–36.652.440.2–68.439.4
207532.127.3–36.952.240.2–68.839.5
207632.327.4–37.152.140.1–69.239.6
207732.627.6–37.45240.1–69.639.7
207832.827.7–37.751.840–7039.8
20793327.9–3851.740–70.440
208033.228–38.351.640–70.840.1
208133.528.1–38.651.539.9–71.240.2
208233.728.2–38.951.540–71.640.3
208333.928.4–39.151.440–7240.4
208434.128.5–39.451.340.1–72.440.5
208534.328.6–39.651.340.1–72.740.6
208634.528.8–39.851.340.2–7340.7
208734.728.9–40.151.340.2–73.340.9
208834.929–40.351.340.2–73.541
208935.129.1–40.551.440.3–73.841.1
209035.329.3–40.751.440.3–7441.2
209135.529.4–40.951.540.4–74.341.3
209235.729.5–41.151.640.4–74.541.4
209335.929.7–41.351.740.5–74.741.5
209436.129.8–41.451.740.6–74.841.6
209536.330–41.551.840.7–74.841.7
209636.530.1–41.751.940.7–74.741.8
209736.730.3–41.85240.8–74.441.9
209836.930.4–41.952.140.8–74.242
209937.130.5–42.152.240.8–73.942
210037.330.6–42.352.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

Pakistan vs Spain

Health

People

Economy

Education

Politics

Conflict

Military

Climate

Technology and environment