Probability Calculator

For independent events, P(A and B) = P(A) × P(B) and P(A or B) = P(A) + P(B) − P(A and B). If P(A) = 50% and P(B) = 40%, then P(A and B) = 20% and P(A or B) = 70%. Flipping a fair coin 5 times, the chance of exactly 3 heads is 31.25%.

Inputs

Result
–

Results are calculated in your browser for convenience. Double-check important figures before relying on them.

Basic probability rules

QuestionRule
A does not happen1 − P(A)
A and B (independent)P(A) × P(B)
A or B (any)P(A) + P(B) − P(A and B)
A or B (cannot both happen)P(A) + P(B)

Probability runs from 0 (impossible) to 1 (certain), or 0% to 100%. Events are independent when one does not affect the other, like two separate coin tosses.

Repeated trials: the binomial chance

P(exactly k in n) = C(n, k) × pᵏ × (1 − p)ⁿ⁻ᵏ

For 5 fair coin flips and k = 3: C(5, 3) = 10, so P = 10 × 0.5³ × 0.5² = 10 ÷ 32 = 31.25%. The chance of at least 3 heads adds the cases for 3, 4 and 5 heads: 50%. The calculator uses the chance of event A as the chance of success on each trial.

Worked examples

  • Rolling a 6 twice in a row: 1/6 × 1/6 = 1/36 = 2.78%.
  • At least one 6 in four rolls: 1 − (5/6)⁴ = 51.8%. The “at least one” trick is to compute the chance of none and subtract from 1.
  • Odds: a probability of 25% is odds of 1 to 3 for, because 0.25 ÷ 0.75 = ⅓.

See also the permutation and combination calculator, the dice roller and the z-score calculator.

Complete guide to the Probability Calculator

How to use the Probability Calculator, step by step

  1. Enter the probability of A and B.
  2. Enter the number of trials and successes wanted.
  3. Read the combined probabilities.
  4. Check the binomial chance.

Common mistakes to avoid

  • Adding probabilities of overlapping events.
  • Assuming a streak changes the odds.
  • Mixing percentages and fractions.

Key terms explained

Independent events
Events that do not affect each other.
Mutually exclusive
Events that cannot both happen.
Binomial
The count of successes in repeated trials.
Odds
Favourable compared with unfavourable.

Frequently asked questions

What is the probability formula?

The basic formula is the number of favourable outcomes divided by the number of equally likely outcomes. For one die, the chance of an even number is 3 ÷ 6 = 50%.

What does independent mean?

Two events are independent when the result of one does not change the chance of the other, such as separate coin flips or dice rolls.

What is mutually exclusive?

Events that cannot happen together, such as rolling a 2 and a 5 on a single die. For these, P(A or B) = P(A) + P(B).

How do I find “at least one” probability?

Find the chance that none happens and subtract it from 1. For at least one head in three flips: 1 − (0.5)³ = 87.5%.

What is the difference between probability and odds?

Probability is favourable ÷ total. Odds compare favourable with unfavourable, so a probability of 0.2 equals odds of 1 to 4.

Does a streak change the next flip?

No. For independent events, past results do not change the chance of the next one. Believing otherwise is the gambler’s fallacy.

What does the binomial distribution describe?

The number of successes in a fixed number of independent trials that each have the same chance of success, like the number of heads in 10 flips.

Related calculators

Guides worth reading