Union & Intersection Probability Calculator
Apply the addition rule instantly.
Result
How it is calculated
Enter P(A), P(B) and the overlap P(A ∩ B) as percentages. The tool applies the addition rule P(A ∪ B) = P(A) + P(B) − P(A ∩ B) and also returns the non-overlapping parts only A = P(A) − P(A ∩ B) and only B = P(B) − P(A ∩ B). Results are percentages with 2 decimal places. The overlap must be consistent with the other two numbers. It cannot be negative or larger than the smaller of P(A) and P(B), and by inclusion-exclusion it cannot be below P(A) + P(B) − 100, otherwise the union would exceed 100 %. Inconsistent inputs, values outside 0–100 and empty boxes give no result. Unlike the independent-events tool, no independence is assumed here, because you supply the overlap yourself.
Worked example
Suppose 40 % of customers bought product A, 30 % bought product B, and 10 % bought both. The union is 40 + 30 − 10 = 60.00%, the share who bought at least one. Only A: 40 − 10 = 30.00%. Only B: 30 − 10 = 20.00%. Check: only A + only B + both = 30 + 20 + 10 = 60 %, which equals the union.
Common mistakes
- Adding P(A) and P(B) and stopping. 40 % + 30 % = 70 % counts the 10 % overlap twice, so the true union is 60 %.
- Entering the probability of both as the probability of only one of them. The third box is the overlap itself, and "only A" is calculated for you.
- Entering an overlap larger than either event, for example 35 % when P(B) is 30 %. The overlap cannot exceed the smaller event, and the tool returns nothing.
- Entering an overlap that is too small. With P(A) = 80 % and P(B) = 80 % the overlap must be at least 60 %; a value of 10 % is impossible and is refused.
- Using the product P(A) × P(B) as the overlap without checking independence. If the events are dependent, the product is wrong and the union will be off.
About this calculator
The addition rule of probability states that P(A ∪ B) = P(A) + P(B) − P(A ∩ B): to find the probability that event A or event B (or both) occurs, you add their individual probabilities and then subtract the overlap, because that overlap would otherwise be counted twice. This rule is one of the first non-trivial results taught in any probability or statistics course, and it generalizes the simpler additive rule used for mutually exclusive events (where P(A ∩ B) = 0).
Beyond the classroom, the union-intersection relationship underlies real risk and reliability calculations: an insurance analyst estimating the chance that a claim involves fire damage or water damage needs to subtract the overlap where both occurred; a quality engineer estimating the probability that a product fails test A or test B uses the same correction; marketers analyzing customer segments who bought product A or product B rely on it to avoid double-counting shared customers. Once P(A∪B) is known, the "only A" and "only B" probabilities — P(A) − P(A∩B) and P(B) − P(A∩B) — describe the parts of each event that don't overlap.
Was this helpful?
You can pick up to 3 reactions.
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
- Loan Calculator
- Profit Calculator
- Discount Calculator
- BMI Calculator
- Percentage Calculator
- Ideal Weight Calculator
- Age Calculator
- Pregnancy Due Date Calculator
- Compound Interest Calculator
- BMR Calculator (Basal Metabolic Rate)
- Tip Calculator
- Fuel Cost Calculator
- Date Difference Calculator
- Sleep Cycle Calculator
- Daily Water Intake Calculator
- Simple Interest Calculator
- Heart Rate Zones Calculator
- Running Pace Calculator
- Pet Age Calculator
- Calories Burned Calculator
- Macro Calculator
- TDEE Calculator (Total Daily Energy Expenditure)
- Waist-to-Hip Ratio Calculator
- Honor Roll Calculator
- One Rep Max (1RM) Calculator
- Ovulation Calculator
- Electricity Cost Calculator
- Unit Price Calculator
- Savings Goal Calculator
- Break-Even Point Calculator
- Paint Calculator
- Course Grade Average Calculator
- Business Days Calculator
- Time Duration Calculator
- Fuel Economy Calculator
- Temperature Converter
- Tile Calculator
- Aspect Ratio Calculator
- Roman Numeral Converter
- Goal Weight Timeline Calculator
- Salary Converter (Hourly to Annual)
- Credit Card Validator (Luhn)
- Body Surface Area (BSA) Calculator
- Feels-Like Temperature Calculator
- Ohm’s Law Calculator
- PPI (Pixel Density) Calculator
- Molar Mass Calculator
- Zodiac Sign Calculator (Western + Chinese)
- IBAN Validator
- Shoe Size Converter
- Country Info & Dialing Code Lookup
- Time Zone Difference (World Clock)
- CAGR (Compound Annual Growth Rate) Calculator
- Rule of 72 Calculator
- Blood Alcohol Content (BAC) Calculator
- Lean Body Mass (LBM) Calculator
- Pythagorean Theorem Calculator
- Speed Converter
- Download Time Calculator
- Date Calculator (Add/Subtract)
No calculators found
Comments