Permutations with repetition calculator
Count the ordered arrangements of length r drawn from n items when repetition is allowed — every position can be any of the n choices independently, giving exactly nʳ. This is the arrangement count for PIN codes, passwords, DNA strings and dice rolls, and it differs from ordinary permutations nPr, which forbid reuse. The result is computed exactly with big integers, however large it grows.
Related tools
All Combinatorics tools →The Permutations with repetition calculator turns n (number of items), r (length of arrangement) into nʳ arrangements, Number of digits, Scientific notation, instantly and for free. For instance, with n (number of items) = 10 and r (length of arrangement) = 4 it returns nʳ arrangements = 10000, Number of digits = 5 and Scientific notation = 1.0000 × 10^4.
How to use it
- Enter your values: n (number of items), r (length of arrangement).
- Read the result instantly: nʳ arrangements, Number of digits, Scientific notation.
Frequently asked questions
What does the Permutations with repetition calculator actually compute?
It takes n (number of items) and r (length of arrangement) and derives nʳ arrangements, Number of digits and Scientific notation from them. The calculation is live as you type, so the result updates on every change.
What information do I need to provide?
2 values: n (number of items) and r (length of arrangement). Nothing else is required — no account, no file upload.
Can you show a worked example?
With n (number of items) = 10 and r (length of arrangement) = 4, the calculator returns nʳ arrangements = 10000, Number of digits = 5 and Scientific notation = 1.0000 × 10^4. Those figures come from running this exact tool, so you can reproduce them by entering the same values.
What happens if I enter larger values?
It moves a lot. Using n (number of items) = 20 and r (length of arrangement) = 8 instead, Number of digits goes from 5 to 11 — which is why it is worth testing a few scenarios rather than trusting a single figure.
What does it give for smaller values?
Scaled down to n (number of items) = 5 and r (length of arrangement) = 2, Number of digits comes out at 2. The relationship is worth checking at both ends before you rely on a single result.
When would I actually use this?
Counting possibilities before enumerating them: hands in a card game, passwords of a given shape, seatings around a table, or lottery odds.
What is the most common mistake?
Choosing a permutation when order does not matter. Picking three people from ten gives 720 arrangements but only 120 groups — the two differ by a factor of six here, and far more as the numbers grow.
Where do the figures come from, and how current are they?
Counting formulas are exact by definition. Large factorials are computed with arbitrary precision where needed, so a result is not silently rounded into scientific notation.