- Free
- No sign-up
- Works on any device
No tool matches your search.
- Free
- No sign-up
- Works on any device
Create a QR code for a link, Wi-Fi, WhatsApp, contact and more, or read one from a photo.
- Free
- No sign-up
- Works on any device
Fill in the details to see your QR code.
PNG for phones, chats and websites. SVG and PDF stay sharp at any size, which is best for printing. Tip: point your phone camera at the preview to test it.
3. Style (optional): colors, dots, logo
Choose a photo or screenshot or drag it here
Works with photos of printed codes, screenshots and image files.
Looking for QR codes…
Bayes theorem calculator
Update a probability with new evidence, such as a test result given prevalence, sensitivity and specificity, with a table of 1000 people.
- Free
- No sign-up
- Works on any device
About Bayes theorem calculator
Bayes theorem turns a test result into an updated probability: P(A | B) = P(B | A) x P(A) / P(B). The usual example is a medical screen. With 2 percent prevalence, 90 percent sensitivity and 95 percent specificity, only about 27 percent of people who test positive actually have the condition. The page works this out and also lays out 1000 imagined people in a table and a text tree, so you can see the true positives against the false alarms. It is an educational tool and not medical advice.
How to use Bayes theorem calculator
- Enter how common the condition is, the sensitivity and the specificity as percentages.
- Read the main result: the chance of having the condition after a positive test.
- Open the table and tree of 1000 people to see how many positives are true and how many are false alarms.
Why use this tool?
- Private: everything happens in your browser. Nothing you enter is uploaded.
- Free, with no sign-up, no watermark and no limit on how often you use it.
- Works on phones, tablets and computers: Android, iPhone, Windows, Mac and Linux. Nothing to install.
- Free to embed on your own website, with a ready-made code to copy.
- Available in 10 languages.
Also known as
Frequently asked questions
Why is a positive result often less certain than people expect?
When a condition is rare, healthy people vastly outnumber sick ones, so even a small false positive rate produces many false alarms compared with the true positives.
What is the difference between sensitivity and specificity?
Sensitivity is the share of people with the condition who test positive. Specificity is the share of people without it who test negative. Both are needed for Bayes theorem.
Can I use this for things other than medical tests?
Yes. It fits any case where evidence B updates a prior belief A, such as spam filters or quality checks. Treat prevalence as the prior and the two rates as the evidence strength.
Is Bayes theorem calculator free?
Yes. Bayes theorem calculator on Toolipedia is free to use, with no sign-up and no watermark.
Is it safe to use?
Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.
Does it work on my phone?
Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.
Do I need an account?
No. Just open the page and use the tool. There's no sign-up and no email needed.
Can I put Bayes theorem calculator on my own website?
Yes. Use the Embed on your site button under the tool to copy a short piece of code and paste it into your page. It is free, needs no account, and the tool keeps working inside your page.