Bayes’ Theorem Calculator

Use Bayes’ Theorem to calculate various probabilities using the calculator below.

%
%
%
%
%
%
%
%
%
%
%
%

Have a Question or Feedback?

Results:

P(A|B) =
 %

Steps to Solve for P(A|B)

Bayes' Theorem Formula

P(A|B) = P(B|A) × P(A) / P(B)

Substitute Values and Solve

P(A|B) = ? × ? / ?

Learn how we calculated this below

scroll down

How to Calculate Probabilities Using Bayes’ Theorem

In statistics, Bayes’ theorem, also called Bayes’ rule, describes the probability of an event, based on the probabilities of conditions related to the event. It is used to find the conditional probability of an event based on related probabilities.

Bayes’ Theorem Formula

You can use Bayes’ theorem to calculate the probability of an event given another event given the probability of the event and the probability of the other event. Bayes’ theorem states:

P(A|B) = P(B|A) × P(A) / P(B)

Thus, the probability of event A given that event B also occurs is equal to the probability of event B given that event A also occurs times the probability of event A divided by the probability of event B.

Where:

  • P(A) is the probability of event A happening
  • P(B) is the probability of event B happening
  • P(A|B) is the probability of event A happening conditional that event B has also happened
  • P(B|A) is the probability of event B happening conditional that event A has also happened