Permutations With Repetition Calculator

Enter n (pool size) and r (positions) to count how many ordered sequences exist when items can repeat.

Inputs

Formula: nr

Quick examples

Result

Enter n and r to see the result

Copied!

Summary

Enter n (pool size) and r (positions) to count how many ordered sequences exist when items can repeat.

How it works

  1. Enter n — the number of distinct items in your pool.
  2. Enter r — the number of positions (slots) to fill.
  3. The calculator applies the formula n^r.
  4. Results display the total count plus step-by-step working.

Use cases

  • Count possible PIN codes of a given length (e.g., 10^4 = 10,000 four-digit PINs).
  • Determine the number of possible license plate combinations.
  • Calculate how many passwords can be formed from an alphabet of given size.
  • Enumerate sequences in probability problems where repetition is allowed.
  • Analyze sample spaces for dice rolls (e.g., 6^3 = 216 outcomes for three dice).

Frequently Asked Questions

Last updated: 2026-06-13 · Reviewed by Nham Vu