Vol. I a living index of named laws · est. mmxxvi no ads · no account
The Law Tomeindex of named laws

The Pigeonhole Principle

also known as — Dirichlet's box principle
"More pigeons than holes means at least two must share a hole."
In plain English

What does The Pigeonhole Principle mean?

If you put more items into containers than there are containers, at least one container must hold more than one item. More objects than boxes forces sharing. It is simply impossible to give every object its own box.

Run the numbers

The Pigeonhole Principle calculator

More items than boxes forces a repeat. It sounds too obvious to be useful and it proves things nothing else can.

some box holds at least ceil(n / m)

n
Items
m
Boxes
Some box must hold at least —
A repeat is guaranteed —
Spare boxes —

Computed live from some box holds at least ceil(n / m) — the law's own arithmetic, nothing fitted or predicted.

Reliability

Rated Empirical: grounded in studies or measurable evidence. The other 608.

Lineage
1834COINED
How it works

How does The Pigeonhole Principle work?

The principle is almost self-evidently true yet powerfully non-constructive: it proves that a collision must exist without identifying which container is crowded or which items collide. That is the source of its power in existence proofs: you establish that something exists without ever exhibiting it. The generalised form sharpens it: with n items in m boxes, some box holds at least the ceiling of n over m.

Figure illustrating The Pigeonhole Principle
The Pigeonhole Principle — Pigeons-in-holes.jpg by, en:User:BenFrantzDale, ; this image by, en:User:McKay · CC BY-SA 3.0 · source
Where you'll see it

What are examples of The Pigeonhole Principle?

Guaranteed birthdays Among 367 people at least two must share a birthday, since there are only 366 possible dates: a certainty, unlike the merely probable match at 23.
Hairs on heads Since a human head has at most about a million hairs and a large city has more people than that, at least two residents must have exactly the same number of hairs.
The generalised form Distribute more than a multiple of m items among m boxes and some box must hold more than that multiple: the counting version used throughout combinatorics.
Types & variants

What are the types of The Pigeonhole Principle?

The birthday problem§

The probabilistic cousin: where the pigeonhole principle guarantees a shared birthday at 367 people, the birthday problem asks how likely one is, and finds better-than-even odds at just 23.

Ramsey theory§

The far-reaching generalisation about unavoidable structure (that any sufficiently large system must contain some order) of which the pigeonhole principle is the simplest case.

Why it matters

Why does The Pigeonhole Principle matter?

It is one of the most useful tools in combinatorics and computer science, proving that collisions and coincidences are unavoidable (from hash collisions to compression limits) with a one-line argument. Its non-constructive power, guaranteeing existence without location, makes it a favourite in elegant proofs.

Working with it

How do you apply The Pigeonhole Principle?

  • Count items against categories — when items outnumber the possible categories, conclude that some category must be shared, without needing to find which.
  • Use the generalised bound — for a guaranteed concentration, note that some box holds at least the ceiling of items over boxes.
  • Then do the constructive work — having proved a collision must exist, remember you still have to locate it if you need the specific items.
Where it breaks down

What are the limits of The Pigeonhole Principle?

It is a proven, elementary theorem with no evidential limitation: it admits no counterexamples and needs no assumptions. Its only genuine constraint is conceptual: it is existence-only, guaranteeing that a collision exists but not where or which items collide, so locating the collision requires additional work. It must also not be confused with the birthday problem: pigeonhole gives a guarantee at 367 people, the birthday problem a probability at 23 (different questions entirely).

What it doesn't say

What are common misconceptions about The Pigeonhole Principle?

It tells you a shared category must exist, not which one. It is non-constructive, proving existence without identity. And it is not the birthday problem: the birthday problem is about likelihood at small group sizes, while the pigeonhole principle is a hard guarantee once items exceed categories.

Is it real?

Is The Pigeonhole Principle real?

Yes, as far as the evidence goes. The Pigeonhole Principle is rated Empirical here: it rests on studies or measurements rather than on a saying.

Rated from two sources. 609 of the 1,116 entries carry this rating. How the scale works.

Occasionally printedin printed books: one of 240 names in its band, of 903 measured
35 of 49entries in statistics & probability carry the same rating

The best-known laws are the least likely to rest on measurement.

Origin

Where did The Pigeonhole Principle come from?

Commonly called Dirichlet's box principle after Peter Gustav Lejeune Dirichlet's 1834 use of it under the name 'Schubfachprinzip', though this is a naming convention rather than first discovery: an earlier written statement appears in Jean Leurechon's work of 1622.

How the name spread

When did people start saying “The Pigeonhole Principle”?

1800coined 18342019
How often “Pigeonhole Principle” appears in printed English, which takes hold around 1980 and peaks around 2010. The idea dates to 1834: the phrase took about 146 years to reach print in any quantity, which is the gap this chart measures. Source: Google Books Ngrams.
Known elsewhere as

What is The Pigeonhole Principle called in other languages?

  • Arabicمبدأ برج الحمام
  • GermanSchubfachprinzip
  • Spanishprincipio del palomar
  • Frenchprincipe des tiroirs
  • Italianprincipio dei cassetti
  • Japanese鳩の巣原理
  • Portugueseprincípio da casa dos pombos
  • Russianпринцип Дирихле
  • Chinese鴿巢原理

9 languages, as recorded on Wikidata. These are names the idea already goes by, not translations we made. The whole index by language.

Sources

Sources & further reading

  1. 1Pigeonhole principle, Wikipedia. — the statement, the generalised form, the Dirichlet naming, and the Leurechon precedence.secondary
  2. 2Birthday problem, Wikipedia. — the guarantee-versus-probability distinction from the birthday problem.secondary

Everything above traces to two pages on en.wikipedia.org: both secondary, accounts of the original rather than the original itself, which has not been located for this entry. Nothing is written from memory, and the method is written down. Spot an error or a better source? Suggest a fix.

What we checked

  • 1,116entries in the tomeListed one by one on the browse page.
  • 1,116of them citing a sourceOpen any entry: its sources sit at the foot of the page.
  • 2,489source references in allEach is named, and linked wherever the source is online.