Probability Calculator
General probability: single events, AND/OR for two events, conditional probability, and at least once in repeated trials.
Most everyday probability questions reduce to a handful of patterns, and this page is organised by pattern rather than by formula name. One event: P(A), and its mirror image the complement, P(not A) = 1 − P(A). Two events: both happening multiplies the probabilities when the events are independent (0.5 × 0.5 = 0.25 for two coin heads); either happening adds them and, for independent events, subtracts the overlap once (0.5 + 0.5 − 0.25 = 0.75), while for mutually exclusive events — ones that cannot both happen, like rolling a 2 and rolling a 5 on the same throw — there is no overlap to subtract. Conditioning is the pattern people most often need and least often name: P(A given B) = P(A and B) ÷ P(B), the chance of A inside the shrunken world where B is known to have happened — with P(A and B) = 0.2 and P(B) = 0.5, that is 0.4.
This tool works with probabilities you already know, for events in general. It does not model drawing cards or balls without replacement — that shrinking-pool case has its own Card Draw Probability Calculator. Everything is calculated in your browser; nothing is uploaded or stored.
Quick answers
What is the probability of at least one head in three coin tosses?
87.5%. Use the complement: the chance of no heads at all is (1 − 0.5)^3 = 0.125, so at least one head is 1 − 0.125 = 0.875.
The same shape works for any repeated independent trial: 1 − (1 − p)^n. It is almost always easier than adding up the exactly-one, exactly-two and exactly-three cases.
How do I calculate P(A or B)?
If A and B are independent, P(A) + P(B) − P(A) × P(B). If they are mutually exclusive, just P(A) + P(B), because the overlap is zero. Two independent 50% events give 0.75; two exclusive 50% events cannot exist, since their sum would already be 1 with nothing left for any other outcome.
Picking the wrong branch is the classic error: “or” questions need you to decide first whether both events can happen together, and whether one affects the other.
How to use
- Pick what you want to work out from the list — a single event, a complement, both events, either event, a conditional probability, or at least once in repeated trials.
- Enter the probabilities the chosen mode needs, as decimals between 0 and 1 (so 25% is 0.25).
- For the conditional mode, enter P(A and B) and P(B); for at-least-once, enter the per-trial probability and the number of trials.
- Read the result as both a percentage and a decimal, with the formula it came from shown next to it.
About this tool
The last pattern, at least once, powers everything from “ten lottery tickets” to “the server fails at least once this year”: if each independent trial succeeds with probability p, then succeeding at least once in n trials is 1 − (1 − p)^n — for a 50% event tried 3 times, 1 − 0.125 = 0.875, or 87.5%. One boundary is stated on purpose: this calculator works with probabilities you supply for events in general. It does not model drawing from a shrinking pool without replacement — cards, lottery drums and inspection samples follow the hypergeometric distribution and have their own Card Draw Probability Calculator.
Frequently asked questions
What is the difference between independent and mutually exclusive events?
Independent events do not affect each other: a coin landing heads tells you nothing about the next toss, and both can certainly happen. Mutually exclusive events cannot both happen at all: a single die roll cannot be both a 2 and a 5. The two ideas are opposites in effect — independence lets you multiply for “both”, exclusivity lets you add for “either” with no overlap correction.
Why does P(A or B) subtract the overlap for independent events?
Because the cases where both happen were counted twice — once inside P(A) and once inside P(B). Adding 0.5 + 0.5 for two coin tosses would claim heads-or-heads has probability 1, when a quarter of the time both coins land heads and that quarter was double-counted: 0.5 + 0.5 − 0.25 = 0.75 is the true figure.
How do I read P(A given B)?
As “the probability of A, in the cases where B happened”. It is computed as P(A and B) ÷ P(B): you restrict attention to the B cases, then ask what fraction of them also have A. If every B case also has A, the answer is 1; if A never accompanies B, it is 0.
Does this calculator do card-draw probabilities?
No — deliberately. Drawing without replacement changes the probabilities as you go, so card and lottery questions need the hypergeometric model on the Card Draw Probability Calculator. This page covers events whose probabilities you can state directly, including independent repeated trials.
First time embedding? Read the step-by-step guide →
More free tools
Card Draw Probability Calculator
Hypergeometric probabilities for one draw without replacement: exactly k target cards, or at least k.
Permutation & Combination Calculator
nPr and nCr with or without repetition — exact big-integer answers, never rounded.
Normal Distribution Calculator
Probabilities below, above and between values — and quantiles — for any normal distribution.
Coin Flip
Heads or tails — settle it fairly.
Percentage Calculator
Work out percentages, increases and discounts in one click.
Age Calculator
Find your exact age in years, months and days.