Probability is the language of uncertainty.
What is a probability calculator?
A probability calculator combines two events A and B when you know P(A) and P(B) as percentages. Choose independent, mutually exclusive, or subset dependence to get intersection, union, complements, conditional probabilities, odds in favor of A, and the chance A happens at least once across n identical trials.
How to use the Probability Calculator
- Enter probability of event A as a percent.
- Enter probability of event B as a percent.
- Select how A and B relate: independent, exclusive, or subset.
- Set the trial count for at-least-once results.
- Read union, intersection, conditional, and odds cards.
About this calculator
Probability is the language of uncertainty. From the chance of rain on a wedding day to the odds in a card game, the risk of system failure, or a school assignment on dice and coins — the same handful of rules apply. This calculator handles the most common combinations: joint probability (both events happen), union (either event), conditional probability (one given the other), complement (event does not happen) and the powerful at-least-once formula across many independent trials.
The 'at least once' calculation is the most surprising for beginners. If a single attempt has only a 10% chance of success, it feels like 10 attempts should give 100%. But the actual answer is 1 − (1 − 0.10)^10 = 65.1% -- not a guaranteed success, just a comfortable majority. This formula explains everything from the gambler's fallacy to system reliability engineering. It tells you why 'try enough times and it must happen' is true in the limit, but how slowly probability accumulates in real life.
The calculator distinguishes three relationships between events. Independent (default) -- the most common assumption when events are unrelated, like two coin flips. Mutually exclusive -- events that cannot co-occur, like rolling a 1 and rolling a 2 on a single die. Subset -- one event always implies the other, like 'rolled a 1' (B) implying 'rolled an odd number' (A). For more advanced combinatorial counting use the [[permutation-combination]] calculator. For algebraic equations the [[quadratic]] calculator is useful, and many probability distributions (binomial, normal) extend the geometry intuitions in the [[cone]], [[cylinder]] and [[sphere]] calculators.
Formula for combining two events
Independent: P(A ∩ B) = P(A) × P(B)
Union: P(A ∪ B) = P(A) + P(B) − P(A ∩ B)
At least once: 1 − (1 − P(A))^n- P(A) and P(B) are event probabilities from 0 to 1
- n is the number of independent trials
- ∩ is both events; ∪ is either or both
Worked examples
At-least-one defect, 100 parts
A QA engineer samples 100 parts from a production line where each part has a 2% independent defect rate.
• P(no defect per part) = 0.98. • P(no defect in all 100) = 0.98¹⁰⁰ ≈ 0.1326. • P(at least one defective) = 1 − 0.1326 ≈ 86.7% — essentially certain on any given batch.
Coin flips — run of 5 heads
A gambler claims their 'hot hand' boosts the odds of 5 heads in a row on a fair coin.
• Each flip is independent: P(H) = 0.5 regardless of previous outcomes. • P(5 heads in a row) = 0.5⁵ = 1/32 ≈ 3.1%. • After an observed 4-head streak, P(5th head) is still 0.5 — past results do not update the next flip's probability.
Mutually exclusive card draw
From a standard 52-card deck, draw one card and ask the probability that it is either a king or a queen.
• Events are mutually exclusive (the card is either one or the other, never both). • P(King) = 4/52, P(Queen) = 4/52. • P(King or Queen) = 4/52 + 4/52 = 8/52 ≈ 15.4%. Because they are exclusive, we add rather than multiply.
Common uses
- Class 10/11/12 statistics homework -- coin tosses, dice rolls, card draws
- Estimating risk of system failure across multiple components
- Insurance and warranty pricing -- probability of at least one claim
- Marketing campaigns -- probability that a customer responds within X attempts
- Game design and lottery -- expected occurrences across many trials
Frequently asked questions
What does 'independent' actually mean?
Two events are independent when knowing one happened tells you nothing about whether the other did. Two coin flips are independent. Drawing two cards from the same deck without replacement is not independent because the first draw changes the composition of the deck.
Why is P(A and B) zero for mutually exclusive events?
By definition, mutually exclusive means they cannot both happen at the same trial. Examples: rolling a 1 vs rolling a 6 in a single die throw, or being male vs female. If they could co-occur, they wouldn
What is conditional probability and why does it matter?
P(B given A) is the probability of B happening when we already know A happened. Conditional probability is the foundation of Bayesian reasoning, medical test interpretation, spam filtering and most modern AI. It captures how new information updates our beliefs.
Why doesn't 10 attempts at a 10% chance guarantee success?
Because each attempt is independent -- the past doesn
What's the difference between odds and probability?
Probability is success / total. Odds are success / failure. A 25% probability is the same as 1:3 odds in favour. Probability ranges 0 to 1; odds range 0 to infinity. Bookmakers and betting markets use odds; statisticians and scientists use probability.
Deep dive
Probability basics
From a single coin flip to the laws of large numbers.
The 'at least one' trick
Why 1 − (1 − p)ⁿ is the workhorse formula.
Conditional probability and Bayes' theorem
What changes when you know B has happened.
Related calculators
- Standard Deviation Calculator
- Average Calculator
- LCM Calculator
- GCF Calculator
- Binary Converter
- Hex Converter
- Roman Numeral Converter
- Unit Converter
Maintained by J Jaya Prakash · Last updated: October 2026