Abakcus

← All articles

Geometry · Nature · Proof

The Honeycomb Conjecture

Why bees build hexagons

A Roman farmer wrote it down in 36 BC. A mathematician proved it in 1999. In between, the bees went on building the most economical wall in geometry, six sides at a time.

3

regular shapes can tile a flat surface. Only one is best.

120°

at every corner of the comb, where three walls meet.

2,034

years between the first written claim and the proof.

⁴√12

the least wall a cell of area 1 can get away with: 1.861.

The observation

A farmer, a hive and a claim

Lift a frame out of a beehive and hold it to the light. Thousands of cells, every one six-sided, every wall the same thickness, every corner the same angle, row after row with no ruler and no plan. People have been staring at this for as long as they have kept bees, and for almost as long they have suspected that the pattern is not only pretty. It is correct.

The oldest surviving statement comes from Marcus Terentius Varro, a Roman scholar who in 36 BC, at the age of eighty, wrote a handbook on farming for his wife. In the chapter on bees he repeats two explanations for the shape of the cell. One is charming: a bee has six feet, so naturally it builds with six sides. The other is the one that mattered. The geometers, Varro says, have shown that a hexagon drawn inside a circle “encloses the greatest amount of space”. It is the first hint of the real claim: the most room for a given length of wall.

About three and a half centuries later, Pappus of Alexandria, the last great geometer of the ancient world, made the argument properly. He opens the fifth book of his Collection with an essay now known as “On the Sagacity of Bees”. Honey, he says, is too precious to pour on the ground, so the bees build vessels for it, “all equal, similar and contiguous to one another, and hexagonal in form”. And they do this, in a phrase that has been quoted ever since, “by virtue of a certain geometrical forethought”.

Extreme close-up of honeycomb cells, some holding eggs and curled white larvae, the hexagonal walls glowing amber
Comb from the brood nest, with eggs and young larvae. Every wall is shared by two cells; every corner joins three. Photo: Waugsberg, CC BY-SA 3.0, via Wikimedia Commons.

Pappus’s reasoning is simple and exactly right as far as it goes. The cells must fit together with no gaps, so that nothing foreign can get into the spaces between them. Only three regular figures can do that. Of the three, the bees chose “the figure which has the most angles, because they conceived that it would contain more honey than either of the two others”.

That is the honeycomb conjecture in its first form: hexagons hold the most for the least. It sounds like something that should take an afternoon to prove. It took until 1999, and the reason it took so long is the most interesting part of the story.

The geometry

Only three shapes are allowed

Start where Pappus started. Suppose every cell must be the same regular polygon, and the cells must cover the comb completely. How many choices are there?

Wherever several cells meet at a corner, their angles have to add up to a full turn, 360 degrees. An equilateral triangle has corners of 60°, so six of them fit. A square has 90°, so four fit. A regular hexagon has 120°, so three fit. And that is the complete list. A pentagon’s 108° does not divide 360: three pentagons leave a gap, four overlap. Anything with seven sides or more has corners wider than 120°, so not even three of them can meet.

Triangle · 60°

Six meet at a point. Tiles.

Square · 90°

Four meet at a point. Tiles.

Pentagon · 108°

Three leave a 36° gap. Fails.

Hexagon · 120°

Three meet at a point. Tiles.

So a bee that wants identical, regular, gapless cells has three options. Now compare them the way an accountant would. Give every cell the same floor area, so that each holds the same amount of honey, and ask how much wall each design needs. Walls are the expensive part. A worker bee sweats wax in tiny flakes from glands under her abdomen, and the colony pays for every gram of it in honey that could have been stored instead.

Experiment I. The wax meter

Same honey in every cell

+7.5%more wax than hexagons

Squares are easy to build and waste no space. They still cost 7.5% more wax than hexagons for exactly the same storage.

Triangles
2.28
Squares
2.00
Hexagons
1.86
Circles
3.54

The numbers are not close. For the same storage, a comb of squares needs 7.5% more wax than a comb of hexagons, and a comb of triangles needs 22.5% more. Among the three shapes that tile, the hexagon wins easily, and the reason is visible in the picture: it is the roundest. A circle is the most efficient fence there is, and the hexagon is the nearest thing to a circle that can still stand shoulder to shoulder with its neighbours.

The physics

Why not simply build circles?

If circles are the best fence, why does the comb not consist of round tubes? Because round tubes cannot share. Pack equal circles as tightly as they will go and each one touches six others, but only at single points, and between every three circles there is a small curved triangle of wasted space.

Those gaps add up to 9.3% of the whole area. A comb of tubes would throw away almost a tenth of the hive, and every cell would need its own complete wall. Now press the circles together.

Experiment II. Squeeze the circles

Drag the slider

9.3%of the comb is empty gap

CirclesHexagons

Equal circles, packed as tightly as circles can be. Each one touches six neighbours, and the little three-cornered gaps between them add up to 9.3% of the area.

This is more than a nice animation. Soap bubbles do exactly this when they are crowded onto a flat surface, and for the same reason: surface tension is a relentless economiser of wall. It is also at the centre of a live argument about how bees actually do it.

In 2013 a team of engineers led by Bhushan Karihaloo proposed that the bees do not shape hexagons at all. They build round cells, the argument went, and the body heat of the workers softens the wax until it flows and pulls itself straight at the junctions, like the bubbles. In the same year, researchers who filmed comb construction with thermal cameras reported that the wax stays too cool for that, somewhere between 34 and 38 °C, and that the bees can be seen working the walls flat and the corners sharp with their own mandibles.

The evidence has kept moving toward the builders. In 2021 Michael Smith, Nils Napp and Kirstin Petersen measured more than 19,000 cells from twelve colonies and looked at the awkward places, where small worker cells give way to large drone cells or where two separate pieces of comb have to be joined. There the bees slip in five-sided and seven-sided cells, in matched pairs, to make the two grids fit. That is not something flowing wax does by itself. It is what a skilled bricklayer does when two walls do not quite line up. The question is still not fully settled. But notice that both sides describe something remarkable. Either a bee measures and builds a 120-degree corner in the dark with her jaws and antennae, or she arranges her work so that the laws of physics build it for her. A human engineer would be proud of either method.

Freshly built pale yellow honeycomb with a few worker bees on it
New comb is almost white. Photo: Merdal, CC BY-SA 3.0, via Wikimedia Commons.
0.07 mm

Thickness of a cell wall, thinner than a sheet of office paper.

120°

The angle at every corner, where exactly three walls meet.

≈ 35 °C

Temperature the bees hold the nest at, summer and winter.

×20

Roughly the weight of honey a comb can carry for each unit of wax, by beekeepers’ estimates.

The proof

The hard part: anything goes

Pappus compared three shapes and picked the winner. A mathematician reading him has an uncomfortable question. Who said the cells have to be regular? Who said they have to be identical, or have straight walls, or be polygons at all?

The real conjecture is far bolder than the one in the beehive. Take a flat surface and divide it into regions of equal area, in any way you like. The regions may be different shapes. Their walls may curve. A wall that bulges into one cell makes that cell’s boundary shorter and its neighbour’s longer, and perhaps some cunning mixture of fat cells and thin cells, bulges and dents, could shave a little off the total. The conjecture says no. Nothing beats the plain regular hexagon.

The honeycomb theorem

wall per unit area ≥ ⁴√12 ≈ 1.861

For any division of the plane into cells of equal area. Equality holds for the regular hexagonal honeycomb.

For centuries this was treated as obvious, which is a dangerous word in mathematics. The first real progress came in 1943, when the Hungarian geometer László Fejes Tóth proved it under one extra assumption: that every cell is convex, with straight sides and no dents. He knew that this was not the whole problem. Remove the assumption, he warned, and the proof would become very much harder, because curved walls let cells trade perimeter with one another in ways that are difficult to control.

The man who removed it was Thomas Hales, a mathematician at the University of Michigan who had just spent years on a far more famous problem. In 1998 he had announced a proof of Kepler’s conjecture, that no way of stacking equal spheres is denser than the greengrocer’s pyramid of oranges. That proof ran to hundreds of pages and gigabytes of computer checking. It belongs to the eighteenth of Hilbert’s twenty-three problems. Having finished it, Hales turned to the honeycomb.

His proof, announced in June 1999 and published in 2001, is about twenty pages long and needs no computer. The key is a single inequality that he called the hexagonal isoperimetric inequality. It assigns each cell a kind of score that rewards short walls, penalises the advantage a cell gains by bulging into its neighbours, and accounts for how many sides the cell has. Hales showed that no cell, of any shape, can score better than a regular hexagon, and that whatever one cell gains by stealing from its neighbours, the neighbours lose. Add up the scores over the whole comb and the conjecture falls out.

“Bees, then, know just this fact which is of service to themselves, that the hexagon is greater than the square and the triangle.”

Pappus of Alexandria, Collection, Book V, c. AD 320 (tr. T. L. Heath)

Pappus ends his essay with a gentle boast: we humans, “claiming as we do a greater share in wisdom than bees”, will investigate the wider problem. It took the claimants almost seventeen more centuries to finish the job.

36 BCVarro, in a Roman handbook on farming, reports that geometers say the hexagon encloses the most space.
c. 320Pappus of Alexandria credits the bees with “a certain geometrical forethought” and compares the three tilings.
1611Kepler studies the comb in his booklet on the six-cornered snowflake and describes the rhombic cell bottoms.
1712Maraldi measures the rhombus angles in real comb: close to 110° and 70°.
1743Maclaurin shows that the wax-saving angles are 109°28′ and 70°32′. The bees were right to the minute.
1887Kelvin asks the same question for foam in three dimensions and proposes a 14-sided cell.
1943Fejes Tóth proves the honeycomb conjecture for cells with straight walls and no dents.
1993Weaire and Phelan beat Kelvin’s foam by 0.3% with a structure nobody had imagined.
1999Thomas Hales proves the honeycomb conjecture in full, for cells of any shape whatever.

The third dimension

The bottom of the cell, to the minute

A honeycomb is not a flat drawing. It is two layers of cells, back to back, opening on opposite faces of the comb, and the place where the two layers meet is the cleverest piece of carpentry in the hive.

A cell does not end in a flat floor. It ends in a shallow three-sided pyramid made of three identical rhombuses, and each of those rhombuses is at the same time one third of the floor of a cell on the other side. The two layers lock together like the fingers of two hands, sharing every scrap of floor exactly as they share every wall. Johannes Kepler noticed this in 1611, in the same New Year’s booklet in which he wondered why snowflakes always have six corners and first stated his conjecture about stacking spheres.

109°28′70°32′

Three rhombuses, one question

Seen from above, the floor of a cell is a hexagon divided into three diamonds that rise to a point in the middle. How steep should that point be? Too flat and the floor is weak. Too steep and it uses more wax than it needs to. Somewhere there is an angle that closes the cell with the least material. (The angles marked on the drawing are the true angles of each rhombus in three dimensions. Seen flat from above, as here, they look like 120° and 60°.)

In 1712 the astronomer Giacomo Maraldi measured the rhombuses in real comb, found angles close to 110° and 70°, and reasoned that the true figures must be 109°28′ and 70°32′. A generation later the French naturalist Réaumur had a suspicion, and passed the problem to a young mathematician, Samuel Koenig: what angles would use the least wax? Koenig calculated 109°26′ and 70°34′. The agreement with Maraldi was astonishing, and the two minutes of difference were chalked up to the insects.

Then in 1743 the Scottish mathematician Colin Maclaurin did the problem again by pure geometry and got 109°28′ and 70°32′. The error was Koenig’s. The bees’ angle is the exact one, the angle whose cosine is minus one third, the same angle at which the four bonds of a carbon atom spread in a diamond. It is still called the Maraldi angle.

There is a coda, and it keeps the story honest. In 1964 Fejes Tóth published a paper with the wonderful title What the Bees Know and What They Do Not Know. He showed that if you allow the floor to be made of two small hexagons and two rhombuses instead of three rhombuses, the cell can be closed with very slightly less wax, a saving of a few hundredths of one percent. He was the first to add that the bees’ version is simpler to build and that no beekeeper would ever notice the difference. In three dimensions, then, the hive is not perfect. It is merely within a whisker of it.

The pattern elsewhere

Six sides, everywhere you look

Once you know why the comb is hexagonal you begin to see the same answer turning up wherever the same question is asked: how do you divide a surface evenly, with the least boundary, or pack things tightly, with the least waste?

Hexagonal basalt columns of the Giant's Causeway stepping down into the sea in Northern Ireland

Stone

The Giant’s Causeway: some 40,000 basalt columns, formed as a sheet of lava cooled, shrank and cracked at 120-degree junctions. Photo: code poet, CC BY-SA 2.0.
Saturn's north pole photographed by the Cassini spacecraft, showing the six-sided jet stream around the pole

Storm

A six-sided jet stream circles Saturn’s north pole. Each side is longer than the Earth is wide. Image: NASA/JPL-Caltech/Space Science Institute.
Six gold-coated hexagonal mirror segments of the James Webb Space Telescope being inspected by an engineer

Mirror

The James Webb Space Telescope sees with 18 gold-coated hexagons, which fit together without gaps into a near-circle that can fold. Photo: NASA/MSFC/David Higginbotham.

Aircraft floors, satellite panels, racing-car chassis and the cardboard inside a cheap door all use honeycomb cores for the bees’ reason: the most stiffness for the least material. Graphene, the strongest sheet ever measured, is a single layer of carbon atoms in hexagons. An insect’s eye is a dome of hexagonal lenses. Abakcus has met the shape before in pure mathematics, in the one and only magic hexagon, and in nature again in fireflies that flash in unison, another case of thousands of small creatures producing an order none of them could draw.

The open problem

What nobody has proved yet

The flat problem is closed. The solid one is wide open, and it has already produced one of the best surprises in modern geometry.

In 1887 Lord Kelvin asked the honeycomb question one dimension up. How do you fill space with cells of equal volume using the least total area of wall? It is the question a foam answers every time you pour a beer. Kelvin proposed a cell with fourteen faces, eight hexagons and six squares, slightly curved, and for more than a century nobody could beat it. Everyone assumed it was the answer, as everyone had once assumed about the hexagon.

Then in 1993 two physicists in Dublin, Denis Weaire and his student Robert Phelan, found a foam that uses 0.3% less wall. It is not made of one kind of cell but two, a twelve-sided one and a fourteen-sided one, in groups of eight, and it looks like nothing anyone would have guessed. The architects of the swimming hall for the 2008 Beijing Olympics liked it so much that they built the walls out of it.

Is the Weaire–Phelan foam the best possible? Nobody knows. There is no proof, and no better candidate. The three-dimensional honeycomb conjecture is waiting for its Hales. It is worth remembering the next time a theorem looks too obvious to need proving: the flat case was obvious and true, the solid case was obvious and false.

A polished steel sculpture of the Weaire–Phelan structure, a cluster of many-sided cells, mounted on a concrete wall
The Weaire–Phelan structure, built as a sculpture in polished steel. Photo: Dwmalone, CC BY-SA 4.0.

The question behind the question

Who taught the bee?

Mathematics can say why the hexagon is best. It took two thousand years, but the matter is settled. What mathematics cannot say is how an insect with a brain smaller than a sesame seed comes to build the answer, in the dark, without ever having been shown one.

Pappus did not think this was a small question, and he did not think it was a question for geometry. His essay does not begin with bees. It begins with God, who has given to human beings “the best and most perfect notion of wisdom in general and of mathematical science in particular”, but who “allotted a partial share in these things” to some of the creatures without reason as well. To us, the ability to prove. To them, the gift of simply knowing what to do.

The same thought stands in the Qur’an, whose sixteenth chapter is named The Bee, and which says that the bee’s Lord inspired her to make her houses in the mountains, in the trees and in what people build. Kepler, who began his booklet when a snowflake landed on his coat as he crossed a bridge in Prague, wrote of a shaping power placed in things by their Creator. Three traditions, many centuries apart, look at the comb and come to one conclusion: this was given.

What is certain is that the order was there first. The hexagon was the best partition of the plane before there were bees to build it, before Varro kept hives and before Hales picked up a pencil. The bees did not invent it and neither did we. They were entrusted with building it. We were entrusted with understanding why.

“It is of course to men that God has given the best and most perfect notion of wisdom.”

Pappus of Alexandria, opening of “On the Sagacity of Bees”

The shelf

Six books for the hexagon-minded

On patterns, on packing and on the animals that worked it out first. Abakcus also keeps a longer list of the best books about bees.

Cover of Patterns in Nature by Philip Ball

Start here

Patterns in Nature

Philip Ball · University of Chicago Press

Honeycombs, basalt columns, foams, spirals, stripes and cracks, each explained in plain language beside photographs large enough to get lost in. If one book could stand in for this whole article, it is this one.

See it on Amazon

As an Amazon Associate, Abakcus earns from qualifying purchases. Links above are affiliate links.

Questions

The honeycomb, briefly

What is the honeycomb conjecture?

The honeycomb conjecture says that the regular hexagonal grid is the way to divide a flat surface into regions of equal area using the least total length of wall. It was suggested in antiquity, written down by the Roman scholar Varro in 36 BC and discussed by Pappus of Alexandria around AD 320. Thomas Hales proved it in 1999, so it is now a theorem.

Why are honeycomb cells hexagonal?

Only three regular shapes tile a flat surface with no gaps: triangles, squares and hexagons. For cells of the same size, hexagons need the least wall: squares use about 7.5% more and triangles about 22.5% more. Beeswax is costly for a colony to make, so a hexagonal comb stores the most honey for the least wax, and its three-way joints make it strong.

Who proved the honeycomb conjecture?

Thomas C. Hales, then at the University of Michigan, announced a proof in June 1999, and it was published in the journal Discrete & Computational Geometry in 2001. László Fejes Tóth had proved a restricted version in 1943, assuming that every cell is convex. Hales removed that assumption, allowing cells of any shape with curved walls.

Do bees really build hexagons on purpose?

Researchers disagree about the mechanics. A 2013 study argued that bees mould roughly circular cells and that warm wax then flows into hexagons at the junctions. Thermal-camera studies published the same year found the wax too cool for that and showed the bees shaping the flat walls and sharp corners directly. In either account the finished comb is the same, with walls about 0.07 mm thick.

Is the bees' cell the best possible shape in three dimensions?

Almost, but not quite. Each cell ends in three rhombuses whose angles, 109°28′ and 70°32′, are exactly the ones that minimise wax for that design. In 1964 László Fejes Tóth found a slightly different cell bottom that would save a tiny fraction of a percent more. The full three-dimensional version of the problem, known as the Kelvin problem, is still unsolved.

Where else do hexagons appear in nature and engineering?

Hexagonal patterns appear in the basalt columns of the Giant's Causeway, in snowflakes, in rafts of soap bubbles, in the compound eyes of insects and in a vast six-sided jet stream at Saturn's north pole. Engineers use honeycomb panels in aircraft and spacecraft, and the James Webb Space Telescope's main mirror is made of 18 hexagonal segments.

Sources

  • Thomas C. Hales, “The Honeycomb Conjecture”, Discrete & Computational Geometry 25 (2001), 1–22.
  • Pappus of Alexandria, Collection, Book V, preface, translated by T. L. Heath in A History of Greek Mathematics (Oxford, 1921), vol. 2.
  • Marcus Terentius Varro, On Agriculture, Book III, chapter 16.
  • L. Fejes Tóth, “Über das kürzeste Kurvennetz, das eine Kugeloberfläche in flächengleiche konvexe Teile zerlegt”, Matematikai és Természettudományi Értesítő 62 (1943), 349–354.
  • M. L. Smith, N. Napp and K. H. Petersen, “Imperfect comb construction reveals the architectural abilities of honeybees”, Proceedings of the National Academy of Sciences 118 (2021), e2103605118.
  • L. Fejes Tóth, “What the Bees Know and What They Do Not Know”, Bulletin of the American Mathematical Society 70 (1964), 468–481.
  • B. L. Karihaloo, K. Zhang and J. Wang, “Honeybee combs: how the circular cells transform into rounded hexagons”, Journal of the Royal Society Interface 10 (2013).
  • D. Bauer and K. Bienefeld, “Hexagonal comb cells of honeybees are not produced via a liquid equilibrium process”, Naturwissenschaften 100 (2013), 45–49.
  • D. Weaire and R. Phelan, “A counter-example to Kelvin’s conjecture on minimal surfaces”, Philosophical Magazine Letters 69 (1994), 107–110.
  • Photographs from Wikimedia Commons and NASA, credited beside each image.

Beyond Euclid

Liked this? Get one like it every week.

One email a week, handpicked by Ali. 240 issues so far, free.