Probability Calculator
Calculate joint event probabilities, intersections P(A and B), unions P(A or B), conditional odds, and complementary events.
All formulas and computation matrices for this calculator execute directly in your browser with zero latency. Enter your parameters to see instant results.
Who Uses This Calculation & Why Accuracy Matters
Statisticians, risk analysts, epidemiologists, geneticists, insurance actuaries, and gamers use this probability calculator to evaluate single-event probabilities, joint probabilities (AND / OR), conditional probabilities via Bayes' Theorem, and complementary events.
Evaluating probability of having a rare disease (prevalence 0.1% = 0.001) given a positive screening test with 99% sensitivity and 95% specificity.
Calculating the probability of rolling a '6' on a fair six-sided die three consecutive times [(1/6)³].
A spacecraft with 4 redundant thrusters, each having a 5% failure probability (0.05), determining probability of at least one thruster failing.
Probability Axioms & Combinatorial Set Operations (Kolmogorov Axioms)
Foundational axioms of probability theory governing sample spaces and events.
| Event Relationship | Set Notation | Probability Formula | Independence / Disjoint Condition | Example Scenario |
|---|---|---|---|---|
| Complementary Event (NOT A) | Aᶜ or A' | P(Aᶜ) = 1 - P(A) | Universal rule | P(Rolling non-6) = 1 - 1/6 = 5/6 |
| Union (A OR B) - General | A ∪ B | P(A) + P(B) - P(A ∩ B) | Events may overlap | Drawing a King OR a Heart from card deck |
| Union (A OR B) - Mutually Exclusive | A ∪ B | P(A) + P(B) | Disjoint events: P(A ∩ B) = 0 | Rolling a 2 OR a 5 on single die roll |
| Intersection (A AND B) - Independent | A ∩ B | P(A) × P(B) | Event A does not influence Event B | Flipping Heads AND rolling a 6 |
| Intersection (A AND B) - Dependent | A ∩ B | P(A) × P(B | A) | Event A alters probability of B | Drawing 2 Aces without replacement |
| Conditional Probability (B given A) | B | A | P(A ∩ B) / P(A) | Requires P(A) > 0 | Probability of heart disease given smoker |
* Axioms formulated by Andrey Kolmogorov (1933).
Probability Axioms & Bayes' Theorem Equations
Probability is bounded between 0 (impossible) and 1 (certain). Bayes' Theorem updates prior probability P(A) based on new evidence B.
Baseline probability of hypothesis A before evidence.
Probability of observing evidence B if hypothesis A is true (Sensitivity).
Updated probability of hypothesis A given evidence B.
Step-by-Step Worked Examples with Real Numbers
Worked Example 1: Bayes' Theorem on Medical Screening
Healthy population fraction.
Total positive tests.
Only 1.94% chance of actually having disease.
Worked Example 2: The "At Least One" Rule on Coin Tosses
Probability of zero heads.
Much faster than summing individual binomial probabilities.
Assumptions, Edge Cases & Common Calculation Mistakes
ℹ Underlying Algorithm Assumptions
- Probabilities must satisfy 0 ≤ P(E) ≤ 1 (cannot be negative or exceed 100%).
- Independent events assume outcome of one trial has zero physical memory on subsequent trials.
- Assumes complete sample space partition.
⚠ 3 Common Mistakes to Avoid
- The Gambler's Fallacy: Believing that after 5 consecutive coin flips of Heads, Tails is "due" to occur (each flip remains exactly 50%).
- Base Rate Fallacy: Ignoring background population disease prevalence when interpreting medical test accuracy.
- Adding probabilities of non-mutually exclusive events without subtracting their intersection (e.g., P(King OR Heart) = 4/52 + 13/52 - 1/52 = 16/52, not 17/52).