UnlimitedPocket

Permutations with Replacement

Count ordered selections: n^r.

–Permutations with replacement
–Formula

What is the Permutations with Replacement used for?

Use it to count ordered selections with repetition, like PIN codes.

When to use it

  • Password and PIN strength
  • Probability problems
  • Code combinations

How to use the Permutations with Replacement

  1. Enter your numbers in the fields above – the permutations with replacement starts with example values so you can see how it works.
  2. Pick the right units or options from the drop-down menus where they appear.
  3. Read the results instantly; they update every time you change a value.
  4. Change one input at a time to compare different scenarios, then note or copy the figures you need.

Worked example

For example, if you enter:

  • Types n: 10
  • Positions r: 4

the permutations with replacement gives:

  • Permutations with replacement: 10,000
  • Formula: n^r = 10^4

Replace the example values with your own numbers to get your personal result.

About this tool

The Permutations with Replacement works out permutations with replacement and formula from a few simple inputs. Type types n and positions r and the results update instantly as you change any number – there is no button to press and nothing to install.

How to use it: start with the example values already filled in to see how the permutations with replacement behaves, then replace them with your own figures. Every field accepts decimals, and you can change one value at a time to compare scenarios side by side.

Results are rounded for readability, so treat them as a reliable estimate rather than an official figure. Double-check important results before relying on them.

Frequently asked questions

How does the permutations with replacement work?

It uses standard formulas to turn types n and positions r into permutations with replacement and formula. The calculation reruns every time you change an input.

Is the permutations with replacement free?

Yes. The permutations with replacement on UnlimitedPocket is completely free, with no sign-up, no usage limits and no watermarks.

Is my data uploaded anywhere?

No. Everything is calculated in your browser on your own device. Nothing you type or open is sent to our servers.

Report an issue

Something wrong with the Permutations with Replacement? Tell us and we’ll fix it.