About Permutations With Repetition Calculator
This calculator counts permutations with repetition: ordered sequences of length r where each position can be any of n kinds. The answer is n to the power r, which fits PIN codes, passwords and dice sequences. It is free, needs no sign-up and runs in your browser, so nothing you enter is uploaded.
Each of the r positions has n choices that do not depend on the others, so the choices multiply.
How to use Permutations With Repetition Calculator
- Choose a mode: both nPr and nCr, one of them, a repetition case, or arrangements with repeats.
- Enter n and r as whole numbers. r cannot be larger than n unless repetition is allowed.
- Read the exact answer. For very long answers the copy button copies every digit.
- Open the working to see the formula with factorials and the cancelled product.
- For small n, scroll to the list to see the permutations or combinations written out with letters A, B, C.
Features
- nPr and nCr with exact BigInt results, up to n = 1000.
- Permutations and combinations with repetition allowed.
- Arrangements of a word or a multiset: n! / (n1! n2! ...).
- Factorial working shown in KaTeX, with the cancellation step.
- The actual arrangements listed when n is 8 or less, capped at 500 shown.
- Copy the full digits of a big answer. Works on a phone.
Permutations with repetition
Multiply n by itself r times.
n^rWorked examples
4-digit PIN gives 10,000
10^4 = 10,000.
8-character lowercase password gives 208,827,064,576
26^8.
Rolling a die 5 times gives 7,776
6^5 = 7,776 ordered outcomes.
Privacy: how it works
- Everything is calculated in your browser tab. The numbers and words you enter are not sent to Ulkaa or to any other server.
Tips
- nCr equals nC(n - r), so 100 choose 98 is the same as 100 choose 2.
- 0! is 1, which is why choosing none or all of the items gives exactly one way.
- For "at least" questions, count the opposite case and subtract from the total.
- For repeated letters, type the word. The calculator counts each letter for you.
Frequently asked questions
Is it really free?
Yes. There is no price, no trial and no credit card. Ulkaa Tool does the work with your own device, so there is no server bill to pass on to you.
Do I need an account?
No. There is no sign-up and no login. Open the page and use it. An Ulkaa account is not needed for anything on this tool.
Does it run in my browser?
Yes. Your numbers are processed by code running in your browser tab, on your own device.
Is my data uploaded?
No. Your numbers are never sent to Ulkaa or to anyone else. You can check this yourself by watching the Network tab in your browser developer tools while you use the tool.
What is the formula?
n to the power r, for n kinds and sequences of length r.
Is this the same as the permutation nPr?
No. nPr does not allow an item to be reused, so it is smaller. This one allows reuse.
More Permutation and Combination Calculator pages
- Permutation and Combination CalculatorEnter n and r to get nPr and nCr with exact answers, the factorial working and the arrangements listed when they are few.
- Combination CalculatorEnter n and r to count the ways to choose r items from n when order does not matter.
- Permutation CalculatorEnter n and r to count the ordered ways to choose r items from n.
- Combinations With Repetition CalculatorCount unordered selections of r items from n kinds when an item can be chosen more than once.
- Permutations of a Word CalculatorType a word to count how many different ways its letters can be arranged.