Birthday Paradox
Under a standard probability model, just 23 people give a better-than-even chance that at least two share a birthday.
Assuming independent birthdays spread equally across 365 days and ignoring leap days, a group of 23 people has about a 50.73% chance of containing a shared birthday. The surprising result concerns a match between any two people, not a match with one particular person, and 23 people provide 253 possible pairs. To calculate the probability, first find the chance that every birthday is different, then subtract that value from one. The same mathematics underlies birthday attacks in cryptography, which seek different inputs that produce the same hash value.
Where this leads
Technology
The Internet →
Birthday attacks help determine the collision resistance needed in cryptographic hash functions used for internet security.
Statistics →
The birthday paradox illustrates how probability models can produce results that differ sharply from intuition.
Hash Functions →
The birthday paradox explains why collisions become likely after roughly the square root of the number of possible hash values, assuming uniformly distributed outputs.
Blockchain Technology →
The birthday paradox helps explain why finding a collision in a cryptographic hash requires fewer attempts than guessing one particular hash value.