How it works
A probability is a number from 0 to 1 that says how likely something is: 0 means it can’t happen, 1 means it’s certain, and 0.5 is an even chance. You can enter one as a decimal (0.25) or a fraction (1/6, the chance of rolling a six). For a percentage, divide by 100 first, so a 30% chance is 0.3.
Pick the question you want answered. For two events, enter the chance of each, and the calculator finds the chance that both happen, that at least one does, that exactly one does, and that neither does. For something you try more than once, like rolling a die or taking a free throw, enter the chance on each try and the number of tries. You’ll see the chance it happens at least once, every time, or never, or the chance it happens an exact number of times.
All of this assumes the events are independent: one result doesn’t change the chance of another. A coin and a die are independent, and so are separate rolls of the same die. Drawing cards without putting them back is not, because each card you draw changes what’s left.
The formula
For two independent events A and B:
- Both happen: P(A and B) = P(A) × P(B)
- At least one happens: P(A or B) = P(A) + P(B) − P(A and B)
- Exactly one happens: P(A or B) − P(A and B)
- Neither happens: (1 − P(A)) × (1 − P(B))
For n independent tries, each with chance p:
- At least once: 1 − (1 − p)^n
- Every time: p^n
- Exactly k times: C(n, k) × p^k × (1 − p)^(n − k), where C(n, k) = n! ÷ (k! × (n − k)!)
C(n, k) counts the ways to choose which k of the n tries succeed, and n! means n × (n − 1) × … × 1. “Exactly k times” is the binomial distribution; the calculator also adds up its terms to give the chance of k or fewer and k or more. For thousands of tries the numbers get far too big or small to write out, so the steps show them in powers of 10.
Worked example
Want this with your own numbers? See Show the work above.
You flip a coin and roll a die. What’s the chance of heads or a six (or both)?
- Write the probabilities as decimals: heads is 1/2 = 0.5, and a six is 1/6 = 0.166667.
- Find the chance that both happen: 0.5 × 0.166667 = 0.083333.
- Add the two chances, then take away the overlap: 0.5 + 0.166667 − 0.083333 = 0.583333.
- Turn it into a percentage: 58.3333%, a little better than an even chance.
A famous one with repeated tries: in the 1600s, the Chevalier de Méré bet that he’d roll at least one six in four rolls of a die. The chance of no six in one roll is 1 − 1/6 = 0.833333, so no six in four rolls is 0.833333^4 = 0.482253, and at least one six is 1 − 0.482253 = 51.7747%. That’s why he kept winning.
FAQ
How do I find the probability of two events both happening?
If they’re independent, multiply their probabilities. The chance of heads on a coin (1/2) and a six on a die (1/6) is 1/2 × 1/6 = 1/12, about 8.33%. If they aren’t independent, you need the chance of the second given that the first has happened, which this calculator doesn’t cover.
Why isn’t the chance of A or B just P(A) + P(B)?
Because adding counts the outcomes where both happen twice. Taking away P(A and B) once fixes that. If the events can’t both happen (they’re mutually exclusive, like rolling a 1 and a 2 on one roll), P(A and B) is 0 and you can just add.
What’s the chance of something happening at least once in several tries?
Work out the chance it never happens, then take that away from 1. With a 1 in 6 chance each time, the chance of at least one success in 4 tries is 1 − (5/6)^4, about 51.8%. Chances add up faster than people expect, but they never reach 100% unless one try is certain.
Does a long losing streak make a win more likely?
No. For independent tries, each one has the same chance no matter what came before: a coin that has landed tails five times in a row is still 50% heads on the next flip. Believing otherwise is called the gambler’s fallacy. Streaks feel unusual, but over many tries they’re expected.
How do I enter a percentage?
Divide it by 100: a 30% chance is 0.3, and a 2.5% chance is 0.025. The answers are shown as percentages, and as a decimal below them.
What does “1 in 12” mean?
It’s another way to write a probability of 1/12: on average, it happens once in every 12 tries. The calculator shows it for small chances, because “1 in 2,000” is easier to picture than 0.05%.
Sources
- Independent events, and both of two events: OpenStax Introductory Statistics 2e, section 3.2, Independent and Mutually Exclusive Events
- Either of two events (the addition rule): OpenStax Introductory Statistics 2e, section 3.3, Two Basic Rules of Probability
- The binomial distribution, with worked examples: OpenStax Introductory Statistics 2e, section 4.3, Binomial Distribution
- At least once in repeated tries, and de Méré’s bet: Grinstead and Snell, Introduction to Probability, chapter 1
Cite this page
APA (7th edition)
Mathlark. (2026, October 2). Probability calculator. https://mathlark.com/statistics/probability-calculator/
MLA (9th edition)
"Probability Calculator." Mathlark, 2 Oct. 2026, mathlark.com/statistics/probability-calculator/.