Skip to main content

Probability Calculator – Combinations, Permutations & Factorials

Quick answer

This calculator computes combinations, permutations and factorials for probability problems.

  • Example: C(49, 6) = 13,983,816 (lottery odds), P(10, 3) = 720 and 10!
  • =

Figures are estimates from this calculator’s standard formula — adjust the inputs in the tool below for your exact number.

How Do Combinations, Permutations and Factorials Work?

nCr = n! / (r!(n-r)!) | nPr = n! / (n-r)! | n! = n × (n-1) × (n-2) × ... × 2 × 1

A factorial n! multiplies every whole number up to n (10! = 3,628,800) and counts all orderings of n items. A permutation P(n, r) = n! ÷ (n − r)! counts ordered selections: P(10, 3) = 720 ways to pick and arrange a gold, silver and bronze medal from 10 runners. A combination C(n, r) = n! ÷ (r!(n − r)!) ignores order: C(49, 6) = 13,983,816 possible lottery tickets, which is why matching all six numbers is so unlikely. For probability, divide favourable outcomes by total outcomes: the chance of drawing 2 aces from a 52-card deck is C(4, 2) ÷ C(52, 2) = 6 ÷ 1326 ≈ 0.45%. Use combinations when order does not matter (committees, hands of cards) and permutations when it does (passwords, rankings); if repetition is allowed, use nʳ instead — 10 PIN digits give 10⁴ = 10,000 codes.

  1. 1

    Choose a calculation type

    Pick combination, permutation or factorial.

  2. 2

    Enter n and r

    For a lottery-style problem enter n = 49 total items and r = 6 selected.

  3. 3

    Read the exact result

    C(49, 6) = 49! ÷ (6! · 43!) = 13,983,816 — every result is computed exactly, no rounding.

Use Cases

Calculating winning odds in lottery and gambling

Risk assessment in insurance and finance

Quality control and defect probability in manufacturing

Medical diagnosis probability calculations

Sports betting odds analysis

Weather forecasting probability models

Tips

  • 1

    Probability values always range from 0 (impossible) to 1 (certain)

  • 2

    The sum of all probabilities in a sample space equals 1

  • 3

    Use the multiplication rule for AND probabilities of independent events

  • 4

    Use the addition rule for OR probabilities, subtracting overlap for non-mutually exclusive events

  • 5

    Conditional probability P(A|B) = P(A and B) / P(B)

Common Mistakes

  • Confusing independent and dependent events when multiplying probabilities

  • Forgetting to subtract P(A and B) when using the addition rule for non-mutually exclusive events

  • Assuming events are independent without verification

  • Confusing probability with odds - they are different concepts

  • Not considering all possible outcomes in the sample space

FAQs

What is the combinations formula?

C(n, r) = n! ÷ (r! · (n − r)!). It counts selections where order does not matter, e.g. C(49, 6) = 13,983,816 lottery tickets.

What is the permutations formula?

P(n, r) = n! ÷ (n − r)!. It counts ordered selections, e.g. P(10, 3) = 720 ways to assign gold, silver and bronze among 10 runners.

How do I turn a count into a probability?

Divide favourable outcomes by total outcomes. The chance of 2 aces in 2 cards from a 52-card deck is C(4, 2) ÷ C(52, 2) = 6 ÷ 1326 ≈ 0.45%.

What is 0! equal to?

By definition 0! = 1. This keeps the formulas consistent — it makes C(n, 0) = 1, i.e. exactly one way to choose nothing.

What is the difference between combinations and permutations?

Order. Permutations count different orderings separately (ABC ≠ BAC); combinations treat them as the same set. For n = 10, r = 3: 720 permutations but only C(10, 3) = 120 combinations.