Spain vs Tanzania

Spain vs Tanzania: Median age

Median age in 2023: 44.9 years in Spain and 17.2 years in Tanzania, by UN estimates. In 2023 the value was higher in Spain, by 27.7 years, or 2.6 times that in Tanzania.

years · UN

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

Every year

years · UN

YearSpainTanzaniaWorld
202344.917.230.4
202244.417.130.1
202143.91729.8
202043.516.929.6
201943.116.829.3
201842.816.829
201742.416.728.8
201642.116.628.5
201541.616.428.3
201441.216.328.1
201340.616.227.8
201240.116.227.6
201139.616.127.4
201039.216.127.2
200938.816.127
200838.416.226.7
200738.216.226.5
20063816.326.3
200537.816.326.1
200437.516.325.9
200337.316.425.7
200237.116.425.5
200136.816.425.3
200036.316.425.1
199935.916.324.9
199835.516.324.7
199735.116.224.4
199634.716.324.2
199534.316.324
199433.916.223.8
199333.615.923.5
199233.215.723.3
199132.915.623.1
199032.515.522.9
198932.115.522.8
198831.815.422.6
198731.515.322.4
198631.215.222.2
198530.915.222
198430.615.121.9
198330.415.121.8
198230.115.221.7
198129.915.321.6
198029.815.421.5
197929.615.521.3
197829.415.621.1
197729.215.721
197629.115.820.8
19752915.820.7
19742915.820.5
19732915.920.4
19722915.920.4
197129.115.920.3
197029.11620.3
196929.31620.3
196829.416.120.4
196729.416.120.5
196629.316.220.6
196529.216.320.8
196429.116.321
19632916.321.2
196228.816.321.4
196128.616.321.4
196028.416.321.5
195928.216.321.5
195828.116.321.5
19572816.321.6
195627.916.321.7
195527.716.321.8
195427.516.221.9
195327.216.222
19522716.122.1
195126.816.122.1
195026.51622.2
UN projection (medium variant) · 2024–2100
YearSpainTanzaniaWorld
202445.445.3–45.517.417.4–17.430.6
202545.945.6–46.117.517.5–17.530.9
202646.345.9–46.717.617.6–17.731.1
202746.846.1–47.317.717.7–17.931.3
202847.246.4–47.917.917.7–18.131.6
202947.646.5–48.61817.8–18.331.8
203048.146.6–49.218.117.8–18.532
203148.446.7–49.918.317.8–18.832.2
203248.846.6–50.518.417.9–19.132.4
203349.246.5–51.218.517.9–19.432.6
203449.546.4–51.818.718–19.732.8
203549.846.2–52.418.918–20.133
203650.146–53.11918.1–20.433.2
203750.445.8–53.719.218.2–20.833.4
203850.645.4–54.319.418.3–21.133.6
203950.845–54.919.618.3–21.533.8
20405144.6–55.419.818.3–21.934
204151.244–562018.4–22.334.2
204251.443.3–56.520.218.4–22.734.4
204351.542.7–57.120.418.5–23.134.6
204451.642.2–57.620.618.6–23.534.8
204551.741.7–58.120.818.7–23.935
204651.841.4–58.62118.8–24.435.2
204751.841.3–59.121.218.9–24.835.4
204851.841.2–59.621.419–25.235.6
204951.841.1–6021.619.2–25.635.9
205051.841.1–60.521.819.3–26.136.1
205151.741.2–60.92219.4–26.536.3
205251.741.3–61.322.219.5–26.936.5
205351.741.3–61.822.419.7–27.336.7
205451.741.4–62.222.619.8–27.736.9
205551.741.4–62.622.819.9–28.137.1
205651.741.4–63.12320–28.437.3
205751.841.5–63.523.220.1–28.837.5
205851.841.5–63.923.420.2–29.237.6
205951.941.5–64.223.620.3–29.537.8
20605241.5–64.523.820.4–29.937.9
206152.241.4–64.82420.5–30.238
206252.341.4–65.124.220.6–30.538.1
206352.441.3–65.424.420.7–30.938.3
206452.541.2–65.624.620.8–31.238.4
206552.641.1–65.924.820.8–31.638.5
206652.641–66.125.120.9–31.938.6
206752.740.8–66.325.321–32.338.7
206852.740.7–66.625.521.1–32.738.8
206952.740.5–66.925.721.1–3338.9
207052.740.4–67.125.921.2–33.339
207152.740.4–67.426.121.3–33.739.1
207252.640.3–67.826.321.4–3439.2
207352.540.2–68.126.521.5–34.339.3
207452.440.2–68.426.721.6–34.739.4
207552.240.2–68.82721.7–3539.5
207652.140.1–69.227.221.8–35.339.6
20775240.1–69.627.421.9–35.639.7
207851.840–7027.622–35.939.8
207951.740–70.427.822.1–36.240
208051.640–70.82822.2–36.440.1
208151.539.9–71.228.322.3–36.740.2
208251.540–71.628.522.3–3740.3
208351.440–7228.722.4–37.240.4
208451.340.1–72.428.922.5–37.540.5
208551.340.1–72.729.122.6–37.840.6
208651.340.2–7329.322.7–3840.7
208751.340.2–73.329.522.8–38.240.9
208851.340.2–73.529.722.9–38.541
208951.440.3–73.829.923–38.741.1
209051.440.3–7430.223.1–38.941.2
209151.540.4–74.330.423.2–39.141.3
209251.640.4–74.530.623.3–39.241.4
209351.740.5–74.730.823.5–39.441.5
209451.740.6–74.83123.6–39.641.6
209551.840.7–74.831.223.6–39.841.7
209651.940.7–74.731.423.7–39.941.8
20975240.8–74.431.623.8–4041.9
209852.140.8–74.231.923.9–40.242
209952.240.8–73.932.124–40.342
210052.240.9–73.532.324.1–40.442.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

Spain vs Tanzania

Health

People

Economy

Education

Politics

Conflict

Military

Climate

Technology and environment