Free online tools

Birthday Probability Calculator

Explore the birthday problem as a collision calculation. Enter group size and the number of possible days.

Enter your values

This tool processes your input in your browser.

Result

Start with the chance every day is distinct

The first birthday can be any day. The next avoids one occupied day, and the third must avoid two. Multiplying the distinct probabilities gives the chance that nobody shares a birthday.

Take the complement to find a collision

Subtract the distinct probability from one. This asks whether any pair shares a date, regardless of who matches. The model treats birthdays as independent and uniform.

Frequently asked questions

Is this the chance someone shares my own birthday?

That question fixes one calendar date. This calculation considers every pair of people in the group.

What if there are more people than possible days?

A match is certain because one day must be used by at least two people.