P(A|B) = P(B|A) * P(A) / P(B)
P(A|B): The probability of event A occurring given that B is true. P(B|A): The probability of event B occurring given that A is true. P(A): The probability of event A occurring without any given conditions. P(B): The probability of event B occurring without any given conditions.