Nigeria vs Spain

Nigeria vs Spain: Median age

Median age in 2023: 17.8 years in Nigeria and 44.9 years in Spain, by UN estimates. In 2023 the value was higher in Spain, by 27.2 years, or 2.53 times that in Nigeria.

years · UN

Nigeria vs Spain: Median ageMedian age in 2023: 17.8 years in Nigeria and 44.9 years in Spain, by UN estimates. In 2023 the value was higher in Spain, by 27.2 years, or 2.53 times that in Nigeria.
NigeriaSpainUN projection (medium variant)95% prediction intervalWorld

What the numbers say

  • Spain has been higher in every year both have figures for since 1950.
  • The UN projection (medium variant) puts Nigeria at 34.3 years and Spain at 52.2 years in 2100.
  • The world as a whole: 30.4 years in 2023.

Every year

years · UN

YearNigeriaSpainWorld
202317.844.930.4
202217.644.430.1
202117.443.929.8
202017.243.529.6
201917.143.129.3
201816.942.829
201716.842.428.8
201616.742.128.5
201516.741.628.3
201416.641.228.1
201316.640.627.8
201216.640.127.6
201116.639.627.4
201016.739.227.2
200916.738.827
200816.738.426.7
200716.838.226.5
200616.83826.3
200516.837.826.1
200416.937.525.9
200316.937.325.7
200216.937.125.5
200116.936.825.3
200016.836.325.1
199916.835.924.9
199816.735.524.7
199716.635.124.4
199616.534.724.2
199516.534.324
199416.433.923.8
199316.333.623.5
199216.233.223.3
199116.232.923.1
199016.232.522.9
198916.132.122.8
198816.131.822.6
198716.131.522.4
198616.231.222.2
198516.230.922
198416.330.621.9
198316.430.421.8
198216.530.121.7
198116.629.921.6
198016.729.821.5
197916.829.621.3
197816.929.421.1
197717.129.221
197617.229.120.8
197517.32920.7
197417.42920.5
197317.52920.4
197217.72920.4
197117.829.120.3
197017.929.120.3
19691829.320.3
196818.129.420.4
196718.229.420.5
196618.329.320.6
196518.329.220.8
196418.329.121
196318.32921.2
196218.328.821.4
196118.328.621.4
196018.328.421.5
195918.328.221.5
195818.328.121.5
195718.32821.6
195618.227.921.7
195518.227.721.8
195418.227.521.9
195318.227.222
195218.22722.1
195118.126.822.1
195018.126.522.2
UN projection (medium variant) · 2024–2100
YearNigeriaSpainWorld
20241817.9–1845.445.3–45.530.6
202518.118–18.345.945.6–46.130.9
202618.418.1–18.646.345.9–46.731.1
202718.618.2–18.946.846.1–47.331.3
202818.818.3–19.347.246.4–47.931.6
20291918.4–19.647.646.5–48.631.8
203019.318.5–2048.146.6–49.232
203119.518.6–20.448.446.7–49.932.2
203219.718.7–20.848.846.6–50.532.4
20332018.8–21.249.246.5–51.232.6
203420.218.8–21.649.546.4–51.832.8
203520.518.9–2249.846.2–52.433
203620.718.9–22.450.146–53.133.2
20372119–22.850.445.8–53.733.4
203821.219–23.250.645.4–54.333.6
203921.419–23.650.845–54.933.8
204021.718.9–245144.6–55.434
204121.918.9–24.451.244–5634.2
204222.118.9–24.851.443.3–56.534.4
204322.318.8–25.151.542.7–57.134.6
204422.518.9–25.551.642.2–57.634.8
204522.719–25.951.741.7–58.135
20462319.1–26.351.841.4–58.635.2
204723.219.1–26.651.841.3–59.135.4
204823.419.3–2751.841.2–59.635.6
204923.719.4–27.351.841.1–6035.9
205023.919.5–27.751.841.1–60.536.1
205124.119.7–28.151.741.2–60.936.3
205224.419.8–28.551.741.3–61.336.5
205324.619.9–28.851.741.3–61.836.7
205424.820–29.251.741.4–62.236.9
205525.120.2–29.551.741.4–62.637.1
205625.320.3–29.851.741.4–63.137.3
205725.620.5–3051.841.5–63.537.5
205825.820.6–30.351.841.5–63.937.6
205926.120.7–30.651.941.5–64.237.8
206026.320.8–30.95241.5–64.537.9
206126.620.9–31.152.241.4–64.838
206226.821–31.452.341.4–65.138.1
206327.121.1–31.652.441.3–65.438.3
206427.321.2–31.852.541.2–65.638.4
206527.521.4–3252.641.1–65.938.5
206627.821.5–32.352.641–66.138.6
20672821.6–32.552.740.8–66.338.7
206828.321.7–32.752.740.7–66.638.8
206928.521.8–32.952.740.5–66.938.9
207028.821.9–33.152.740.4–67.139
20712922–33.352.740.4–67.439.1
207229.222.2–33.552.640.3–67.839.2
207329.522.3–33.652.540.2–68.139.3
207429.722.4–33.852.440.2–68.439.4
207529.922.5–3452.240.2–68.839.5
207630.122.7–34.252.140.1–69.239.6
207730.322.8–34.45240.1–69.639.7
207830.622.9–34.651.840–7039.8
207930.823.1–34.751.740–70.440
20803123.2–34.951.640–70.840.1
208131.223.4–35.151.539.9–71.240.2
208231.423.5–35.251.540–71.640.3
208331.523.7–35.451.440–7240.4
208431.723.9–35.651.340.1–72.440.5
208531.924.1–35.751.340.1–72.740.6
208632.124.2–35.951.340.2–7340.7
208732.324.4–3651.340.2–73.340.9
208832.424.6–36.151.340.2–73.541
208932.624.7–36.251.440.3–73.841.1
209032.824.9–36.351.440.3–7441.2
209132.925–36.451.540.4–74.341.3
209233.125.2–36.551.640.4–74.541.4
209333.325.3–36.651.740.5–74.741.5
209433.425.5–36.751.740.6–74.841.6
209533.625.6–36.851.840.7–74.841.7
209633.725.7–36.851.940.7–74.741.8
209733.925.8–36.95240.8–74.441.9
20983426–3752.140.8–74.242
209934.226.1–3752.240.8–73.942
210034.326.2–37.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

Nigeria vs Spain

Health

People

Economy

Education

Politics

Conflict

Military

Climate

Technology and environment