Probability Calculator

Find the probability of two events, several events, or a result happening a set number of times in repeated trials.

Two independent events, A and B. Independent means one happening doesn't change the chance of the other.

Result–

Probability Calculator: Work Out the Chances

Probability is just a way of putting a number on “how likely is this?” A fair coin landing heads is 50%. Rolling a six on a die is 1 in 6, or about 16.67%.

Things get harder when you combine events. What are the chances of two things both happening? Of at least one happening? Of getting exactly 3 sixes in 20 rolls?

Most people’s gut feeling is wrong on these, and that’s where a calculator helps.

This free probability calculator has three modes. Two events gives every combination of A and B. Multiple events handles up to eight independent events at once.

Repeated trials uses the binomial formula for the chance of a result happening exactly, at least or at most a certain number of times.

Each answer is shown as a percentage, a decimal and as “1 in X” odds, with the working underneath.

How to Use the Probability Calculator

  • First choose whether you’re typing probabilities as percentages (50) or decimals (0.5). Switching converts what you’ve already entered.
  • Two events: enter P(A) and P(B). You’ll get P(A and B), P(A or B), exactly one, neither, and more.
  • Multiple events: enter each event’s chance, and tap “+ Add event” for up to eight events.
  • Repeated trials: enter the chance of success on one try (p), the number of tries (n) and the number of successes you’re interested in (k).

All three modes assume the events are independent, meaning one result doesn’t change the odds of another. Coin flips, dice rolls and spins of a wheel are independent. Drawing cards without putting them back is not.

Probability Formulas

What you wantFormula (independent events)
Both A and BP(A) × P(B)
A or B (at least one)P(A) + P(B) − P(A) × P(B)
Exactly one of themP(A)(1 − P(B)) + P(B)(1 − P(A))
Neither(1 − P(A)) × (1 − P(B))
Not A (the complement)1 − P(A)
At least one of several1 − (chance that none happen)
Exactly k successes in n trialsC(n, k) × pk × (1 − p)n − k

C(n, k), also written “n choose k”, is the number of ways to pick which k of the n trials are the successes. For 10 trials and 5 successes there are 252 different ways.

Worked Examples

Example 1: two independent events

Say there’s a 50% chance of rain on Saturday and a 30% chance on Sunday. The chance of rain on both days is 0.5 × 0.3 = 15%.

The chance of rain on at least one day is 0.5 + 0.3 − 0.15 = 65%. The chance of a dry weekend is 0.5 × 0.7 = 35%.

Example 2: three coin flips

The chance of three heads in a row is 0.5 × 0.5 × 0.5 = 12.5%, or 1 in 8. The chance of at least one head is 1 − 0.125 = 87.5%.

Example 3: exactly 5 heads in 10 flips

C(10, 5) × 0.5⁵ × 0.5⁵ = 252 ÷ 1024 = 24.61%. Most people guess that’s higher. Five out of ten is the single most likely result, but it still happens less than a quarter of the time.

Example 4: rolling sixes

Roll a die 20 times. The chance of exactly three sixes is about 23.79%. The chance of at least one six is 1 − (5/6)²⁰ ≈ 97.39%. Want to see it for yourself? Try it with our Dice Roller.

Example 5: a quality check

A factory knows 2% of its parts have a fault. In a box of 50, the chance of no faulty parts at all is 0.98⁵⁰ ≈ 36.4%, so almost two boxes in three will contain at least one faulty part.

“At Least One”: The Most Useful Trick

Whenever a question says “at least one”, it’s almost always easier to work out the chance of none and subtract it from 1. Adding up the separate chances doesn’t work.

Three events at 50% each don’t give a 150% chance of at least one. The right answer is 1 − 0.5³ = 87.5%. The multiple-events tab does this for you automatically.

Common Probability Mistakes

  • The gambler’s fallacy: after five heads in a row, the next flip is still 50/50. Coins have no memory.
  • Adding when you should multiply: for “both” or “all”, multiply. You only add (and subtract the overlap) for “or”.
  • Assuming independence when it isn’t there: the chance of drawing two aces from a deck is (4/52) × (3/51), not (4/52)², because the first card changes what’s left.
  • Confusing probability and odds: a probability of 20% is 1 in 5, which is odds of 1 to 4 against.

Frequently Asked Questions

What does independent mean in probability?

Two events are independent if the result of one has no effect on the other. Separate coin flips, dice rolls or random number draws are independent. Weather on consecutive days, or drawing cards without replacing them, usually are not.

How do I convert a fraction like 1/6 into a percentage?

Divide and multiply by 100: 1 ÷ 6 × 100 ≈ 16.6667%. Our Fraction to Decimal Calculator does this in one step.

What is binomial probability?

It’s the chance of getting a certain number of successes when you repeat the same yes/no trial a fixed number of times, with the same chance of success each time. Coin flips, free throws and pass/fail checks all fit this pattern.

Why does “at most k” plus “more than k” equal 100%?

Because every possible result falls into exactly one of those two groups. The same is true for “at least k” and “fewer than k”.

What do the expected value and standard deviation mean?

The expected value (n × p) is the average number of successes you’d see over many repeats. The standard deviation shows how much the results usually spread around that average. For more on spread, see our Standard Deviation Calculator.

More free tools from our Math Calculators collection:

Tahir Mehmood

About the author

Tahir Mehmood

Tahir Mehmood is the founder of Digital Designs SEO LTD, a UK company, with five years of hands-on experience in SEO, content writing and web development. He builds and maintains the calculators on All in Calculators and keeps them up to date. Spotted an error? Contact us and we will fix it.

Last updated: 27 November 2026