How the probability calculator works
Probability is the chance that something happens, from 0 percent, which is impossible, to 100 percent, which is certain. For two independent events, the chance that both happen is the two probabilities multiplied. The chance that at least one happens is the sum minus the chance that both happen. Enter the probability of each event in percent.
The trial section uses the binomial distribution. It tells you the chance that event A happens exactly, at most or at least a number of times across repeated trials, such as getting three heads in ten coin tosses. It also shows the chance that A happens at least once, which is one minus the chance it never happens.
Worked examples
- Two independent events, A at 50 percent and B at 30 percent: both happen 15 percent of the time (0.5 × 0.3). At least one happens 65 percent of the time (0.5 + 0.3 − 0.15). Neither happens 35 percent of the time. Exactly one happens 50 percent of the time.
- Three heads in ten coin tosses: set A to 50 percent, trials to 10 and successes to 3. The chance of exactly three heads is about 11.7 percent (120 out of 1,024 outcomes).
- At least one head in ten tosses: 1 − 0.5^10, which is about 99.9 percent.
- At least one six in six rolls of a die: A is about 16.67 percent, and the chance is 1 − (5/6)^6, about 66.5 percent.
The rules used
- A and B: P(A) × P(B), for independent events.
- A or B: P(A) + P(B) − P(A and B).
- Not A: 1 − P(A).
- Exactly k successes in n trials: C(n, k) × p^k × (1 − p)^(n − k), the binomial formula.
- At least once in n trials: 1 − (1 − p)^n.
Limits of this calculator
The calculator assumes that events A and B are independent, which means one does not change the chance of the other, and that every trial has the same chance. It does not handle dependent events, conditional probability, or drawing without replacement, such as cards from a deck. Probabilities must be from 0 to 100 percent, the number of trials from 1 to 1,000, and the number of successes cannot be more than the trials.
Common questions
What does independent mean? Two events are independent when knowing the result of one tells you nothing about the other, such as two separate coin tosses.
If I toss a coin five times and get heads each time, is tails more likely next? No. Each toss is independent, so the chance of heads is still 50 percent.
How do I turn odds or a fraction into a percent? Divide the top number by the bottom number and multiply by 100. For example, 1 in 8 is 12.5 percent.