Omni Calculator logo

Combinations with Repetition Calculator

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


In this article, we deal with how to calculate combinations with repetition.

Combinations are present in many everyday life situations, such as when wanting to know the chances to win the main prize in a lottery (check more about it in our lottery calculator). For that reason, we've created this and other similar calculators.

The easiest way to calculate combinations with repetition is using our calculator, but knowing the equation behind the results is helpful for a deeper understanding. For that reason, in the next section, we present the formula for combinations with repetition and an example of calculation.

🙋 This tool doesn't only calculate the number of combinations with repetitions but also serves as a combination generator with repetition, showing you the list of all those possible combinations.

Don't confuse combinations with permutations.

Combination with repetition formula

This formula gives the number of combinations with repetition:

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

, where:

  • rr — The sample size;
  • nn — The total number of objects; and
  • !! — The factorial of a number.

Example of combination with repetition

Suppose you want to know how many combinations of 5 numbers with repetition are possible. Follow these steps to get the answer:

  1. Identify the total number of objects (n) and the sample size (r). There exist ten digits in the numeric system (from 0 to 9), and we want five-numbers combinations. Therefore, n=10n = 10 and r=5r = 5.
  2. Input the values in the combination with repetition formula:
    C(n,r)=(r+n1)!r!(n1)!)=(5+101)!5!(101)!=14!5!×9!=87,178,291,200120×362,880=2002C'(n,r) = \frac{(r+n-1)!}{r!(n-1)!}) = \frac{(5+10-1)!}{5!(10-1)!} = \frac{14!}{5!×9!} = \frac{87,178,291,200}{120×362,880} = 2002
  3. That's it. The number of combinations with repetition with five numbers is 2002. You can check these results in our combinations with repetition calculator.

Other Omni tools similar to the combinations with repetition calculator

You can generate combinations with repetition and many other measures using these calculators:

FAQ

How many combinations with 5 numbers with repetition are possible?

There are 2,002 possible combinations with repetitions and 100,000 permutations with repetitions of arranging the digits 0-9 to form a five-digit number.

How to calculate combinations with repetition?

To calculate combinations with repetition C'(n,r):

  1. Identify the total number of objects (n)
  2. Establish or identify the sample size (r)
  3. Input the values in the following formula:
    C'(n,r) = (r+n-1)! / (r!(n-1)!).
Luis Hoyos
Set of objects
Total number of objects n
Sample size r
Number of selections
Combinations with repetitions
Combination generator
Show
Combinations with repetitions
Check out 34 similar probability theory and odds calculators 🎲
AccuracyBayes theoremBertrand's box paradox… 31 more
People also viewed…

Lost socks

Socks Loss Index estimates the chance of losing a sock in the laundry.

Millionaire

This millionaire calculator will help you determine how long it will take for you to reach a 7-figure saving or any financial goal you have. You can use this calculator even if you are just starting to save or even if you already have savings.

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!

Pooled standard deviation

Our pooled standard deviation calculator can help you measure the variability or spread of data when combining or pooling multiple datasets.
Copyright by Omni Calculator sp. z o.o.
Privacy, Cookies & Terms of Service