Omni Calculator logo
Last updated:

Possible Combinations Calculator

New

Table of contents

Combinations vs. permutationsExample: Calculating how many possible combinations of 5 letters existOther tools similar to our possible combinations calculatorFAQs

If you've ever wondered how to calculate combination possibilities, our possible combinations calculator is what you need.

This tool generates the number of all possible combinations, given a total number of objects and sample size. It also generates all the possible combination elements in a list.

As an example, to better understand the concept, we'll solve the common problem of knowing how many combinations of 5 letters are possible.

🙋 This tool focuses on how to generate all possible combinations, not permutations. The following section discusses the difference between these usually confused quantities. Look at our permutation calculator for a tool that allows permutation calculations.

Combinations vs. permutations

A combination is the number of ways you can choose r elements out of a set containing n distinct objects, no matter the order. If we must consider the order in which we obtain those elements, then we're dealing with permutations.

We know these definitions can sound complicated, and as a picture is worth a thousand words, we created the following graphic, which perfectly describes these concepts and their differences.

Image describing through an example the combination and permutation concepts.
An example to better understand the combination and permutation concepts.

In the example of the image above, there are n = 4 balls of different colors, and the objective is to know how many distinct sets we can get by randomly sampling r = 3 elements.

As you can see, the combination process only considers sets with a different combination of elements each, no matter the order. In contrast, permutation additionally considers the various orders of a specific group of elements.

Also, there are two types of combinations and permutations: without repetition vs. with repetition. "With repetition" means we can have elements repeated within a group of r elements, while "without repetition" implies the opposite.

The following formula gives the number of possible combinations without repetition:

C(n,r)=n!r!(nr)!,C (n,r) = \frac{n!}{r!(n-r)!},

, where:

C(n,r)C (n,r) — The number of possible combinations without repetition;
nn — The total number of objects;
rr — Sample size; and
!! — The factorial of the number to the left.

And if you're interested in how to calculate possible combinations with repetitions, this is the formula:

C(n,r)=(r+n1)!r!(nr)!C' (n,r) = \frac{(r+n-1)!}{r!(n-r)!}

Now that you've learned the concepts let's see how to calculate how many combinations are possible through an example.

Example: Calculating how many possible combinations of 5 letters exist

If you're interested in how to find all possible combinations, the easiest way is to use our calculator. Let's see an example.

Suppose you want to calculate how many combinations of 5 letters are possible. Follow these steps to discover it:

  1. Identify the total number of objects (n) and the sample size (r).
    • Assuming we're dealing with the English alphabet (and not the Russian or the Chinese ones 😳), n = 26.
    • A combination of 5 letters means r = 5.
  2. Go to the possible combinations calculator and input 26 in the "Total number of objects" box and 5 in the "Sample size" box.
  3. That's it. The amount of possible combinations of 5 letters is 65,780 and 142,506 without and with repetition, respectively. Now you know how to calculate combination possibilities.

Other tools similar to our possible combinations calculator

Now that you know how to generate all possible combinations with our calculator, you can take a look at these other tools:

FAQs

How many combinations of 4 digits are possible?

These are the possible combinations and permutations of forming a four-digit number from the 0 to 9 digits:

  • Possible combinations:
    • Without repetitions: 210
    • With repetitions: 715
  • Possible permutations:
    • Without repetitions: 5,040
    • With repetitions: 10,000

How many combinations with 12 numbers are possible?

The possible combinations and permutations of arranging twelve numbers (i.e., the 1-12 number list) are:

  • Possible combinations:
    • Without repetitions: 1
    • With repetitions: 1,352,078
  • Possible permutations:
    • Without repetitions: 479,001,600
    • With repetitions: 8,916,100,448,256

The number of possible combinations without repetitions C(n,r) equals one because the total number of objects n (twelve digits) equals our sample size r (the twelve digits we'll arrange). In other words, if n = r, then C(n,r) = 1.

Set of objects

Fill in the number of objects n and sample size r. The number of combinations in the generator is limited to 300 entries.

Check out 35 similar probability theory and odds calculators 🎲
AccuracyBayes theoremBertrand's box paradox...32 more