Account

What new tool do you want?

Math & Education

Probability Calculator

Calculate probabilities of two events — both, either, neither and conditional — plus the chance of at least one success in repeated trials.

How to use

  1. 1Enter the probability of event A and event B (as % or decimal).
  2. 2Enter the number of trials to see the chance of at least one success.

How it's calculated

For independent events: P(A and B) = P(A) × P(B); P(A or B) = P(A) + P(B) − P(A and B); P(neither) = (1 − P(A))(1 − P(B)). At least once in n trials = 1 − (1 − p)ⁿ.

Frequently asked questions

What does independent mean?

One event doesn't change the chance of the other — like two coin flips. Drawing cards without replacement is not independent.

What are the chances of rolling at least one six in 4 rolls?

Each roll misses with probability 5/6, so it's 1 − (5/6)⁴ ≈ 51.8% — slightly better than even.

Percent or decimal?

Either — values above 1 are treated as percentages, so 25 and 0.25 both mean 25%.

Every formula here assumes the events are independent

P(A and B) = P(A) × P(B) only holds when knowing one event's outcome tells you nothing about the other — two separate coin flips, for instance. With P(A) = 50% and P(B) = 30%, that gives P(A and B) = 15%, P(A or B) = 65% (adding both and subtracting the overlap so it isn't double-counted), and P(exactly one) = 50%. None of this applies to dependent events — drawing two cards from a deck without replacement changes the second card's odds, so plugging those probabilities in here would give the wrong answer.

The 'at least once' formula works by computing the opposite first

It's usually easier to find the chance something never happens and subtract from 1 than to add up the chance of it happening on exactly one trial, or two, or three. With P(A) = 1/6 (rolling a six) over 4 trials, the chance of missing every time is (5/6)⁴ ≈ 48.2%, so the chance of at least one six is 1 − 0.482 ≈ 51.8% — just over even odds, which is less intuitive than it sounds given you only get four rolls.

Why the inputs accept both percentages and decimals

The calculator treats any entry above 1 as a percentage and anything at or below 1 as a decimal probability, so typing 25 or 0.25 both mean the same 25% chance. This avoids a common source of errors — forgetting to convert a percentage to a decimal before multiplying — though it does mean a probability of exactly 1 (100% certain) and 1% (0.01) both need to be entered carefully to mean what you intend.

Clearing the trials box removes the at-least-once line

The trials field starts at 4 and feeds only the at-least-once result, which uses P(A) and ignores P(B). If I clear it, or set it to zero, that line disappears and the four combination results stay. A fractional trial count is rounded to a whole number first, so 4.4 trials are treated as 4 and 4.6 as 5. A negative entry rounds and then fails the same test as zero, so the line stays hidden. The other four results always show: both, either, neither, and exactly one. They are printed as percents with three decimals.

Related tools

More: Math & Education