PPolySim OS
For Hobbyists & Makers · Birthday Paradox

Birthday Paradox for a batting average

Built for hobbyists & makers exploring it for fun. Play with real physics and math, no license and no setup — just open and tinker. Simulate a batting average live below — adjust the inputs and watch it respond, right in your browser.

Birthday ParadoxLive

Controls

Presets

How many people until two share a birthday? Intuition says hundreds, but it takes just 23 for better-than-even odds, and 70 makes it near-certain. The trick is that the number of pairs grows quadratically — 23 people form 253 pairs, each a chance to match. It is why hash collisions and cryptographic birthday attacks happen far sooner than expected.

▶ Run in Python

Data Inspector

Group size23
P(shared birthday)50.7%
Pairs253

Governing equation

Reading this result: Past the tipping point: 23 people form 253 pairs, and a match is now more likely than not (50.7%) — far fewer people than the 365 intuition expects.

Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.

or unlock everything with Pro →

More with Birthday Paradox

Frequently asked questions

Is this good for hobbyists & makers?
Yes — this version of "Birthday Paradox for a batting average" is framed for hobbyists & makers exploring it for fun. Play with real physics and math, no license and no setup — just open and tinker.
Do I need to install anything?
No. It runs in any modern browser, free, with no account required.