🎲 Probability Calculator
Compute union, intersection, conditional probability, and complement for independent and dependent events.
Event Likelihood — AND, OR, and Conditional Rules
BrainyCalculators editorial insight — unique to this tool
Probability assigns 0–1 to event likelihood — a fair coin P(heads) = 0.5; rolling at least one six in two dice uses complement: 1 − (5/6)² ≈ 0.306. Insurance actuaries combine independent risks; quality teams compute P(defect) from historical batches. Conditional probability P(A|B) updates beliefs when new evidence arrives — medical test accuracy depends on base rate, not sensitivity alone.
When to use this calculator
Use for chance of events with known or estimated probabilities. For counting equally likely outcomes (before dividing), start with Combination or Permutation.
| Reference | Value | Context |
|---|---|---|
| Fair die, one six | 1/6 ≈ 0.167 | Single trial |
| Two dice, sum 7 | 6/36 = 1/6 | Most common sum |
| Independent AND | P(A)×P(B) | Multiply |
| At least one | 1 − P(none) | Complement trick |
Not what you need? For counting arrangements, use Permutation/Combination first. For survey margin of error, use Confidence Interval or Sample Size.
Counting possible outcomes in a lottery or committee?
This page applies probability rules to events. For nCr and nPr counting, use the Combination Calculator →
Calculates P(A|B) = P(A ∩ B) / P(B) — the probability of A given that B has occurred.
Probability Breakdown
What is Probability?
A probability calculator applies event rules: complements, unions, intersections, and conditional formulas P(A|B). It works from stated probabilities or simple event models.
Use this page for “what is the chance that…” logic. For counting how many outcomes exist in a sample space, use Combination or Permutation calculators.
For standardizing a sample mean with a z-score, use the Z-Score Calculator instead.
Key Probability Formulas
How to Use This Calculator
-
1Choose a Calculation TypeSelect Single Event for basic probability, Two Events to combine probabilities with AND/OR, or Conditional for P(A|B).
-
2Enter Your ValuesFor single events, enter favorable and total outcomes. For two events, enter P(A) and P(B) as decimals between 0 and 1.
-
3Select Event RelationshipFor two events, choose Independent (events do not affect each other) or Mutually Exclusive (events cannot both occur).
-
4Read the ResultsResults show probability as a decimal, percentage, and fraction. The complement (NOT event) is always included.
Worked Example
Rolling a standard six-sided die — what is the probability of getting an even number?
How the Probability Calculator Works
Formula, assumptions, and calculation steps for this statistics tool.
Formula Used
P(A or B) = P(A) + P(B) - P(A and B)
Methodology
Statistics calculators organize sample data, apply the selected descriptive or inferential formula, and report the statistic with interpretation.
Calculation Steps
- Enter raw values or summary statistics.
- Clean separators and count the sample size.
- Apply the relevant statistic, probability, or confidence formula.
- Display the result with context such as degrees of freedom, percentile, or strength.
Assumptions and Limits
- Samples should be representative of the population being studied.
- Normality or independence assumptions apply only where the selected method requires them.
- Rounded results may differ slightly from spreadsheet software.
Frequently Asked Questions
Probability is a number between 0 and 1 that measures how likely an event is to occur. A probability of 0 means the event is impossible; 1 means it is certain. It is calculated as the number of favorable outcomes divided by the total number of possible outcomes, assuming all outcomes are equally likely.
Two events are mutually exclusive (or disjoint) if they cannot both occur at the same time. For example, a coin flip cannot be both heads and tails. For mutually exclusive events, P(A and B) = 0 and P(A or B) = P(A) + P(B).
Two events are independent if the occurrence of one does not affect the probability of the other. For example, rolling a die twice — the result of the first roll does not affect the second. For independent events, P(A and B) = P(A) × P(B).
Conditional probability P(A|B) is the probability of event A occurring given that event B has already occurred. It is calculated as P(A|B) = P(A ∩ B) / P(B). This is fundamental to Bayes's theorem and is used widely in statistics, medicine, and machine learning.
Real-World Applications
Common Mistakes
Probability Rules Quick Reference
| Rule | Formula | Condition |
|---|---|---|
| Basic probability | P(A) = favourable / total | Equally likely outcomes |
| Complement rule | P(not A) = 1 − P(A) | Always applies |
| Addition rule | P(A or B) = P(A) + P(B) | Mutually exclusive only |
| General addition | P(A or B) = P(A)+P(B)−P(A∩B) | Any two events |
| Multiplication rule | P(A and B) = P(A) × P(B) | Independent events only |
| Conditional probability | P(A|B) = P(A∩B) / P(B) | P(B) > 0 |
References
- Kolmogorov, A.N. Foundations of the Theory of Probability. Chelsea Publishing, 1956.
- Feller, W. An Introduction to Probability Theory and Its Applications, Vol. 1. Wiley, 1968.
- Gelman, A. et al. Bayesian Data Analysis. CRC Press, 2013.
- Kahneman, D. Thinking, Fast and Slow. Farrar, Straus and Giroux, 2011.
- Ross, S.M. A First Course in Probability. Pearson, 2019.
Related Calculators
Browse all Statistics calculators →Binomial Distribution Calculator
Calculate binomial probability P(X=k), cumulative probabilities, mean, and variance.
Permutation Calculator
Calculate the number of permutations P(n,r) — ordered arrangements.
Combination Calculator
Calculate the number of combinations C(n,r) — unordered selections.