How it works
Enter probabilities from 0 to 1 for mutually exclusive A and not A. This performs probability arithmetic; it does not supply or validate the real-world probabilities you enter.
Worked example
With a prior P(A) of 0.1, a 0.8 chance of seeing B when A is true and a 0.2 chance when it is not, B has an overall probability of 0.26, so observing B raises P(A) to 0.308.
How the posterior P changes with prior probability P
Other inputs keep their starting values: P(B given A): 0.8; P(B given not A): 0.2. Examples only, not recommendations.
| Prior probability P(A) | Posterior P(A given B) |
|---|---|
| 0.05 | 0.173913 |
| 0.1 | 0.307692 |
| 0.2 | 0.5 |
Cite this page
ToolOctopus. “Bayes theorem calculator.” Updated . https://tooloctopus.com/bayes-theorem-calculator.
Add an access date if your instructions require one.
Citation formatting uses citeproc-js by Frank Bennett and Citation Style Language styles. License and source code.