Probability Calculator

Free probability calculator with 4 modes: single event, two events (joint, union, conditional, XOR), repeated trials, and Bayes' theorem. See step-by-step solutions with interactive Venn diagrams. Calculate P(A∩B), P(A∪B), P(A|B), complement, and series probability instantly.

Probability Finder

Enter probabilities for events A and B

Independent events
Independent Events
P(A∩B)
0.1800
18%
P(A∪B)
0.7200
72%

Venn Diagram

Hover results to highlight regions

UAB0.420.180.12P(neither) = 0.28

All Probabilities

Joint, union, exclusive, and conditional results

P(A∩B)
Both events occur
0.1800
18%
P(A∪B)
At least one occurs
0.7200
72%
P(A XOR B)
Exactly one occurs
0.5400
54%
P((A∪B)')
Neither occurs
0.2800
28%
P(A|B)
A given B occurred
0.6000
60%
P(B|A)
B given A occurred
0.3000
30%

Complements

The probability each event does not occur

P(A')
0.4
40%
P(B')
0.7
70%

Step-by-Step Solution

Formula, substitution, and result for each step

1

Given probabilities (independent events)

P(A), P(B)

P(A) = 0.6, P(B) = 0.3

2

Calculate intersection (multiplication rule)

P(A∩B) = P(A) × P(B)

P(A∩B) = 0.6 × 0.3

P(A∩B) = 0.18

3

Calculate union (addition rule)

P(A∪B) = P(A) + P(B) − P(A∩B)

P(A∪B) = 0.6 + 0.3 − 0.18

P(A∪B) = 0.72

4

Calculate exclusive OR

P(A XOR B) = P(A) + P(B) − 2×P(A∩B)

P(A XOR B) = 0.6 + 0.3 − 2×0.18

P(A XOR B) = 0.54

5

Calculate neither event

P(neither) = 1 − P(A∪B) = P((A∪B)')

P(neither) = 1 − 0.72

P(neither) = 0.28

6

Conditional probability P(A|B)

P(A|B) = P(A∩B) / P(B)

P(A|B) = 0.18 / 0.3

P(A|B) = 0.6

7

Conditional probability P(B|A)

P(B|A) = P(A∩B) / P(A)

P(B|A) = 0.18 / 0.6

P(B|A) = 0.3

How to Calculate Probability

Fundamental probability rules explained step by step

Probability measures the likelihood of an event occurring, expressed as a number between 0 (impossible) and 1 (certain). The basic formula is P(A) = favorable outcomes / total outcomes. For example, the probability of rolling a 3 on a fair die is 1/6 because there is one favorable outcome out of six possible outcomes.

Key Probability Formulas

P(A′) = 1 − P(A)

P(A∩B) = P(A) × P(B)  (independent)

P(A∪B) = P(A) + P(B) − P(A∩B)

P(A|B) = P(A∩B) / P(B)

The complement rule states that the probability of an event not occurring equals 1 minus the probability it does occur. This is often the easiest way to solve “at least one” problems: calculate the probability of zero occurrences and subtract from 1.

Probability Rules & Formulas

Essential rules for combining probabilities

Multiplication Rule

P(A∩B) = P(A) × P(B|A)

For independent events, simplifies to P(A) × P(B)

Addition Rule

P(A∪B) = P(A) + P(B) − P(A∩B)

For mutually exclusive events, P(A∩B) = 0

Bayes' Theorem

P(A|B) = P(B|A)×P(A) / P(B)

Updates prior belief based on new evidence

Binomial Probability

P(X=k) = C(n,k) × pᵏ × (1−p)ⁿ⁻ᵏ

Exactly k successes in n independent trials

Types of Probability

Understanding theoretical, experimental, and subjective probability

Theoretical Probability

Based on equally likely outcomes using mathematical reasoning. Example: P(heads) = 1/2 for a fair coin. Used when all outcomes are known and equally probable.

Experimental Probability

Based on actual observations and data. Calculated as successes / total trials. As the number of trials increases, experimental probability approaches theoretical probability (Law of Large Numbers).

Conditional Probability

The probability of an event given that another event has occurred. Written P(A|B). Changes the sample space to only outcomes where B is true. Key to understanding dependent events.

Subjective Probability

Based on personal judgment, experience, or expert opinion rather than calculation. Used in risk assessment, weather forecasting, and business decisions where exact probabilities are unknown.

Real-World Applications

Where probability calculations matter in everyday life

Medical Testing

Bayes' theorem calculates the true probability of having a disease given a positive test. A 99% accurate test can still yield mostly false positives if the disease is rare (low prior probability).

Quality Control

Manufacturing uses binomial probability to determine defect rates. If 2% of items are defective, probability helps answer: “What is the chance of finding 3 or more defective items in a batch of 100?”

Games & Gambling

Probability determines expected outcomes in card games, dice games, and lotteries. Understanding house edge, pot odds, and expected value helps make informed decisions.

Risk Assessment

Insurance, finance, and engineering use probability to quantify risk. Series probability answers: “If a component has a 0.1% daily failure rate, what is the probability it fails within a year?”

Frequently Asked Questions

Common questions about probability calculations