OR Probability Calculator

Calculate P(A or B) for mutually exclusive, non-exclusive, and three-event scenarios with stacked probability bars, comparison tables, and repeated-trial analysis.

Joint probability
For repeated trial analysis
P(A or B)
44.0000%
P(A) + P(B) − P(A∩B)
P(A and B)
6.0000%
Intersection / joint
P(neither)
56.0000%
1 − P(A ∪ B)
P(only A)
24.0000%
A but not B
P(only B)
14.0000%
B but not A
P(A\' ∩ B\')
56.0000%
Complement of union

Probability Comparison

EventProbabilityVisual
P(A or B)44.000%
P(A and B)6.000%
P(only A)24.000%
P(only B)14.000%
P(neither)56.000%

Stacked Probability Bar

A: 24%
A∩B: 6%
B: 14%
Neither: 56%

At Least One in n Trials

TrialsP(at least one A or B)P(none)Bar
144.0000%56.0000%
268.6400%31.3600%
382.4384%17.5616%
490.1655%9.8345%
594.4927%5.5073%
696.9159%3.0841%
798.2729%1.7271%
899.0328%0.9672%
999.4584%0.5416%
1099.6967%0.3033%
Planning notes, formulas, and examples

About the OR Probability Calculator

The OR probability calculator computes P(A or B) — the probability that at least one of two (or three) events occurs. It supports three modes: mutually exclusive events (P(A∪B) = P(A) + P(B)), non-exclusive events (P(A∪B) = P(A) + P(B) − P(A∩B)), and three-event inclusion-exclusion.

Understanding OR probability is essential for risk assessment ("probability of failure A or failure B"), insurance ("probability of claim type A or B"), and everyday probability reasoning. The addition rule is one of the most commonly needed probability formulas.

This calculator visualizes the probability breakdown with stacked bars, compares all probability components side-by-side, and shows how the probability of "at least one" occurrence scales across repeated independent trials. It is a fast way to see whether you need to subtract overlap, use a complement, or switch to inclusion-exclusion for multiple events.

When This Page Helps

The addition rule is one of the most frequently needed probability calculations, from simple "what are the odds of X or Y?" questions to larger risk models with multiple failure modes. This calculator helps you avoid double-counting, compare the overlap against the union, and confirm that the parts still sum to the whole.

It is useful whenever you need a clean answer to "A or B", whether that means a coin result, a failure condition, or a compound event in a probability table.

How to Use the Inputs

  1. Select the mode: mutually exclusive, non-exclusive, or three events.
  2. Enter P(A) and P(B) as percentages.
  3. For non-exclusive mode, enter P(A ∩ B) — the joint probability.
  4. For three events, enter P(C) as well (assumes independence).
  5. Set the number of trials for the repeated-trial analysis.
  6. Review the probability comparison table and stacked bar visualization.
Formula used
Mutually exclusive: P(A ∪ B) = P(A) + P(B). Non-exclusive: P(A ∪ B) = P(A) + P(B) − P(A∩B). Three events (inclusion-exclusion): P(A∪B∪C) = ΣP − ΣP(pairs) + P(A∩B∩C).

Example Calculation

Result: P(A or B) = 44%

P(A∪B) = 30% + 20% − 6% = 44%. The 6% overlap is subtracted to avoid double-counting events where both A and B occur.

Tips & Best Practices

  • Mutually exclusive events cannot both occur — think of a single die roll being 1 OR 6 (can't be both). Here P(A∩B) = 0.
  • Non-exclusive events: rolling an even number OR a number > 4. Rolling 6 satisfies both, so subtract the overlap.
  • The complement approach is often easier: P(A or B) = 1 − P(neither) = 1 − P(A')×P(B') for independent events.
  • In the repeated trials table, "at least one" grows quickly — 10 trials at 30% per trial gives 97.2% chance of at least one occurrence.
  • For non-independent events, you must know P(A∩B) separately — it's not simply P(A)×P(B).
  • The stacked bar gives an instant visual of how the total probability space is divided.

Inclusion-Exclusion for Multiple Events

For n events, the inclusion-exclusion formula alternates adding and subtracting intersections: P(A₁∪...∪Aₙ) = ΣP(Aᵢ) − ΣP(Aᵢ∩Aⱼ) + ΣP(Aᵢ∩Aⱼ∩Aₖ) − ... This formula has 2ⁿ−1 terms, making it impractical for many events. In such cases, the complement method is preferred.

Applications in Reliability Engineering

System reliability often uses OR probability. A system fails if component A OR component B fails. For independent components with failure probabilities pA and pB, system failure probability = pA + pB − pA×pB. Redundant systems reverse this: the system survives if component A OR component B survives.

De Morgan's Laws and Complements

De Morgan's laws connect OR and AND through complements: P(A∪B) = 1 − P(A'∩B') and P(A∩B) = 1 − P(A'∪B'). These identities are fundamental for converting between "at least one" and "all/none" probability problems.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • OR (union) asks "at least one event occurs" and is P(A) + P(B) − P(A∩B). AND (intersection) asks "both events occur" and is P(A)×P(B) for independent events. OR always gives a larger or equal probability.