Workforce age pyramid: free generator, how to read it and how to make one in Excel

Published · Updated · 12 min read

Dylan Arnaud, founder of Datafuji

A company’s age pyramid, or workforce age pyramid, is a chart that shows, at a given date, how many employees fall into each age band, men on the left and women on the right. It is used to count upcoming retirements, spot know-how that needs to be passed on and forecast payroll costs.

Two payroll columns are enough to draw it: date of birth and sex. Example: a manufacturing SME with 240 employees, an average age of 45.1, 43.3% aged 50 and over, and 68 employees who will have reached 64 within ten years, or 28.3% of the workforce.

A typical scenario: the accountant, the only person who knows how to run the year-end close, announces she is retiring in June. That same month, it turns out the payroll manager is 61 and nothing is written down. Everything was in the payroll data; the chart was missing.

Generate your company’s age pyramid

The generator draws the age pyramid of your workforce, with the average age and departures within 5 and 10 years. Paste one line per employee from Excel or your HR software (HRIS): date of birth or age, sex and, optionally, department. You can also enter headcounts by age band. Nothing is sent or stored, and no names are needed.

Generator · your data stays in your browser

Copy the columns from Excel or from your payroll export, then paste them here (tabs or semicolons, columns in any order). Dates can be MM/DD/YYYY or YYYY-MM-DD. Do not paste names or employee IDs: they are not needed here. Nothing is sent or stored: everything is calculated in your browser. 240 lines read.

Age pyramid as of December 31, 2026240 employeesMen · 160Women · 8065+1160-6413755-59241450-54291545-49221240-4418935-3915730-3414625-2912620-2493Under 2030Dotted: employment in France in 2025 (INSEE)
Headcount
240
80 women (33.3%), 160 men
Average age
45.1 years
in completed years
Median age
47 years
half are older, half younger
Under 30
13.8%
France: 19.4%
55 and over
25.0%
France: 20.2%
Departures within 5 years
30
12.5% of headcount
Departures within 10 years
68
28.3% of headcount

Shape: mushroom. Employees aged 50 and over dominate. The know-how is there, but retirements will come in a wave: hiring and knowledge transfer need to start now. Employees aged 50 and over make up 43.3% of headcount (32.8% of people in employment in France in 2025); those under 30, 13.8% (19.4%). With a retirement age of 64, 30 employees will have reached that age within 5 years (12.5%) and 68 within 10 years (28.3%).

2 cells of the table (one age band for one sex) contain only one or two employees: they can be identified. Before sharing, switch to wider bands or publish only the band total.

The same figures as a table: headcount by age band and sex, as of December 31, 2026
Age bandMenWomenTotalShareEmployment in FranceShare of women
65 and over1120.8%2.0%50.0%
60 to 64137208.3%6.5%35.0%
55 to 5924143815.8%11.7%36.8%
50 to 5429154418.3%12.6%34.1%
45 to 4922123414.2%12.0%35.3%
40 to 441892711.3%12.4%33.3%
35 to 39157229.2%12.2%31.8%
30 to 34146208.3%11.1%30.0%
25 to 29126187.5%10.1%33.3%
20 to 2493125.0%7.3%25.0%
Under 203031.3%2.1%0.0%
Total16080240100%100%33.3%

What is a company age pyramid?

An age pyramid is a snapshot of a workforce at a given date: one bar per age band, the youngest at the bottom, men on one side and women on the other. It is used to anticipate who will leave and who will take over.

In a company, it is the starting point of strategic workforce planning.

The chart answers three questions that a table of figures does not show at a glance:

  • Who is leaving, and when? The top bars are the retirements of the next five to ten years.
  • Who will take over? A hollow band in the middle means there is no bridging generation to pass on know-how.
  • What happens to payroll costs? An aging workforce costs more each year; departures replaced by early-career hires do the opposite.

The SME in our example is fictional: 240 employees, 160 men and 80 women, in four departments, as of December 31, 2026. The generator shows it when it opens; it is also the company used in the HR dashboard guide.

On its pyramid, each of the three questions is answered at a different level.

Age pyramid of an SME with 240 employees as of December 31, 2026, men on the left (160) and women on the right (80), in 5-year bands. Three annotations: at the top, 60 employees aged 55 and over, who will all have reached 64 within ten years; in the middle, the 50 to 54 band, the largest with 44 employees; at the bottom, 33 employees under 30, a narrow base.Age pyramid of an SME with 240 employees as of December 31, 2026, men on the left (160) and women on the right (80), in 5-year bands. Three annotations: at the top, 60 employees aged 55 and over, who will all have reached 64 within ten years; in the middle, the 50 to 54 band, the largest with 44 employees; at the bottom, 33 employees under 30, a narrow base.
The top of the pyramid shows departures, the middle the successors, the base the newcomers.

Most of the workforce is between 45 and 59, and the base is narrow: the successors for the next decade have not been hired yet.

What about a country’s population pyramid?

In demography, a population pyramid shows how a population is distributed by age and sex at a given date; for France and its regions, the reference source is INSEE, the French national statistics office.

In France, the baby-boom generations form a bulge that moves up one notch every year. INSEE publishes an interactive population pyramid and its 2025 demographic report, released on January 13, 2026 (both in French).

The generator counts a workforce: in band entry mode, it accepts ages from 15 to 69. That is enough for a company or a nonprofit, not for a country’s population.

How do you calculate an age pyramid?

Calculate each employee’s age in completed years at a fixed date, then count men and women by 5-year band. Then plot two series of horizontal bars back to back, and add four indicators.

Average age, median age, departures: the formulas

Applied to the SME, the generator’s formulas give the following.

Age on 12/31/2026
  = completed years
  = 46 for an employee
    born on March 12, 1980
Average age
  = sum of ages ÷ headcount
  = 45.1
Median age
  = the age that splits the
    workforce into two halves
  = 47
Share aged 50 and over
  = 104 ÷ 240
  = 43.3%
Departures within 10 years
  = employees aged 54 and over
    (64 − 10)
  = 68, or 28.3%

A median above the average indicates a workforce concentrated at older ages, with a few young employees pulling the average down.

The usual trap: subtracting years. “2026 − 1980” gives 46 all year, whereas an employee born on March 12, 1980 is still 45 on March 11, 2026: age in completed years only changes on the birthday.

The retirement age is an assumption, not data

The departure counts are the employees who will have reached the chosen age within 5 or 10 years. This is a ceiling on retirements, not a forecast: it ignores resignations, dismissals and people who stay on.

The generator defaults to 64, the legal retirement age in France for people born in 1969 or later; for those born between January 1, 1963 and March 31, 1965, it is 62 years and 9 months, and it rises in steps in between. Many people leave earlier (long-career early retirement, incapacity for work) or later, to get a full-rate pension (one with no reduction). Set the age that matches your own workforce.

On the same SME, this single assumption changes everything.

Four horizontal bars of departures to anticipate within ten years at the SME with 240 employees, by assumed retirement age: 88 employees at 62 (36.7%), 75 at 63 (31.3%), 68 at 64 (28.3%), the generator’s default, and 60 at 65 (25.0%). Between 62 and 65, the gap is 28 departures, 11.7% of headcount.Four horizontal bars of departures to anticipate within ten years at the SME with 240 employees, by assumed retirement age: 88 employees at 62 (36.7%), 75 at 63 (31.3%), 68 at 64 (28.3%), the generator’s default, and 60 at 65 (25.0%). Between 62 and 65, the gap is 28 departures, 11.7% of headcount.
Depending on the retirement age used, from 62 to 65, the same SME expects 60 to 88 departures in ten years.

The gap, 28 departures, is more than one employee in ten: test two ages and calibrate them against actual departures.

How to read an age pyramid: the five shapes

A company age pyramid takes one of the five shapes described by Jean-Marie Peretti in his French HR textbook Gestion des ressources humaines (mushroom, spinning top, flattened pear, bone, cylinder), and each one signals a different risk.

ShapeWhat you see (Peretti)What it signalsGenerator threshold
MushroomEmployees in their fifties and sixties dominate.A wave of retirements, know-how to pass on quickly, then payroll costs that fall as late-career employees are replaced by early-career hires.At least 40% aged 50 and over.
Spinning topA very large middle age group, for example half the employees between 40 and 55: often the legacy of mass hiring twenty or thirty years ago, followed by a hiring freeze.Few departures in the short term, rare promotions, and a mushroom in ten to fifteen years if hiring does not resume.At least 50% of the workforce in a single 15-year age span between 30 and 54.
Flattened pearUnder-30s dominate: young companies or high-turnover sectors (fast food, mass retail, audit firms).Few retirements, but onboarding, supervision and retention to manage: the issue is turnover, not age.At least 40% under 30.
BoneTwo large groups, the young and the older, and few 30 to 50-year-olds.Difficult knowledge transfer, for lack of a bridging generation, and generation gaps to manage within teams.Under 35% aged 30 to 49, at least 25% under 30 and 25% aged 50 and over.
CylinderBands of similar size, a sign of steady hiring; rare in France, Peretti notes.Spread-out departures and successors in place: the easiest situation to manage.From 25 to 59, the largest 5-year band is no more than 1.5 times the smallest.

Peretti gives no thresholds, except in the spinning-top example: those in the last column are ours, so the shape can be named in a repeatable way. The generator tests them in the order bone, mushroom, flattened pear, spinning top, cylinder; otherwise it answers “no distinct shape.”

Side by side, the five silhouettes make the difference obvious.

Five schematic pyramids side by side. The mushroom, wide at the top: at least 40% aged 50 and over, risk of a wave of retirements. The spinning top, bulging in the middle: at least 50% of the workforce in a 15-year age span, promotions blocked. The flattened pear, wide at the bottom: at least 40% under 30, turnover. The bone, wide at the top and bottom and hollow in the middle: under 35% aged 30 to 49, no successors. The cylinder, of even width: a ratio of 1.5 at most between bands, spread-out departures. Shape names: J.-M. Peretti; thresholds: Datafuji.Five schematic pyramids side by side. The mushroom, wide at the top: at least 40% aged 50 and over, risk of a wave of retirements. The spinning top, bulging in the middle: at least 50% of the workforce in a 15-year age span, promotions blocked. The flattened pear, wide at the bottom: at least 40% under 30, turnover. The bone, wide at the top and bottom and hollow in the middle: under 35% aged 30 to 49, no successors. The cylinder, of even width: a ratio of 1.5 at most between bands, spread-out departures. Shape names: J.-M. Peretti; thresholds: Datafuji.
Five silhouettes, five risks: a wave of retirements, blocked promotions, turnover, missing successors, or none.

Below 30 employees, the generator does not name any shape: a single hire is enough to change it.

Three risks to quantify behind the silhouette

  • Mass departures. Count them at 5 and 10 years, department by department. Benchmark: a workforce spread evenly from 22 to 63 loses 24% of its employees in ten years (10 years of age out of 42). Above one third, the hiring plan needs to start now.
  • Knowledge transfer. Identify the jobs whose only holders are in the top two bars.
  • Payroll costs. Each departure replaced at a starting salary lowers them: this turnover effect, with leavers better paid than joiners, can be quantified with the payroll cost calculator.

What does the pyramid of our example SME say?

The pyramid of the fictional 240-employee SME is a mushroom: 104 employees are 50 or older, and 68 will reach 64 within ten years. But the real issue only appears at department level, where support functions will lose 43% of their staff.

The largest band is the 50 to 54 band: 44 employees, 18.3% of the workforce, compared with 12.6% of employment in France. The base is narrow: 13.8% under 30, compared with 19.4%.

Within five years, 30 employees will have reached 64 (12.5%), and 68 within ten years (28.3%): above the 24% of an evenly spread workforce, but not excessively so.

The breakdown by department, which the generator gives if the list has a department column, changes the picture:

DepartmentHeadcountMedian ageDepartures within 10 years (at 64)Share of department
Production126483830.2%
Logistics49441020.4%
Sales3040516.7%
Support functions35521542.9%
Company240476828.3%

Measured department by department, the departures look very different.

Horizontal bars of the share of departures within ten years by department, with a retirement age of 64: support functions 42.9% (15 out of 35), production 30.2% (38 out of 126), logistics 20.4% (10 out of 49), sales 16.7% (5 out of 30). A vertical blue line marks the company average, 28.3%, and a dotted gray line the 24% benchmark of a workforce spread evenly from 22 to 63. Only support functions are clearly above.Horizontal bars of the share of departures within ten years by department, with a retirement age of 64: support functions 42.9% (15 out of 35), production 30.2% (38 out of 126), logistics 20.4% (10 out of 49), sales 16.7% (5 out of 30). A vertical blue line marks the company average, 28.3%, and a dotted gray line the 24% benchmark of a workforce spread evenly from 22 to 63. Only support functions are clearly above.
28.3% departures for the company, but 42.9% in support functions.

So the real issues are payroll, accounting and purchasing, where four people in ten will leave within ten years, and succession in production: 38 positions, including jobs that take a long time to learn.

On the cost side, suppose the 30 departures within five years are replaced by employees paid €10,000 less per year, including employer contributions. Payroll costs would fall by €300,000 per year, to be set against the cost of recruiting and training.

Finally, two cells contain only one employee (a man and a woman aged 65 and over): the generator flags them, and this chart should not be shared as is (see privacy).

Is your pyramid young or old? French benchmarks for 2025

In France, 32.8% of people in employment are 50 or older and 19.4% are under 30, according to the 2025 Labour Force Survey of INSEE (the French national statistics office), published on July 2, 2026. This is the generator’s dotted benchmark; industry benchmarks follow.

The generator applies the 2025 age and sex distribution of employment in France to your headcount: your pyramid as it would look if it followed the French national average.

AgeMen (thousands)Women (thousands)Total (thousands)Share
15 to 19365.8242.6608.42.1%
20 to 241,136.51,002.92,139.47.3%
25 to 291,513.81,452.82,966.610.1%
30 to 341,682.01,591.73,273.711.1%
35 to 391,834.11,747.73,581.812.2%
40 to 441,851.81,804.63,656.412.4%
45 to 491,775.51,744.23,519.712.0%
50 to 541,889.41,822.63,712.012.6%
55 to 591,727.01,706.23,433.211.7%
60 to 64936.7958.51,895.26.5%
65 and over327.4269.0596.42.0%
Total15,040.114,342.829,382.9100%

Women make up 48.8% of employment; 20.2% of people in employment are 55 or older. From 25 to 59, each 5-year band accounts for 10 to 13%: the profile of a cylinder.

Overlaid on this benchmark, the SME’s pyramid shows where it differs.

Pyramid of the SME with 240 employees as a share of headcount by 5-year band, men and women combined, in blue bars, with the distribution of people in employment in France in 2025 (INSEE, Labour Force Survey) as dotted lines. From 50 to 64, the bars exceed the dotted lines: 42.5% of the SME’s workforce against 30.8% in France. Under 30, they stay below: 13.8% against 19.4%.Pyramid of the SME with 240 employees as a share of headcount by 5-year band, men and women combined, in blue bars, with the distribution of people in employment in France in 2025 (INSEE, Labour Force Survey) as dotted lines. From 50 to 64, the bars exceed the dotted lines: 42.5% of the SME’s workforce against 30.8% in France. Under 30, they stay below: 13.8% against 19.4%.
Aged 50 and over: 43.3% at the SME, compared with 32.8% of employment in France.

The surplus is between 50 and 64 (42.5% of the workforce, compared with 30.8% in France); the shortfall is under 30.

By industry

INSEE publishes the share of three broad age groups in employment for each industry; compare them with the generator’s share aged 50 and over and, after switching to 10-year bands, its share under 25.

Industry (France)15 to 2425 to 4950 and over
Agriculture, forestry and fishing11.0%46.3%42.7%
Manufacturing and industry9.3%57.7%32.9%
Construction10.5%60.1%29.3%
Wholesale and retail trade, motor vehicle repair14.9%56.1%28.9%
Transportation and storage8.3%55.9%35.8%
Accommodation and food services20.3%53.7%26.0%
Information and communication6.4%69.6%24.0%
Finance and insurance6.0%64.0%30.1%
Legal, accounting, management and engineering services6.7%66.2%27.1%
Administrative and support services9.5%56.6%33.9%
Public administration4.7%54.5%40.7%
Human health6.0%63.0%31.0%
Residential care and social work7.4%54.4%38.1%
Total employment9.4%57.9%32.8%

From 24.0% aged 50 and over in information and communication to 42.7% in agriculture: at 43.3%, the SME is ten points above manufacturing and industry (32.9%). A restaurant with 20% under 25 is normal; an accounting firm is not.

The limits of these benchmarks

  • All employment: self-employed people included, who are older; among employees only, 31.8% are 50 or older.
  • A survey: these are estimates, less precise for small industries.
  • A national benchmark: there is no up-to-date pyramid by industry, sex and 5-year band.
  • Temp workers count in the industry where they work: without them, your base will look narrower.
  • An industry is neither a job nor a company size: a benchmark gives context, it does not set a target.

How do you make an age pyramid in Excel?

Excel has no ready-made “pyramid” chart. Count each band with COUNTIFS and make the men’s counts negative so their bars extend to the left. Then plot stacked bars and hide the minus sign.

Suppose date of birth is in column A and sex (M or F) in column B, rows 2 to 241. The bands from 15 to 65 are listed in F2 to F12.

C2  age on 12/31
=DATEDIF(A2,DATE(2026,12,31),"Y")
D2  5-year band
=MIN(65,MAX(15,INT(C2/5)*5))
G2  label ("15-19")
=F2&"-"&(F2+4)
  the last one by hand: "65+"
H2  men
=-COUNTIFS($D$2:$D$241,F2,
  $B$2:$B$241,"M")
I2  women
=COUNTIFS($D$2:$D$241,F2,
  $B$2:$B$241,"F")

Copy C and D down to row 241, G to I down to row 12. For the age between two dates, the “Y” unit of DATEDIF returns whole years (avoid the “MD” option, which Microsoft flags as unreliable). For the band, INT(C2/5)*5 returns the lower bound: 40 for ages 40 to 44.

Four settings remain, numbered on the diagram.

Diagram of the Excel method. On the left, the formula bar shows =-COUNTIFS($D$2:$D$241,F2,$B$2:$B$241,"M"), and the band table from G1 to I12: labels from 15-19 to 65+, men as negatives (−3, −9, −12…), women as positives (0, 3, 6…). On the right, the pyramid as stacked bars. Four markers: 1, the minus sign before COUNTIFS; 2, the stacked bar chart; 3, the reduced gap width, which joins the bars; 4, the 0;0 number format on the horizontal axis, which shows 30 20 10 0 10 20 with no minus sign.Diagram of the Excel method. On the left, the formula bar shows =-COUNTIFS($D$2:$D$241,F2,$B$2:$B$241,"M"), and the band table from G1 to I12: labels from 15-19 to 65+, men as negatives (−3, −9, −12…), women as positives (0, 3, 6…). On the right, the pyramid as stacked bars. Four markers: 1, the minus sign before COUNTIFS; 2, the stacked bar chart; 3, the reduced gap width, which joins the bars; 4, the 0;0 number format on the horizontal axis, which shows 30 20 10 0 10 20 with no minus sign.
Men as negatives, stacked bars, reduced gap width, 0;0 format: the pyramid is ready.
  1. Men as negatives, with the minus sign before COUNTIFS.
  2. Stacked bars: select G1:I12, then Insert, Bar chart, Stacked Bar. Keep the labels as text (“15-19”): as numbers, Excel would plot them as a third series of bars.
  3. The gap width (Format Data Series) reduced to thicken the bars; vertical axis label position set to Low.
  4. The 0;0 format on the axis and data labels: the section after the semicolon applies to negative numbers and shows them without the minus sign.

Two variants: FREQUENCY and the PivotTable

  • FREQUENCY: upper bounds in J2 to J11 (19, 24… 64), then =FREQUENCY(FILTER($C$2:$C$241,$B$2:$B$241="M"),$J$2:$J$11), which returns eleven numbers, the last one for ages above 64. FILTER requires Excel 2021 or Microsoft 365.
  • The PivotTable: in E, =IF(B2="M",-1,1); age in rows, sex in columns, the sum of E in values, then Group, starting at 15, ending at 69, by 5 (pivot table guide).

Allow half an hour the first time, and as long again for each manual update; a well-structured Excel dashboard updates itself.

Which mistakes distort an age pyramid?

The most common mistakes come from calculating age, from the scope counted and from reading a shape into too few employees; each has a simple fix, worth stating under the chart.

MistakeWhat it distortsFix
Changing the date every yearMoving the date from June 15 to December 31 makes half the workforce a year older.A fixed date, the same every year.
Subtracting birth yearsAn employee born in December is counted a year older for almost the whole year.Age in completed years.
Mixing band widths“20-29” looks twice as large as “30-34”.The same width, except at the ends.
Not saying who is countedTen apprentices widen the base without saying anything about succession.A written scope: permanent, fixed-term, apprentices, temps.
Reading a shape into fifteen peopleBelow 30 employees, the silhouette changes with every hire.Headcounts and departures, not the shape.
Stopping at company level28.3% departures for the company, 42.9% in support functions.One pyramid per department or job.
Confusing age and length of serviceAn employee hired at 55 is both older and new.A length-of-service pyramid alongside.
Taking the legal age as the retirement ageFrom 60 to 88 departures in ten years depending on the assumption.Two assumptions, calibrated against actual departures.
Sharing a bar that equals one personIt reveals a colleague’s age.Wider bands or grouped departments.

How do you track your age pyramid every year?

A single pyramid tells you where you stand; two pyramids drawn a year apart, on the same date and department by department, tell you where you are heading and whether successors will arrive in time.

  • Once a year, on a fixed date: the pyramid of the company and of each department, departures at 5 and 10 years, average and median age; keep the tables, not just the images. The comparison shows whether hiring has widened the base or merely replaced leavers.
  • Every quarter: hires and separations by age band. Quits by under-30s empty the base faster than retirements empty the top (turnover calculator).
  • At budget time: next year’s departures, position by position, and their effect on payroll costs.

For one pyramid a year, this generator or Excel is enough. Power BI becomes useful when the pyramid must be recalculated at any date, filtered by department and read alongside turnover and payroll costs: that is the purpose of the HR dashboard.

Drawn every December 31, department by department, the pyramid would have shown, five years ahead, that the accountant was nearing retirement. Five years is the time it takes to recruit, then to hand over the year-end close.

Frequently asked questions

How do you read and interpret an age pyramid?

Read it in four steps: the silhouette, the indicators, departures within 5 and 10 years, then the breakdown by department. The silhouette shows where most of the workforce sits. Then the indicators: average and median age, the share under 30 and aged 55 and over. Then departures within 5 and 10 years. Finally the breakdown by department, because a balanced pyramid can hide a department that is emptying out.

Which age bands should you choose?

5-year bands for analysis, because that is how INSEE, France’s national statistics office, breaks down ages; 10-year bands in a small organization, to avoid bars of one or two employees.

What is the difference between an age pyramid and a length-of-service pyramid?

The age pyramid groups employees by age, the length-of-service pyramid by years with the company. The first anticipates retirements; the second, company-specific know-how and retention. A 55-year-old hired last year is at the top of one and at the bottom of the other.

How do you build an age pyramid in Power BI?

Power BI has no “pyramid” visual either: use a stacked bar chart, with age on the axis and two measures, women as positive and men as negative. A two-section format string such as 0;0 shows men without the minus sign; the rest is set up as in Excel.

Let’s talk about your reporting.

A 30-minute video call with Dylan Arnaud. You come away with a clear scope and a fixed price.

Dylan Arnaud, Power BI consultant and founder of Datafuji
Dylan ArnaudFounder · your single point of contact