Probability Calculator
Single events · AND/OR/Conditional · Binomial · Normal distribution · Dice/Card/Coin
Quick Examples
Formula: P = Favorable Outcomes ÷ Total Outcomes
Step-by-Step Solution
Multiple Events Calculator
Venn diagram note: P(A∪B) = P(A) + P(B) − P(A∩B). The intersection region is subtracted to avoid double-counting. Leave P(A∩B) blank to assume independence.
Binomial Probability Calculator
P(X = k) = C(n,k) × pk × (1−p)n−k
Normal Distribution Calculator
Z = (X − μ) / σ | Uses Φ(z) approximation (Abramowitz & Stegun)
Dice / Card / Coin Calculator
Quick Formulas Reference
P(A') = 1 − P(A)
P(A∩B) = P(A) × P(B) [independent]
P(A∪B) = P(A) + P(B) − P(A∩B)
Binomial = C(n,k) × pk × (1−p)n−k
Z-score = (X − μ) / σ
C(n,k) = n! / (k! × (n−k)!)
Worked Examples
Lottery Odds
A lottery requires picking 6 numbers from 1–49. Favorable = 1, total = C(49,6) = 13,983,816. Probability = 1/13,983,816 ≈ 0.0000000715 (7.15 × 10⁻⁸). The complement (not winning) = 99.99999285%.
Quality Control (Binomial)
A factory has a 5% defect rate (p = 0.05). In a batch of n = 20 items, the probability of exactly k = 2 defects is C(20,2) × 0.05² × 0.95¹⁸ ≈ 0.1887 (18.87%). P(at most 2) ≈ 92.45%.
Exam Scores (Normal)
Exam scores are normally distributed with μ = 70, σ = 10. P(score > 85) = P(Z > 1.5) ≈ 6.68%. P(60 < X < 80) = P(−1 < Z < 1) ≈ 68.27% (empirical rule).
What Is Probability?
Probability is a branch of mathematics that quantifies uncertainty. It measures how likely an event is to occur on a scale from 0 (absolutely impossible) to 1 (absolutely certain). The basic probability formula divides the number of favorable outcomes by the total number of equally likely outcomes: P = Favorable / Total. A fair coin has a 1/2 = 0.5 = 50% chance of landing heads.
Types of Probability Events
Events can be classified in several ways that affect how probabilities are combined:
- Independent events: The occurrence of one does not change the probability of the other. Example: two separate coin flips.
- Mutually exclusive events: Both cannot occur simultaneously. Example: rolling a 3 and a 5 on the same die roll.
- Complementary events: Together they cover all possibilities. P(A) + P(A') = 1.
- Conditional events: The probability of A given that B has already occurred, written P(A|B).
The Addition Rule (OR)
The probability that event A or event B occurs is: P(A∪B) = P(A) + P(B) − P(A∩B). The intersection P(A∩B) is subtracted because it would be counted twice. For mutually exclusive events where P(A∩B) = 0, this simplifies to P(A∪B) = P(A) + P(B).
The Multiplication Rule (AND)
For independent events, the probability that both A and B occur is: P(A∩B) = P(A) × P(B). For dependent events, you need the conditional form: P(A∩B) = P(A|B) × P(B). For three independent events: P(A∩B∩C) = P(A) × P(B) × P(C).
Binomial Distribution
The binomial distribution applies when you have a fixed number of independent trials (n), each with only two outcomes (success or failure), and the same probability of success (p) on every trial. The probability of exactly k successes is:
P(X = k) = C(n,k) × pk × (1−p)n−k
| Metric | Formula |
|---|---|
| Mean | μ = np |
| Variance | σ² = np(1−p) |
| Standard Deviation | σ = √(np(1−p)) |
| P(X ≤ k) CDF | Sum of P(X = i) for i from 0 to k |
| P(X ≥ k) | 1 − P(X ≤ k−1) |
Normal Distribution and Z-Scores
The normal distribution is the famous bell-shaped curve described by its mean (μ) and standard deviation (σ). Any value X can be converted to a Z-score to express how many standard deviations it is from the mean: Z = (X − μ) / σ. Once converted, the standard normal table (or this calculator) gives the exact probability.
The Empirical Rule (68-95-99.7)
For any normal distribution:
- About 68.27% of values fall within 1 standard deviation of the mean (μ ± σ)
- About 95.45% fall within 2 standard deviations (μ ± 2σ)
- About 99.73% fall within 3 standard deviations (μ ± 3σ)
This rule is invaluable for quick mental estimates. If exam scores are normally distributed with mean 70 and standard deviation 10, then about 68% of students scored between 60 and 80.
Conditional Probability and Bayes
Conditional probability P(A|B) is the probability that event A occurs given that event B has already occurred. It is defined as P(A|B) = P(A∩B) / P(B). This concept underpins Bayes' theorem, which reverses the conditioning: P(B|A) = P(A|B) × P(B) / P(A). Conditional probability is used extensively in medical testing, machine learning, and risk analysis.
Dice, Cards, and Coin Probabilities
Classic probability problems involve physical randomizers:
- Fair die (d6): P(specific face) = 1/6 ≈ 16.67%
- Two dice sum: P(sum=7) = 6/36 = 1/6 ≈ 16.67% (most common two-dice sum)
- Standard deck: P(Ace) = 4/52 = 1/13 ≈ 7.69%; P(Heart) = 13/52 = 1/4 = 25%
- Fair coin: P(exactly 5 heads in 10 flips) = C(10,5) × 0.5¹⁰ ≈ 24.61%