Calc Lab Online
Math & Basic Calculators

Circular Permutation Calculator (Pn)

Free online Circular Permutation Calculator (Pn). Compute round table seating permutations (n - 1)!, necklace arrangements, and circular subsets with step-by-step proofs and BigInt precision.

Sponsored • Leaderboard
★Popular Presets & Textbook Examples
Click to autofill

1Input Parameters

Number of people, beads, keys, or items to arrange
Fixed Circular Orientation: Clockwise vs counter-clockwise orders are distinct (e.g., sitting to someone's left vs right at a fixed table).
Circular Seating / Ring Layout (5 Nodes)
ROUNDTABLEABCDE

Node A (Blue): Fixed reference anchor to eliminate 5 rotational duplicates.

Permutation Results

Fixed Circular Permutations P(5)
24ways
Formula applied: (5 - 1)! = 4!
Linear Permutations (Straight Line)
120ways
Formula: 5!
Rotational Symmetry Factor
÷ 5rotations
Each circle matches 5 linear arrangements

Step-by-Step Combinatorial Derivations

Step 1: Calculate Total Linear Permutations (n!)P_linear = n!
Substitution: P_linear = 5! → 120

If arranged in a straight line with distinct start and end positions, 5 unique items have 5! = 120 possible ordered arrangements.

Step 2: Identify Rotational Symmetry (Divide by n)Symmetry Factor = n
Substitution: Rotating the circle 5 times yields identical relative circular arrangements → Rotational Period = 5

In a circle, there is no designated "head of the table" or first seat. Shifting all 5 items one position clockwise produces the same relative sequence, meaning every circular arrangement is repeated 5 times in linear permutations.

Step 3: Solve Fixed Circular Permutation P(n)P(n) = n! / n = (n - 1)!
Substitution: P(5) = (5 - 1)! = 4! → 24

Dividing the 120 linear permutations by 5 rotational symmetries gives exactly (5 - 1)! = 24 unique circular seating arrangements.

Advertisement • In-Content

How to Use the Circular Permutation Calculator

Step-by-step guide for calculating round table seating, necklace, and circular subset arrangements

1

Select Circle Symmetry Type

Choose Fixed Circle for table seating where clockwise and counter-clockwise orders matter, Reversible Circle for 3D flip-over items (necklaces, keychains), or Subset Seating.

2

Enter Number of Items (n)

Input the total count of distinct objects, dinner guests, beads, or keys. In subset mode, also enter the number of seats (r) to be filled.

3

View Exact BigInt Permutations

Get exact integer solutions computed with arbitrary precision BigInt arithmetic, without scientific rounding loss for large groups of items.

4

Analyze Visual Graphic & Proof Steps

Explore the dynamic SVG circular table showing the reference anchor node and the rotational division step that turns n! into (n − 1)!.

Combinatorics of Circular Permutations

Rotational symmetry, reference anchors, and reflection duplicates explained

In discrete mathematics and combinatorics, a permutation is an ordered arrangement of distinct elements. While linear permutations have distinguished endpoints (a clear “first” and “last” position), a circle has no fixed starting point.

1. Fixed Circle (Table Seating)

For n people seated around a round table where clockwise vs counter-clockwise relative positioning matters:

P(n) = n! / n = (n − 1)!

2. Reversible Circle (Necklace / Keychain)

For physical loops that can be flipped over in 3D space, mirror images become indistinguishable:

Pnecklace(n) = (n − 1)! / 2   (n ≥ 3)

The Reference Anchor Concept

The most intuitive way to understand why the formula is (n − 1)! is the Anchor Principle:

  1. Pick any single individual (e.g. Person A) and seat them first at any arbitrary seat. Because all seats are identical in a bare circle, there is only 1 distinct way to place this anchor person.
  2. Once Person A is seated, they break the rotational symmetry. Every other seat is now uniquely defined relative to Person A (e.g. “seat directly opposite A”, “seat immediately to A's right”).
  3. The remaining (n − 1) individuals can now be arranged in the remaining (n − 1) seats just like a straight line, yielding (n − 1)! unique arrangements.

Reference Table: Linear vs Circular vs Necklace Permutations

Items (n)Linear (n!)Circular: (n − 1)!Necklace: (n − 1)! / 2
1111
2211
3621
42463
51202412
672012060
75,040720360
840,3205,0402,520

Real-World Worked Examples

Example 1: Dinner Party

5 Guests Around Round Table

How many unique seating arrangements can be made with 5 friends at a round dining table?

P(5) = (5 − 1)! = 4!
4! = 4 × 3 × 2 × 1
= 24 seating ways
Example 2: Reversible Ring

6 Keys on a Keychain

How many ways can 6 different house keys be arranged on a circular key ring?

P = (6 − 1)! / 2 = 5! / 2
120 / 2
= 60 key arrangements
Example 3: Subset Circular

4 of 7 Seated Around Table

There are 7 invited dignitaries, but only 4 seats available at the circular negotiation table.

7P4 = 7! / (7 − 4)! = 840
P_circle = 840 / 4
= 210 unique ways