Indonesia vs Spain

Indonesia vs Spain: Median age

Median age in 2023: 29.8 years in Indonesia and 44.9 years in Spain, by UN estimates. In 2023 the value was higher in Spain, by 15.1 years, or 1.51 times that in Indonesia.

years · UN

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

Every year

years · UN

YearIndonesiaSpainWorld
202329.844.930.4
202229.644.430.1
202129.343.929.8
202029.143.529.6
201928.943.129.3
201828.642.829
201728.442.428.8
201628.142.128.5
201527.941.628.3
201427.641.228.1
201327.440.627.8
201227.140.127.6
201126.939.627.4
201026.639.227.2
200926.338.827
20082638.426.7
200725.738.226.5
200625.53826.3
200525.237.826.1
200424.937.525.9
200324.537.325.7
200224.237.125.5
200123.936.825.3
200023.636.325.1
199923.335.924.9
19982335.524.7
199722.735.124.4
199622.434.724.2
199522.134.324
199421.833.923.8
199321.533.623.5
199221.233.223.3
199120.932.923.1
199020.732.522.9
198920.432.122.8
198820.131.822.6
198719.831.522.4
198619.531.222.2
198519.330.922
198419.130.621.9
198318.930.421.8
198218.730.121.7
198118.529.921.6
198018.429.821.5
197918.229.621.3
197818.129.421.1
19771829.221
197617.929.120.8
197517.82920.7
197417.82920.5
197317.72920.4
197217.72920.4
197117.829.120.3
197017.929.120.3
19691829.320.3
196818.229.420.4
196718.429.420.5
196618.629.320.6
196518.829.220.8
196418.929.121
1963192921.2
196219.128.821.4
196119.128.621.4
196019.128.421.5
195919.128.221.5
195819.128.121.5
1957192821.6
195618.927.921.7
195518.827.721.8
195418.627.521.9
195318.527.222
195218.32722.1
195118.126.822.1
195017.926.522.2
UN projection (medium variant) · 2024–2100
YearIndonesiaSpainWorld
202430.130.1–30.245.445.3–45.530.6
202530.430.3–30.545.945.6–46.130.9
202630.730.4–30.946.345.9–46.731.1
202730.930.6–31.346.846.1–47.331.3
202831.230.8–31.747.246.4–47.931.6
202931.531–32.147.646.5–48.631.8
203031.831.2–32.548.146.6–49.232
203132.131.4–32.948.446.7–49.932.2
203232.431.5–33.348.846.6–50.532.4
203332.631.7–33.749.246.5–51.232.6
203432.931.8–34.149.546.4–51.832.8
203533.132–34.549.846.2–52.433
203633.332.1–34.850.146–53.133.2
203733.632.3–35.250.445.8–53.733.4
203833.832.4–35.550.645.4–54.333.6
20393432.5–35.950.845–54.933.8
204034.332.7–36.25144.6–55.434
204134.532.9–36.651.244–5634.2
204234.833–36.951.443.3–56.534.4
20433533.2–37.351.542.7–57.134.6
204435.333.4–37.651.642.2–57.634.8
204535.533.6–37.951.741.7–58.135
204635.833.8–38.351.841.4–58.635.2
20473634–38.651.841.3–59.135.4
204836.334.2–3951.841.2–59.635.6
204936.634.4–39.351.841.1–6035.9
205036.834.5–39.651.841.1–60.536.1
205137.134.7–4051.741.2–60.936.3
205237.434.8–40.351.741.3–61.336.5
205337.634.9–40.751.741.3–61.836.7
205437.935–4151.741.4–62.236.9
205538.135.1–41.451.741.4–62.637.1
205638.335.2–41.751.741.4–63.137.3
205738.535.3–42.151.841.5–63.537.5
205838.735.3–42.451.841.5–63.937.6
205938.935.4–42.851.941.5–64.237.8
206039.135.5–43.15241.5–64.537.9
206139.335.6–43.452.241.4–64.838
206239.435.8–43.752.341.4–65.138.1
206339.635.9–4452.441.3–65.438.3
206439.836.1–44.352.541.2–65.638.4
206539.936.2–44.652.641.1–65.938.5
206640.136.4–44.952.641–66.138.6
206740.336.5–45.252.740.8–66.338.7
206840.436.6–45.552.740.7–66.638.8
206940.636.8–45.852.740.5–66.938.9
207040.736.9–46.252.740.4–67.139
207140.937.1–46.452.740.4–67.439.1
20724137.3–46.752.640.3–67.839.2
207341.237.4–46.852.540.2–68.139.3
207441.337.6–4752.440.2–68.439.4
207541.537.7–47.152.240.2–68.839.5
207641.637.9–47.252.140.1–69.239.6
207741.838.1–47.45240.1–69.639.7
207841.938.2–47.451.840–7039.8
207942.138.4–47.551.740–70.440
208042.238.5–47.651.640–70.840.1
208142.438.7–47.751.539.9–71.240.2
208242.638.8–47.851.540–71.640.3
208342.738.9–4851.440–7240.4
208442.939.1–48.151.340.1–72.440.5
20854339.2–48.251.340.1–72.740.6
208643.239.3–48.451.340.2–7340.7
208743.339.4–48.551.340.2–73.340.9
208843.539.5–48.651.340.2–73.541
208943.639.6–48.851.440.3–73.841.1
209043.839.7–48.951.440.3–7441.2
209143.939.8–49.151.540.4–74.341.3
209244.139.9–49.251.640.4–74.541.4
209344.239.9–49.451.740.5–74.741.5
209444.340–49.551.740.6–74.841.6
209544.440.1–49.751.840.7–74.841.7
209644.640.2–49.851.940.7–74.741.8
209744.740.2–49.95240.8–74.441.9
209844.840.3–5052.140.8–74.242
209944.940.4–50.252.240.8–73.942
21004540.5–50.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

Indonesia vs Spain

Health

People

Economy

Education

Politics

Conflict

Military

Climate

Technology and environment