Tested tool guide
Tested browser tools
Checked August 15, 2026
What Bayesian Probability Calculator does, with a checked example
Enter a prior probability, a true-positive rate (sensitivity), and a false-positive rate, and the calculator plugs them into Bayes' theorem to return the posterior probability of the event given a positive observation. It shows the same numbers two ways: a branching probability tree with prior x likelihood along each path, and a stacked area plot where dragging the prior slider shows how the posterior share shifts in real time. The most common surprise is how low the posterior stays when the prior is small, even with a highly accurate test - the base rate dominates.
Worked example
A concrete input and expected output from the current implementation.
Input
Prior P(event) = 1%, sensitivity P(positive | event) = 90%, false-positive rate P(positive | no event) = 5%
->
Expected output
P(event | positive) = 15.38%
P(positive) = 0.9x0.01 + 0.05x0.99 = 0.0585, so the posterior is 0.009 / 0.0585 = 0.1538, meaning most positives come from the much larger pool of non-events even though the test is 90% sensitive.