Bayes with multiple hypotheses

Use 2–32 mutually exclusive hypotheses covering all possibilities. Each prior needs a matching likelihood. Priors must sum exactly to 1; use fractions when needed.

Normalize every hypothesis by the same evidence total

Use hypotheses that cannot occur together and cover all possibilities. Enter one prior and one likelihood P(E | H) for each hypothesis. All values must be between 0 and 1, and the stored priors must sum exactly to 1. The calculator rejects an incorrect total instead of silently rescaling it; exact fractions avoid rounded thirds.

For each row, multiply its prior by its likelihood. Their sum is P(E), the shared evidence denominator. Divide each joint contribution by that positive total to obtain the posterior for its hypothesis. No independence or causality assumption is added.

Worked example: two equally likely hypotheses

For H1 and H2, use priors 1/2 and 1/2 with likelihoods 1/4 and 3/4. Their joint contributions are 1/8 and 3/8. The evidence total is 1/2.

Divide by 1/2 to get posterior probabilities 1/4 and 3/4. The priors sum to 1, and so do the posteriors. If both likelihoods were zero, the evidence would be zero and neither posterior would be defined.

Load example fills the form without calculating. Choose its primary action to work it out.

Sources and related calculators

The method and worked example here are original. Sources describe the underlying mathematics or notation; calculation choices and limits are in the precision and syntax guide.