Math

Bayes Theorem Calculator

Live

Update a prior probability using sensitivity and false-positive evidence.

About Bayes Theorem Calculator

Update a prior probability using sensitivity and false-positive evidence. Enter prior probability, sensitivity / true-positive rate, false-positive rate in a purpose-built probability workspace with explicit units and relevant controls. Bayes’ theorem divides the joint probability of a true positive by the total probability of any positive result. The result panel reports posterior probability after positive evidence, positive predictive value, negative predictive value, probability of positive evidence, posterior odds with supporting context. Results depend on the entered assumptions and should be checked against the real terms, measurements, or source data. Processing stays in your browser and entered values are not sent to UtilityPages.

Set up Bayes Theorem Calculator

Workspace

Structured calculation

Follow the input-to-result path; the fields below remain the source of every value.

Complete the fields to prepare a result.

Enter the prior probability used by this tool.

Enter the sensitivity / true-positive rate used by this tool.

Enter the false-positive rate used by this tool.

Bayes Theorem Calculator results

Enter the values above, then calculate to see the result.

Bayes Theorem Calculator method

Bayes’ theorem divides the joint probability of a true positive by the total probability of any positive result.

How it works

Bayes’ theorem divides the joint probability of a true positive by the total probability of any positive result. Results depend on the entered assumptions and should be checked against the real terms, measurements, or source data.

Examples

Bayes Theorem Calculator example

Example input
{
    "prior_probability": 10,
    "sensitivity": 90,
    "false_positive_rate": 8
}
Expected result
{
    "posterior_probability": 55.5555555556,
    "positive_predictive_value": 55.5555555556,
    "negative_predictive_value": 98.8066825776,
    "evidence_probability": 16.2,
    "odds_update": "1.25 to 1"
}

Privacy

This tool does not store your inputs or results on UtilityPages.org.

Frequently asked questions

How does the Bayes Theorem Calculator work?

Bayes’ theorem divides the joint probability of a true positive by the total probability of any positive result.

What should I enter in the Bayes Theorem Calculator?

Enter prior probability, sensitivity / true-positive rate, false-positive rate. Keep units consistent with the labels and use values from the same scenario.

What does the Bayes Theorem Calculator return?

The result includes posterior probability after positive evidence, positive predictive value, negative predictive value, probability of positive evidence, posterior odds. Supporting values are included to make the headline result easier to check.

How exact is the Bayes Theorem Calculator?

Results depend on the entered assumptions and should be checked against the real terms, measurements, or source data.