Math

How Probability, Permutations and Combinations Work

Probability is favourable outcomes ÷ possible outcomes, and permutations and combinations count how many outcomes there are. Choosing 3 of 10 people gives C(10, 3) = 120 groups but P(10, 3) = 720 ordered line-ups. The chance of exactly 3 heads in 5 fair coin flips is C(5, 3) ÷ 2⁵ = 10 ÷ 32 = 31.25%.

By CalculatorHub Editorial TeamPublished December 2, 2026Updated December 2, 20267 min read
Run the numbers yourself. Try our free Probability Calculator and see the result with your own figures.

Probability basics

Probability runs from 0 (impossible) to 1 (certain). For equally likely outcomes, P = favourable ÷ total, so the chance of an even number on a die is 3 ÷ 6 = 50%. The chance an event does not happen is 1 − P. Odds compare the two sides: a probability of 25% is odds of 1 to 3.

Combining events

QuestionRule
A and B, independentP(A) × P(B)
A or B, any eventsP(A) + P(B) − P(A and B)
A or B, mutually exclusiveP(A) + P(B)
At least one of several1 − P(none)

Two fair dice both showing 6: 1/6 × 1/6 = 2.78%. At least one 6 in four rolls: 1 − (5/6)⁴ = 51.8%. With P(A) = 50% and P(B) = 40%, independent, P(A and B) = 20% and P(A or B) = 50% + 40% − 20% = 70%.

Counting arrangements

The factorial n! multiplies all whole numbers from 1 to n: 5! = 120. A permutation counts ordered selections: P(n, r) = n! ÷ (n − r)!. Podium places for 10 runners: 10 × 9 × 8 = 720. A combination ignores order: C(n, r) = n! ÷ (r! × (n − r)!), so choosing a team of 3 from 10 gives 720 ÷ 3! = 120.

With repetition

If items can be reused, ordered selections number nʳ: a 4-digit PIN has 10⁴ = 10,000 possibilities. Unordered selections with repetition number C(n + r − 1, r).

The binomial formula

When you repeat an independent yes/no trial n times with success chance p, the probability of exactly k successes is C(n, k) × pᵏ × (1 − p)ⁿ⁻ᵏ. For 5 coin flips and k = 3: 10 × 0.125 × 0.25 = 31.25%. For at least 3 heads add k = 3, 4 and 5: 50%.

Famous counts

  • Five-card poker hands: C(52, 5) = 2,598,960.
  • A 6-from-49 lottery: C(49, 6) = 13,983,816, so one ticket wins with a chance of about 1 in 14 million.
  • Arranging 10 books on a shelf: 10! = 3,628,800.

Common mistakes

  • Using permutations when order does not matter, or the reverse.
  • Adding probabilities of events that can both happen.
  • Believing a streak changes independent odds (the gambler’s fallacy).
  • Forgetting to subtract the overlap when adding non-exclusive events.

Check answers with the probability calculator and the permutation and combination calculator, and try a simulation with the dice roller.

Key terms

  • Independent events: Events that do not affect each other.
  • Mutually exclusive: Events that cannot both happen.
  • Permutation: An ordered arrangement.
  • Combination: An unordered selection.
  • Factorial: The product of whole numbers from 1 to n.

Practice questions

Try each one before you read the answer.

  1. Chance of two heads in two fair flips?
    Answer: 25%.
  2. What is C(5, 2)?
    Answer: 10.
  3. What is 5!?
    Answer: 120.

A worked problem to try

A bag holds 4 red and 6 blue marbles. You draw two without putting the first back. The chance both are red is 4/10 × 3/9 = 12/90 = 13.3%, because the second draw has fewer red marbles left. This is a dependent event: the first draw changes the second. If you put the marble back each time, the draws become independent and the chance is 4/10 × 4/10 = 16%. Spotting whether events are dependent is the main skill in probability questions.

Frequently asked questions

How do I know whether order matters?

Ask whether swapping two chosen items gives a different result. If yes (a podium), use permutations. If no (a committee), use combinations.

What is the chance of at least one success?

Calculate the chance of zero successes and subtract it from 1. This is much easier than adding up all the other cases.

Are lottery odds really that small?

Yes. With C(49, 6) = 13,983,816 combinations, a single ticket has about a 1 in 14 million chance.

Try the calculators

Keep reading