1. Enter the prior probability
The prior represents how likely A is before the new evidence B is observed.
Update the probability of an event after observing evidence. Use direct Bayes mode when the evidence probability is known, or binary-test mode when sensitivity and false-positive rate are available.
Choose a calculation mode, enter the probabilities, and review how the evidence changes the prior belief.
Bayes’ theorem combines a prior probability with the likelihood of observed evidence. In binary mode, the calculator also derives the total evidence rate by considering evidence among both A and not-A cases.
The prior represents how likely A is before the new evidence B is observed.
Enter P(B|A), then either provide P(B) directly or enter the false-positive rate P(B|not A).
Compare the updated probability with prior odds, posterior odds, Bayes factor, probability lift, and expected counts.
P(A|B) = P(B|A) × P(A) ÷ P(B)
P(B) = P(B|A)P(A) + P(B|not A)P(not A)
Posterior Odds = Prior Odds × Bayes Factor
Compare it with the prior probability to see whether the evidence raises or lowers the probability of A.
Values above 1 support A, values below 1 support not-A, and values near 1 provide little discrimination.
This is the complement of the posterior probability and is especially useful when base rates are low.
Counts make base-rate effects easier to see by showing true and false evidence cases in an illustrative population.
Important details for calculating and interpreting Bayes’ theorem.
Bayes’ theorem is a probability rule used to update the probability of an event after observing related evidence.
A prior probability is the estimated probability of A before considering the new evidence B.
The posterior probability is the updated probability of A after taking the observed evidence B into account.
P(B|A) is the probability of observing evidence B when A is true. In diagnostic testing, it is often called sensitivity.
It measures how often B occurs when A is false. A high false-positive rate can greatly reduce the posterior probability, especially when A is rare.
In binary mode, the Bayes factor is P(B|A) divided by P(B|not A). It shows how much more likely the evidence is under A than under not-A.
Yes. If the evidence is more likely when A is false than when A is true, the posterior probability can be lower than the prior.
It is used in medical testing, spam detection, machine learning, fraud detection, forecasting, legal reasoning, reliability analysis, and scientific inference.