Probability

Use this calculator

Probability measures likelihood from 0 to 1. The current BB Calculator Probability tool provides eight modes covering simple events, complements, unions, independent intersections, conditional probability, Bayes’ rule, permutations and combinations.

Choose the probability question you need

ModeInputsCalculation / primary output
SimpleFavorable outcomes; Total outcomesP(A) = favorable ÷ total
ComplementP(A)P(not A) = 1 − P(A)
A or BP(A); P(B); P(A and B)P(A or B) = P(A) + P(B) − P(A and B)
A and BP(A); P(B)For independent events: P(A and B) = P(A) × P(B)
ConditionalP(A and B); P(B)P(A | B) = P(A and B) ÷ P(B)
BayesPrior P(A); Likelihood P(B | A); Evidence P(B)Posterior P(A | B)
Permutationsn; rnPr = n! ÷ (n − r)!
Combinationsn; rnCr = n! ÷ [r! × (n − r)!]

Simple probability from equally likely outcomes

P(A)=\frac{f}{N}

In Simple mode, Favorable outcomes and Total outcomes are whole numbers. The calculator requires 0 ≤ favorable ≤ total and total greater than zero. For 3 favorable outcomes out of 10, the primary result is P(A) = 30%.

The highlighted cells represent f=3 of N=10 equally likely outcomes

Probability 3/10 is 0.3 or 30%. Odds against compare failures with successes: 7:3, conventionally 7/3:1; they are a different representation.

Probability-mode inputs use decimals from 0 to 1

Complement, A or B, A and B, Conditional and Bayes expect probability inputs as decimals such as 0.30 for 30%. The primary result is shown as a percentage. Supporting details include the decimal result and its complement, followed by the probabilities supplied for that mode.

P(A)=30%, P(Aᶜ)=70%

The favorable/total ratio applies directly to equiprobable outcomes such as a fair die. For unequal likelihoods, sum outcome probabilities using a model rather than counting each outcome equally.

Union, intersection and conditional probability

A or B requires the overlap P(A and B) explicitly; the calculator checks that the overlap is mathematically possible. A and B uses the multiplication rule specifically for independent events. Conditional mode requires a non-zero P(B), and P(A and B) cannot exceed P(B).

Bayes mode checks the posterior

P(A\mid B)=\frac{P(B\mid A)P(A)}{P(B)}

Enter Prior P(A), Likelihood P(B | A), and a non-zero Evidence P(B). The calculator rejects inconsistent inputs that would make the posterior exceed 1.

Permutations and combinations use whole numbers

Permutations and Combinations require whole numbers with 0 ≤ r ≤ n ≤ 5000. Permutations count ordered selections; combinations count unordered selections. Their primary outputs are the exact integer nPr or nCr, with n and r shown as supporting details.

Ten total → 3 favorable → 30% probability

For at least one of two exhaustive alternatives, subtract the event probability from one to obtain its complement; the two probabilities total 100%.

Read the result correctly

Probability modes report a percentage as the primary result and provide decimal/complement details. Permutation and combination modes report an exact integer count instead. The How It’s Calculated content uses the formula for the selected mode rather than reusing the Simple-mode formula.

Quick answers

Should I type 30 or 0.30 for P(A)=30%?

Use 0.30 in probability input fields. Simple mode is different: it asks for favorable and total whole-number counts.

When should I use A and B mode?

Use it when A and B are independent, because the implemented rule multiplies P(A) by P(B).

Why does A or B ask for P(A and B)?

The overlap must be subtracted once so outcomes in both events are not double-counted.

What is the difference between permutations and combinations?

Permutations treat order as significant; combinations do not.