Free tool · runs in your browser
Birthday problem calculator (works with huge numbers)
Classic birthdays (365 days) or hash collisions (2^bits possible values): see the chance of at least one shared value, and how many items you need for a given chance.
e.g. 365, 2^32, 2^64
Questions
Why are 23 people enough for 50%?
With 23 people there are 253 pairs, and each pair can match. The exact chance is 50.7%.
What is a birthday attack?
With an n-bit hash, collisions become likely after about 2^(n/2) items, not 2^n — the same mathematics.
Is it exact?
Exact product for up to 2 million items; above that the standard exponential approximation, which is very accurate in that range.