Counting, Permutations & Combinations

Anagram & Repeated-Letter Permutation Calculator

Count distinct arrangements of a word, phrase, or multiset containing repeated symbols.

Counting & Combinatorics

Count distinct arrangements of repeated symbols

Multiset permutations

Distinct arrangements

Enter valid values to see the result.

Your entries are calculated in this browser and are not submitted to 365CALCS.COM.

Quick guide

How to use this calculator

  1. Enter the symbols to arrange.
  2. Choose whether spaces and letter case distinguish symbols.
  3. Read the number of unique arrangements after duplicate orders are removed.

Calculation method

Divide out repeated-symbol orders

If n symbols contain repeated frequencies r₁, r₂, and so on, the number of distinct arrangements is n! divided by r₁!r₂!⋯.

Worked example

Arrange LEVEL

LEVEL has five letters, with L repeated twice and E repeated twice.

5!/(2!2!) = 30

Supported inputs

Precision and limits

Discrete domain

Inputs are whole counts. Negative, fractional, grouped, and scientific-notation inputs are rejected.

Exact integers

Results use arbitrary-precision integers and are never rounded. Inputs and output size are bounded to keep the page responsive.

Text

Up to 1,000 Unicode grapheme clusters are supported. Canonically equivalent text is normalized before counting. The result is a count; the anagrams themselves are not generated.