censuswall NGA × ZAF · 2026 · side by side
Topics

Compare · UN World Population Prospects 2024

Nigeria and South Africa, side by side

In 2026, half of the people in Nigeria are older than 19. In South Africa, half are older than 30.

UN estimates for mid-2023: Nigeria 227,882,945 people · South Africa 63,212,384

Nigeria 242 million people Half are older than 19 3 in 100 are 65 or older
South Africa 65.5 million people Half are older than 30 7 in 100 are 65 or older

How to read this: each pyramid stacks a place’s people by age — babies at the bottom, the oldest at the top, men on the left and women on the right. A wide bottom means many children; a wide top means many older people.

Each bar is a share of its own place’s people, so a small country and a large one can be read side by side.

estimatesprojections

men women projected

Verified 2026-09-30 · 73 canaries

NGA × ZAF · 2026 · age groups

If each place were 100 people

Shrink each population to 100 people and count them. Dots are children under 15, filled squares are people aged 15 to 64, and open squares are people 65 and over. The picture follows the year slider above.

Nigeria
Children, under 15
40
Aged 15 to 64
57
Aged 65 and over
3
South Africa
Children, under 15
26
Aged 15 to 64
67
Aged 65 and over
7

NGA × ZAF · families and lifetimes

Children, and how long lives last

Nigeria is at about 4.2 children for each woman, at this year's rates; South Africa is at about 2.2. Life expectancy at birth this year: about 55 years in Nigeria, about 67 in South Africa.

Children per woman, 2026

Each figure is one child: how many children a woman would have in her lifetime at that year’s rates.

Nigeria 4.2
South Africa 2.2

The dashed line at 2.1 is about what it takes for each generation to replace the one before it, leaving migration aside.

How long a newborn can expect to live, 2026

Each block is ten years of life, if the death rates of that year stayed the same all life long.

Nigeria 55 years
South Africa 67 years

Hatched marks are UN projections (medium variant), not measurements.

NGA × ZAF · 1950–2100 · how many

How big, and where they are heading

Nigeria is the larger of the two, with about 4 times as many people as South Africa: 242 million to 65.5 million.

Nigeria's population is 6.5 times what it was in 1950; South Africa's population is 5.0 times what it was in 1950.

Nigeria's population is still growing in 2100. Meanwhile South Africa's population is still growing in 2100. In 2100: 477 million in Nigeria, 94.3 million in South Africa (UN projection, medium).

Show the numbers
YearNigeria: peopleSouth Africa: peopleNigeria: half older thanSouth Africa: half older thanNigeria: children per womanSouth Africa: children per womanNigeria: life expectancySouth Africa: life expectancy
195037.2830 million13.0385 million19.120.26.426.0335.543.1
196045.0538 million16.4402 million19.318.96.366.1137.252.6
197055.8938 million22.2800 million18.918.76.475.6340.055.7
198073.7646 million29.5189 million17.719.46.854.7846.060.0
199097.1209 million40.7463 million17.221.36.463.7245.762.9
2000126.382 million47.1597 million17.821.86.122.4147.158.4
2010166.643 million52.3441 million17.724.65.952.4451.358.9
2023227.883 million63.2124 million18.829.24.482.2254.566.1
2030*262.381 million68.1614 million20.330.63.822.1055.567.3
2040*312.710 million74.0356 million22.732.03.101.9857.168.9
2050*359.186 million79.1773 million24.933.32.661.8958.570.3
2060*399.785 million83.4435 million27.335.02.391.8459.971.7
2070*433.486 million86.8570 million29.836.22.201.8061.273.1
2080*457.922 million89.6741 million32.037.22.071.7762.574.5
2090*471.886 million92.1607 million33.838.31.981.7563.675.9
2100*476.748 million94.3144 million35.339.31.911.7464.777.3

* UN projection, medium variant. People at mid-year; ages and life expectancy in years.

NGA − ZAF · 1950–2100 · every age

Which ages each place has more of

Each column is a year and each row an age, from babies at the bottom to 100 at the top. The shade of a cell shows which place has more of its people at that age — the key beside the picture tells you which shade is Nigeria and which is South Africa, and the in-between shade means the same. Because it compares shares, a small place and a large one can be compared fairly.

236 countries · 1950–2100

Where they sit among all countries

Every country in the world, every year from 1950 to 2100. The grey cloud shows where most countries are; Nigeria is drawn in solid blue squares and South Africa in open orange squares, so you can see whether each is ahead of the crowd, behind it or in the middle.

Apparatus

Sources and method

Both sides of this comparison come from the UN Population Division's World Population Prospects 2024 — the same release, the same tables, counted to 2023 and projected beyond it on the medium variant. That shared origin is what a comparison rests on.

How the median age and the “100 people” pictures are worked out, and why the pictures of every country leave the regions out: how the figures here are put together.

250 comparisons have a page of their own; any other two places can be compared from the boxes at the top.

Sources: UN WPP 2024 · flag-icons. Every source, its licence and how to cite it →

Verified 2026-09-30 · 73 canaries