I don't know the calculation , but remember in grade school talking about this. In an average class (say 30 people), the odds are pretty good (much over 50%) that two people will have the same birthday.
For three people having the same birthday, I dont know. I would guess maybe 250.