Probability Calculator
Enter the probabilities of two independent events to get every combination: both, either, exactly one, neither, and complements.
How to use the probability calculator
- Enter probabilities as decimals between 0 and 1.
- Results use the multiplication, addition and complement rules.
Examples
P(A) = 0.5, P(B) = 0.3
Answer: P(A∪B) = 0.65
What the probability calculator does
It works out the probability of single events, combined events (and/or), complements, conditional probability and independent events, plus binomial probabilities. Each answer is shown as a fraction, a decimal and a percentage, with the rule used.
Basic probability
Rolling a die, . Probabilities are always between 0 (impossible) and 1 (certain).
The rules
| Rule | Formula |
|---|---|
| Complement | |
| Addition (or) | |
| Mutually exclusive | |
| Multiplication (and) | |
| Independent | |
| Conditional |
Worked example: "at least one"
What's the probability of at least one six in 4 rolls of a die? Use the complement:
Worked example: without replacement
A bag has 5 red and 3 blue marbles. Draw two without replacement. What's ?
The second fraction changes because one red marble is gone. These events are dependent.
Binomial probability
For independent trials with success probability :
Exactly 3 heads in 5 fair coin flips: .
Common mistakes
- Adding probabilities for "and" (you multiply), or multiplying for "or" (you add).
- Double counting overlap: .
- The gambler's fallacy: after five heads, the next flip is still 50/50.
- Confusing with .
To count outcomes for these formulas, use the combination and permutation calculator.
In real life: the birthday problem
In a class of 23 students, what's the probability that at least two share a birthday? It's easiest to find the complement, "everyone has a different birthday" (ignoring leap years):
So , which is better than 50%! With 50 people, it's about 97%.
The result surprises most people because we think about our own birthday matching someone's. But there are different pairs of students, and any pair can match.
Formulas
Practice problems
Try each one first, then open the answer to check your work.
1.P(rolling a 5 on a die)?
Show answer
.
2.P(two heads in two coin flips)?
Show answer
.
3.P(not drawing a heart from a deck)?
Show answer
.
4., , . Find .
Show answer
0.7.
5.P(exactly 2 sixes in 3 rolls)?
Show answer
.
Key terms
- Sample space
- The set of all possible outcomes.
- Event
- A set of outcomes you're interested in.
- Complement
- Everything not in the event.
- Conditional probability
- The probability of A given that B happened, .
- Independent events
- Events where one doesn't change the other's probability.