Population Pyramid Maker

Enter male and female population by five-year age group to draw a pyramid, get youth, old-age and total dependency ratios, median age and shape, and compare data sets.

Runs in your browser. Your files never leave your device. See how to check

…

How to do it

  1. 1
    Choose a data set

    Pick an example or press + Data set.

  2. 2
    Enter the data

    Type male and female values for each age band, or paste 36 numbers.

  3. 3
    Choose the view

    Switch between counts and percentages of the total.

  4. 4
    Read the ratios

    Check dependency ratios, median age, sex ratio and the shape.

  5. 5
    Compare

    Tick Compare with and choose another data set to overlay.

  6. 6
    Print

    Print the pyramid with its statistics.

About this tool

A population pyramid shows how many males and females there are in each age group, with the youngest at the bottom. Its shape tells a story: a wide base means many children and a growing population, a narrow base and wide top an ageing one. Geography and social science students draw and interpret pyramids at every level, and planners use the same figures to estimate how many people of working age support the young and the old. This maker draws a pyramid from eighteen five-year age bands for each sex, as counts or percentages of the total. It calculates the youth, old-age and total dependency ratios, an estimated median age and the sex ratio, and describes the shape as expansive, stationary or constrictive. A second data set, such as another year or another country, can be overlaid as an outline for comparison, and the pyramid prints with its statistics.

Who it is for

Geography and social studies students, teachers preparing comparisons, and anyone exploring census data for a town, region or country.

The age bands

The standard bands are 0-4, 5-9 and so on up to 80-84, with 85 and over at the top. Enter the number of males and females in each, or paste 36 numbers from a spreadsheet: the 18 male values from youngest to oldest, then the 18 female values. Percentages of the total make pyramids of different-sized populations comparable.

Dependency ratios

The dependency ratio compares people of typical non-working age with those of working age. Youth dependency is the number aged 0-14 per 100 people aged 15-64; old-age dependency is the number aged 65 and over per 100 aged 15-64; the total is the sum. A total of 67 means about two dependants for every three people of working age. These are standard UN definitions, though real working ages vary.

Shapes

An expansive pyramid has a wide base, typical of countries with high birth rates. A constrictive pyramid has a narrow base and a wide middle or top, typical of countries with low birth rates and long life expectancy. A stationary pyramid has similar numbers in each band up to old age. The tool's description is based on the shares of children and older people.

Worked example

The illustrative young population has 35% of people aged 0-14 and 5% aged 65+, giving dependency ratios of 58 (youth), 9 (old-age) and 67 (total) and a median age of about 23: an expansive pyramid. The illustrative ageing population has 13% children and 21% aged 65+, ratios of 20, 33 and 53 and a median age of about 45: a constrictive pyramid.

Comparing

Tick Compare with and choose a second data set to draw it as an outline over the first. This shows clearly where one population has more young people or more elderly people.

Limits

The two starting data sets are illustrative, not real countries; use national statistics or UN data for real places. The median age is estimated by interpolation within five-year bands, and the open 85+ band is treated as 85-90. Shape labels are simple rules, so describe unusual pyramids (for example with bulges from migration or past wars) in your own words.

Worked example

Young example: 0-14 = 35%, 65+ = 5%; dependency 58 + 9 = 67; median age about 23; expansive.

Quick facts

Frequently asked questions

What is a population pyramid?

A pair of horizontal bar charts back to back, showing males and females in each age group, with the youngest at the bottom.

How is the dependency ratio calculated?

(People aged 0-14 + people aged 65 and over) ÷ people aged 15-64 × 100.

What does an expansive pyramid show?

A wide base and narrow top: many children, high birth rates and usually a growing, young population.

Should I use numbers or percentages?

Percentages of the total make different-sized populations comparable; numbers show the actual size of each group.

Where can I find real data?

From national statistics offices and the UN World Population Prospects, which publish population by age and sex.

How is the median age estimated?

By finding the age band that contains the middle person and interpolating within that five-year band.

Guides for this tool

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages