Count birthday collisions

Use the chance of no match to understand why shared birthdays arrive surprisingly soon

Count the pairs

ABC3 × 2 ÷ 2 = 3
Three people, three possible pairs.

With three people, there are three pairs that could match. With 23 people, there are 253 pairs. These overlapping possibilities are why a shared birthday can be likely even in a small group. Assume independent dates, each equally likely.

Lesson help

Count the event carefully. “Any pair matches” and “someone matches this date” have different complements.

About this lesson

Try the method in a practice when you are ready.

Report

Count the pairs

With three people, there are three pairs that could match. With 23 people, there are 253 pairs. These overlapping possibilities are why a shared birthday can be likely even in a small group. Assume independent dates, each equally likely.

ABC3 × 2 ÷ 2 = 3
Three people, three possible pairs.

Count the opposite event

Try a tiny calendar with four dates and three people. There are 4 × 4 × 4 = 64 ordered date assignments. All dates differ in 4 × 3 × 2 = 24 assignments, so a shared date occurs in 64 − 24 = 40. Its probability is 40/64 = 5/8.

244064 − 24 = 4040/64 = 5/8
24 assignments have no match; the other 40 have a match.

A fixed date changes the question

Keep the same three people and four dates, but now require someone to have date 1. Each person has three other dates, so all three miss date 1 in 3 × 3 × 3 = 27 assignments. Compare this event with any matching pair.

A1234B1234C12341 − (3/4)³ = ?
The fixed date and any matching pair define different events.

Try it

For three people and four equally likely dates, which event is more likely?

  1. At least two people share any date
  2. At least one person has date 1
Show the answer

At least two people share any date

Correct. The probability of at least one matching pair is 40/64. The probability that at least one person has date 1 is 1 − 27/64 = 37/64.

Enable JavaScript to answer interactively and save your place.

Practice Birthday collisions

Sign in free

Practice without limits and keep your progress.