Probability calculator
Calculate the probability of an event from the favorable cases and the total possible cases.
Probability = favorable ÷ total cases. Ranges from 0 (impossible) to 1 (certain).
How the calculation works
Probability measures the chance of an event, from 0 (impossible) to 1 (certain) — or 0% to 100%. In the classic form:
P = favorable cases ÷ total possible cases
Step-by-step example
Rolling a 5 on a 6-sided die: 1 favorable case in 6 → 1/6 ≈ 16.67%.
Combined events
- "AND" (independent): multiply. Two 6s in a row: 1/36.
- "OR" (exclusive): add. A 5 or 6: 1/3.
- Complement: P(not happening) = 1 − P(happening).
The complement trick
Questions of the form "what is the chance of at least one…" are almost always easier backwards. Computing the chance of none and subtracting from 1 avoids adding up dozens of overlapping cases.
What is the chance of rolling at least one 6 in four throws of a die? Directly, that is four cases with overlaps. By complement: the chance of not rolling a 6 once is 5/6; four times in a row, (5/6)⁴ = 0.4823. So at least one 6 has a 51.8% chance.
The gambler's fallacy
Independent events have no memory. If a coin has come up heads five times, the chance of tails next is still 50% — the coin does not know what happened before. The intuition that tails is "due" is the gambler's fallacy, and it is the same one that underwrites betting systems which only work with infinite money.
Examples
- Heads on a coin: 1/2 = 50%.
- Drawing an ace from 52 cards: 4/52 ≈ 7.7%.
Frequently asked questions
Can probability exceed 100%?
No. The maximum is 100% (a certain event).
Chance of two events together?
For independent events, multiply the probabilities. E.g. two heads in a row = 1/4.
What is complementary probability?
The chance of something NOT happening: 1 minus the event's probability. Often the easiest route.
Related calculators
Combinations & permutations
Calculate combinations C(n,r), arrangements P(n,r) and the factorial from n and r.
Mean & standard deviation
Paste a list of numbers and get mean, median, standard deviation, min, max and sum.
Dice roller
Roll any number of dice, from 4 to 100 sides, with a modifier. Great for RPG and board games.
More Statistics calculators
See all →Updated on June 18, 2026 · by Rafael Rossi · Methodology & sources