P(A|B) = P(A) P(B|A) / P(B)

Bayes' Theorem Calculator

Example: Let A be "it will rain", B be "the forecast says rain". Enter P(A), P(B), and P(B|A) to find P(it will rain | the forecast says rain).