number of possibilities calculator

Calculate Total Outcomes Fast

Use this calculator to find how many possible outcomes exist when you make k selections from n options.

Range limited to 0–1000 for fast browser performance.

What Is a Number of Possibilities Calculator?

A number of possibilities calculator helps you count how many different outcomes can happen in a situation. This is a core idea in combinatorics, probability, statistics, computer science, gaming, and decision-making.

In plain language, it answers questions like:

  • How many passwords can I create with these rules?
  • How many ways can I pick a team from a group?
  • How many unique lock combinations are possible?
  • How many ordered arrangements can I form?

The Four Main Counting Cases

Most practical counting problems fit into one of four categories based on two decisions:

  • Does order matter?
  • Is repetition allowed?

1) Order matters + repetition allowed

Formula: nk

Use this for PINs, code sequences, and settings where each slot can reuse the same value.

2) Order matters + repetition not allowed

Formula: P(n, k) = n! / (n-k)!

Use this for ranked outcomes, race placements, or assigning distinct roles from a pool.

3) Order does not matter + repetition not allowed

Formula: C(n, k) = n! / (k!(n-k)!)

Use this for committee selection, lottery picks (where order is ignored), and choosing bundles of unique items.

4) Order does not matter + repetition allowed

Formula: C(n+k-1, k)

Use this when selecting counts of item types, such as choosing scoops of ice cream flavors where repeats are allowed but order is irrelevant.

Examples You Can Try

Password-style example

If there are 26 letters and a 5-character code, with order mattering and repetition allowed:

265 = 11,881,376 possibilities.

Team selection example

Choose 4 people from 12, no repetition, order does not matter:

C(12, 4) = 495 possible teams.

Podium arrangement example

Pick gold, silver, and bronze from 10 athletes (no repeats):

P(10, 3) = 720 possible podium outcomes.

Why This Matters

Counting outcomes correctly is not just a math exercise. It helps you:

  • Estimate risk and probability accurately
  • Understand brute-force security complexity
  • Design fair games, experiments, and surveys
  • Evaluate decision space size in planning problems

Common Mistakes to Avoid

  • Forgetting whether order matters: This is the biggest source of errors.
  • Using combinations when you need permutations: Rank/order-sensitive problems require permutation logic.
  • Ignoring repetition rules: Reuse changes formulas drastically.
  • Entering impossible values: If repetition is not allowed, k cannot exceed n.

Quick Decision Rule

Use this shortcut:

  • If position or sequence matters, start with an order-matters formula.
  • If only grouping matters, use an order-does-not-matter formula.
  • If choices can repeat, pick a repetition-allowed formula.

With these rules and the calculator above, you can solve most everyday counting and probability setup problems in seconds.

🔗 Related Calculators