How to use the Bayes Theorem Calculator
- Fill in Prior probability, True positive rate and False positive rate. Sensible sample values are already there, so you will see a result immediately.
- The answer updates as you type. Nothing to submit.
- Compare a couple of scenarios by changing one number at a time. It is the quickest way to see what really matters.
What is it good for?
Update a probability after new evidence. The formula is the standard one, so you can double-check the answer against a bank, a textbook or a spreadsheet.
A calculator is only as good as its inputs, so it helps to try a few different values and see how much each one changes the result. People most often reach for it when sizing a sample for a study, working out if a difference is meaningful and preparing for a statistics exam.
See it in action
With the sample values already filled in, this is what the calculator shows. Change any number and the answer updates straight away.
What happens when you change the inputs?
The best way to understand a calculator is to move one number at a time. Starting from the sample values, where Probability after a positive result comes to 16.102%, here is how that first result responds:
| Change | Probability after a positive result |
|---|---|
| Prior probability = 0.5 | 8.716% |
| Prior probability = 2 | 27.941% |
| True positive rate = 47.5 | 8.756% |
| True positive rate = 190 | 27.737% |
Notice which input moves the answer the most. That is the one worth getting exactly right when you use real figures.
Mistakes to avoid
Rounding too early spoils the final digits. Keep the full number until the last step and round only the answer.
Check the units before you start. Mixing centimetres with metres, or degrees with radians, is behind most wrong answers.
Watch for impossible inputs such as a negative length or a probability above 1. They produce results that look fine and mean nothing.
Privacy
The numbers you type are used only to do the calculation, in your browser. Nothing is sent to us.
Frequently asked questions
Is Bayes Theorem Calculator free to use?
Yes, completely free. There is no sign-up, no watermark and no limit on how many times you use it.
Is my data safe when I use Bayes Theorem Calculator?
The numbers you type are used only for the calculation in your browser. Nothing is sent or stored.
How accurate is Bayes Theorem Calculator?
It uses the standard formula, so the arithmetic is exact. The real-world answer depends on whether your inputs match your real situation, so check anything important with a professional.
Any tips for using Bayes Theorem Calculator?
Rare events stay unlikely even after a positive test unless the test is very accurate. Check the base rate.