Free · Conditional probability

Bayes’ Rule for Consistent Event Probabilities

Calculate a conditional probability from two event probabilities and the reverse conditional, with checks for a feasible joint distribution.

  • Formula & worked example
  • Private in your browser
  • No signup
Go to tool

Calculator inputs

Loading calculator…

How to use this calculator

  1. Enter the known values in the units shown. Results update as you type.
  2. Where results are editable, change one to solve backwards. Lock a value to hold it fixed.
  3. Use the worked example to check the method. Reset restores the starting fields.

Private by default

Inputs and results stay in this browser tab. Bookify does not upload or store the values you enter.

Formula and method

If P(A) = 1%, P(B) = 5% and P(B given A) = 80%, then P(A given B) = 16%. The two conditional probabilities are generally different.

P(A given B) = P(B given A) × P(A) ÷ P(B)

Worked example

Enter these known values and leave the other values blank.

P(A) — probability of event A
1 %
P(B) — probability of event B
5 %
P(B given A)
80 %
P(A given B)
16 %

Assumptions and limitations

  • A and B refer to events in the same probability model. Both event probabilities are positive so the two conditional probabilities are defined.
  • Conditional probabilities lie between 0% and 100%. Their implied intersection cannot exceed either event or be smaller than P(A) + P(B) − 1.
  • The calculator checks arithmetic consistency, not whether your probability estimates are reliable or applicable to a particular situation.

Common questions

Are P(A given B) and P(B given A) interchangeable?

No. They condition on different events and are connected through the event probabilities.

Why can values within 0% and 100% still be rejected?

They may imply an impossible intersection or leave more probability outside A than its complement allows.

References

Require probabilities at most one, permit zero conditional probabilities, and validate that their implied intersection is feasible.

Explore conditional probability or browse all statistics calculators.