12 Days of Christmas math: why the song adds up to 364 gifts
The Twelve Days of Christmas hides 364 gifts, 78 on the last day alone. The triangular-number maths behind the carol, which gift wins, and a family puzzle.

A carol full of numbers
The Twelve Days of Christmas was first printed in England in 1780, in a children's book called Mirth without Mischief. If the singer really received every gift in every verse, the total would be 364 gifts: one for almost every day of the year. On the twelfth day alone, the true love sends 78.
Those numbers are not random. Each verse repeats all the gifts before it, and that simple rule builds two famous number patterns: triangular numbers and tetrahedral numbers.
Gifts per day: the triangular numbers
On day 1 there is one gift, a partridge in a pear tree. On day 2 there are two turtle doves plus another partridge: 3 gifts. On day 3, three French hens plus the earlier gifts: 6. Each day adds the next whole number, so day n brings 1 + 2 + … + n gifts.
That gives 1, 3, 6, 10, 15, 21, 28, 36, 45, 55, 66 and 78: the triangular numbers, so called because that many dots stack into a neat triangle. A quick formula finds any of them: n × (n + 1) ÷ 2. For day 12, that is 12 × 13 ÷ 2 = 78.
The whole song: 364, a tetrahedral number
Add the twelve days together and you get 1 + 3 + 6 + … + 78 = 364. Stacking triangles on top of each other makes a pyramid with a triangular base, so these totals are called tetrahedral numbers, like a pile of oranges on a market stall. The shortcut is 12 × 13 × 14 ÷ 6 = 364.
Which gift arrives most often?
A gift first sung on day k is sung again on every later day, so it arrives (13 − k) times, k at a time. The totals rise and then fall, and two gifts tie at the top:
- Partridges: 12, and drummers drumming: 12.
- Turtle doves: 22, and pipers piping: 22.
- French hens: 30, and lords a-leaping: 30.
- Calling birds: 36, and ladies dancing: 36.
- Gold rings: 40, and maids a-milking: 40.
- Geese a-laying: 42, and swans a-swimming: 42, the joint winners.
When are the twelve days?
Traditionally the twelve days of Christmas run from Christmas Day, 25 December, to 5 January. The last evening is Twelfth Night, the eve of Epiphany on 6 January. Since 1984, the bank PNC has also published a light-hearted Christmas Price Index that adds up what all 364 gifts would cost each year.
A family puzzle to try
Ask everyone at the table: how many gifts have arrived by the end of day 6? (The answer is 56.) Then play today's SumBreaker together and predict the final number before the last merge. Without a ×2 tile, merging never changes the board's total, so the last number is simply everything on the board added up, just like counting the gifts.
Questions and answers
How many gifts are there in The Twelve Days of Christmas?
364 in total, if you count every gift in every verse. Each day repeats all the earlier gifts, so the daily totals are 1, 3, 6, 10 and so on up to 78, and those twelve numbers add up to 364.
How many gifts arrive on the twelfth day?
78. The twelfth verse lists 12 drummers, 11 pipers and every earlier gift down to one partridge, which is 1 + 2 + … + 12 = 78, the twelfth triangular number.
Which gift appears most often in the song?
Geese a-laying and swans a-swimming tie with 42 each. Six geese arrive on each of seven days (6 × 7) and seven swans on each of six days (7 × 6).
When are the twelve days of Christmas?
Traditionally from Christmas Day, 25 December, to 5 January. The last evening is Twelfth Night, the eve of Epiphany on 6 January.