Omni Calculator logo

Possible Combinations Calculator

Created by Luis Hoyos
Reviewed by Wojciech Sas, PhD
Last updated: Jan 18, 2024


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:

FAQ

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.

Luis Hoyos
Set of objects
Total number of objects n
Sample size r
Number of selections
Combinations
Combinations with repetitions
Combination generator
Show
Combinations
Check out 33 similar probability theory and odds calculators 🎲
AccuracyBayes theoremBertrand's box paradox… 30 more
People also viewed…

Books vs e-books

Discover the ultimate paper books vs. e-books calculator. Make an informed choice with our handy tool. Find out which is best for the environment!

Confusion matrix

Our confusion matrix calculator helps you to calculate all the metrics you need to assess the performance of your machine learning model.

Helium balloons

Wondering how many helium balloons it would take to lift you up in the air? Try this helium balloons calculator! 🎈

Monty Hall problem

The Monty Hall Problem calculator can help you win a car 66% of the time — but only if you play the game!
Copyright by Omni Calculator sp. z o.o.
Privacy, Cookies & Terms of Service