Probability Calculator
Calculate single, compound (A and B), union (A or B), conditional (A | B) probabilities, and exact odds step-by-step.
Scientific References & Assumptions
- Kolmogorov's Axioms: All probabilities exist in the closed interval [0, 1] with the probability of the entire sample space equal to 1.
- In independent mode, the occurrence of event A yields zero information regarding event B, enforcing P(A ∩ B) = P(A) × P(B).
- In mutually exclusive mode, events are disjoint (P(A ∩ B) = 0).
- Fréchet-Hoeffding Bounds: The intersection cannot exceed the smaller of P(A) and P(B), and must be large enough to prevent the union from exceeding 100%.
- Ross, S. M. (2019). A First Course in Probability (9th Edition). Pearson Education.
- NIST / SEMATECH (2026). e-Handbook of Statistical Methods. National Institute of Standards and Technology.
About the Probability Calculator
Easily compute single-event, compound, conditional, and independent probabilities using standard mathematical axioms. Toggle between independent and mutually exclusive events, convert between odds and probability, and view step-by-step intermediate formulas.
Mathematical Formula & Logic
Step-by-Step Example
Worked Examples: 1. Compound Independent Events (P(A) = 0.40, P(B) = 0.50): Let Event A be a 40% chance of rain on Saturday and Event B be a 50% chance of rain on Sunday, assuming both days are independent. - Joint Intersection P(A and B) = 0.40 × 0.50 = 0.20 (20% chance of rain on both days). - Union P(A or B) = P(A) + P(B) - P(A and B) = 0.40 + 0.50 - 0.20 = 0.70 (70% chance of rain on at least one day). - Neither Event P(Neither) = 1 - P(A or B) = 1 - 0.70 = 0.30 (30% chance of a completely dry weekend). 2. Odds to Probability Conversion (Odds 3 : 1 in Favor): Suppose a team has 3 to 1 odds in favor of winning a championship match. - Total sample space parts = 3 favorable + 1 unfavorable = 4 total parts. - Exact Probability P(Win) = 3 / 4 = 0.75 (75% winning probability). - Complementary Probability P(Loss) = 1 - 0.75 = 0.25 (25% losing probability). - Odds Against winning are exactly 1 : 3.
Reference Data & Values
| probability metric | formula | applicability | example value |
|---|---|---|---|
| Classical Probability P(A) | N(A) / N(S) | Finite sample space with equally likely discrete outcomes | 3 / 12 = 25% |
| Complementary Event P(A') | 1 - P(A) | Exact logical opposite of event A | 1 - 0.25 = 75% |
| Union P(A or B) | P(A) + P(B) - P(A and B) | Probability that at least one of two events occurs | 0.4 + 0.5 - 0.2 = 70% |
| Intersection P(A and B) | P(A) × P(B) | Joint occurrence of two statistically independent events | 0.4 × 0.5 = 20% |
| Conditional P(A | B) | P(A and B) / P(B) | Likelihood of A assuming conditioning event B occurred (P(B) > 0) | 0.2 / 0.5 = 40% |