A relationship between the conditional and the marginal probabilities of random events. Let P[A] denote the marginal probability of A and let P[A|B] denote the probability of A conditional on B. Bayes theorem states that P[A|B]=P[B|A] × P[A]/P[B], given P[B]>0.