Circular & necklace permutation calculator

Count arrangements on a circle (rotation is the same), or on a necklace (rotation + reflection are the same). Enter n to get (n−1)! or (n−1)!/2 (with small‑n exceptions).

Runs locally in your browser. For very large n, the tool switches to a fast approximation (digit count + scientific notation) to avoid freezing the page.

Other languages: ja | en | es

How to use (3 steps)

  1. Select Circular or Necklace.
  2. Enter n (integer ≥ 1) or tap an example.
  3. Copy a shareable URL to reproduce the same state.

Visual guide

Circular: rotations are the same. Necklace: rotations and flips are the same.

Mode

Examples:

Result

Method:
Value:
Digits:
Formula:

Steps (short)

Show the reasoning

    Formulas & examples

    Example: circular seating for n=87! = 5040. Necklace with n=5 distinct beads → 4!/2 = 12.

    Common mistakes

    Related calculators

    FAQ

    What is the difference between circular and necklace permutations?

    Circular permutations identify rotations. Necklace permutations identify both rotations and reflections (flips).

    Why is the circular permutation formula (n−1)!?

    Fix one item to break rotational symmetry, then arrange the remaining n−1 items.

    When does the necklace result become (n−1)!/2?

    For n ≥ 3, each arrangement and its reflection are the same necklace, so you divide by 2.

    Why is the necklace result 1 when n = 2?

    With 2 distinct beads on a loop, rotation and flipping do not create a new arrangement, so there is only one unique necklace.

    What if seats have numbers (fixed positions)?

    Then rotations are different, so the count is n! (use the factorial/permutation calculator).

    Related (auto)