Quote History Quoted:
Oof. I guess I was starting off on a false assumption of 1/365.25 for one person, but that would only be the chances that one person would be born on one particular day rather than any random possible day.
So the first person being born on one day would be 365.25/365.25, or 1, which would set the basis.
Then the second person having the same random possible day as the first person’s birthday would be 1/365.25.
Is that right?
Meeting 365.25 people, there would statistically be a theoretical 100% chance that someone will have the same birthday as me?
View Quote
First part, yes, second part no. The chance that NO ONE out of 365.25 people had the same birthday as you would be (364.25/365.25)^364.25. That is to say, each person has a 364.25/365.25 chance of NOT sharing your birthday, and you multiply that chance as many times as you have people to see the chance that they do not have your birthday. The chance that at least one other person has your birthday is then 1 - that chance.
There is about a 37% chance that none of them will share your birthday, or 63% that one or more people do share it. This is because many of them will share birthdays with each other, so about 134 days of the year would be expected to have no person with a birthday on it.
Mike
ETA: This calculation was to show the chance of a person sharing a birthday with YOU, because apparently I can't read a question. Others have covered probability of whether there are ANY matching birthdays, though not how that is calculated.
So, to figure out if ANY birthdays overlap (though not how many), we can do a similar set of math.
We start with a group of zero people, and start adding people to see if they have the same birthday as anyone already in the group.
The first person obviously doesn't match anyone in the group, since there aren't any. So his chance of NOT matching anyone is 1, and there are now 364.25 out of 365.25 days left.
The second person now has a chance of NOT matching the previous person of 364.25/365.25, and there are now 363.25 days left.
If no one has a matching birthday, then after N people are added there will be 365.25-N days available.
So you end up with an equation where you have (365.25/365.25)*(364.25/365.25)*(363.25/365.25)*.....*((365.25-(N-1))/365.25) for N people, where N is 2 or more
And this gives you the chance that you have no matching birthdays. Since we used a non-integer number of days to account for leap year, the chance will never show up as exactly zero, but will instead become negative when you reach 367 people. In this case, a negative chance means zero chance.