Question: how to calculate the probability of poker hands?
Answer: Count the number of ways that a particular type of poker hand can occur. The probability of being dealt any particular type of hand is equal to the number of ways it can occur divided by the total number of possible five-card hands.