Counting, Permutations & Combinations

Seating Arrangements with Restrictions Calculator

Count linear or circular seatings, with two specified people together or apart.

Counting & Combinatorics

Count linear or circular seating arrangements

Optional two-person restriction
  1. 1EnterProvide the known values
  2. 2CalculateResults update automatically
  3. 3VerifyReview the details and units
Try an example

Exact arrangements

Enter valid values to see the result.

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

Feedback

Understand the subject

How do seating restrictions change a count?

A seating arrangement is a permutation with a geometric convention and, sometimes, a restriction. Treating a required adjacent pair as one block makes that restriction visible.

Use it for line or circle seatings with the calculator’s single specified two-person rule.

The relationship

The counting rule

See the structure

A required pair becomes one movable block

Worked example

Check the rule with a small case

Five people in a line with A and B together: 2 × 4! = 48.

Interpret with care

Choose the right counting model

More complex adjacency, separation, or named-seat restrictions are not inferred by this focused tool.

Use the Permutation & Combination Generator when a small case needs to be inspected rather than only counted.

Quick guide

How to use this calculator

  1. Enter the number of distinct people.
  2. Choose a line or circle and an optional two-person restriction.
  3. Read the exact arrangement count.

Calculation method

Use blocks for adjacent people

Unrestricted line and circle counts are n! and (n−1)!. Treating two specified people as a two-order block counts adjacent arrangements; subtracting that count gives non-adjacent arrangements.

Worked example

Five people in a line with two together

Treat the specified pair as one block, arrange four units, then order the pair two ways.

2×4! = 48

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.

Restriction scope

The restricted modes apply to exactly two specified distinct people. More complex adjacency rules are not inferred.