Learn statistics
Probability formulas: the complete list, with worked examples
Every probability formula you need, what each symbol means, and one worked example for each.
This page lists the probability formulas used in school, college and exams like IIT JAM, GATE and CSIR NET, in the order you meet them. Each one has a short worked example. (Hindi mein samajhna ho to pehle probability kya hai padhein.)
1. Basic probability
P(A) = favourable outcomes / total outcomes, with 0 ≤ P(A) ≤ 1.
Example. Two dice are rolled. What is the chance the sum is 7? The sum 7 happens in 6 ways: (1,6), (2,5), (3,4), (4,3), (5,2), (6,1). Total outcomes: 36. So P = 6/36 = 1/6.
2. Complement rule
P(A′) = 1 − P(A). Use it when “at least one” is easier as “1 minus none”.
Example. The chance of getting at least one head in 3 coin tosses is 1 − P(no heads) = 1 − (1/2)³ = 7/8.
3. Addition rule
- Any two events:
P(A ∪ B) = P(A) + P(B) − P(A ∩ B) - Mutually exclusive events:
P(A ∪ B) = P(A) + P(B)
Example. From a pack of 52 cards, P(king or heart) = 4/52 + 13/52 − 1/52 = 16/52 = 4/13. The king of hearts is counted twice, so we subtract it once.
4. Conditional probability
P(A | B) = P(A ∩ B) / P(B), for P(B) > 0. It reads “probability of A given that B has happened”.
Example. A card is drawn and you are told it is a heart. P(it is a king | heart) = (1/52) / (13/52) = 1/13.
5. Multiplication rule
- Any two events:
P(A ∩ B) = P(A) × P(B | A) - Independent events:
P(A ∩ B) = P(A) × P(B)
Example. Two cards are drawn without replacement. P(both aces) = 4/52 × 3/51 = 12/2652 = 1/221.
6. Total probability
If events A1, A2, …, An split all possibilities into non-overlapping parts, then P(B) = Σ P(B | Ai) × P(Ai).
7. Bayes’ theorem
P(A | B) = P(B | A) × P(A) / P(B)
Example. 1% of people have a condition. A test is positive for 95% of people who have it, and also positive for 5% of people who do not. A person tests positive. What is the chance they have the condition?
P(positive) = 0.01 × 0.95 + 0.99 × 0.05 = 0.0095 + 0.0495 = 0.059.
P(condition | positive) = 0.0095 / 0.059 ≈ 0.16, about 16%. Because the condition is rare, most positive results are false alarms.
8. Expected value and variance
E(X) = Σ x · P(x)Var(X) = E(X²) − [E(X)]²
Example. A fair die: E(X) = (1+2+3+4+5+6)/6 = 3.5.
9. Binomial distribution
For n independent trials, each with success chance p: P(X = k) = C(n, k) · pk · (1 − p)n − k. Mean = np, variance = np(1 − p).
Example. Exactly 2 heads in 5 fair tosses: C(5,2) × (1/2)² × (1/2)³ = 10/32 = 0.3125.
10. Poisson distribution
For events that occur at an average rate λ in a fixed interval: P(X = k) = e−λ · λk / k!. Mean = variance = λ.
Example. A help desk gets 3 calls an hour on average. P(exactly 2 calls in an hour) = e−3 × 3² / 2! = 4.5 × e−3 ≈ 0.224.
Quick table
| Situation | Use |
|---|---|
| Equally likely outcomes | Basic probability |
| “Or” question | Addition rule |
| “And” question | Multiplication rule |
| “Given that…” | Conditional probability |
| Reverse a conditional | Bayes’ theorem |
| Fixed number of yes/no trials | Binomial |
| Counts of rare events over time | Poisson |
What to do next
Probability is the base for hypothesis testing. Read what a p-value is next. For exam practice with fully solved problems, see the probability and statistics notes. To learn the ideas in Hindi, one example at a time, see the Statistics for Data Science course.
More from StudyLama
Questions people ask
What is the basic formula of probability?
P(A) = number of favourable outcomes ÷ total number of equally likely outcomes. The value is always between 0 and 1.
What is the difference between independent and mutually exclusive events?
Mutually exclusive events cannot happen together, so P(A ∩ B) = 0. Independent events do not affect each other, so P(A ∩ B) = P(A) × P(B). Two events with non-zero probability cannot be both.
When do I use Bayes' theorem?
When you know P(B | A) and want the reverse, P(A | B). For example, you know how accurate a test is and want to know how likely a person is to be ill after a positive result.
Probability formulas kaise yaad rakhein?
Formula ratne se behtar hai har formula ka ek chhota example solve karna. Cards, dice aur coin ke example se addition, multiplication aur conditional probability teen din mein pakke ho jaate hain.