Permutations Calculator

Compute P(n,r) = n! / (n−r)! when order matters. Useful for seating, passwords, and race-place problems.

Permutations Calculator

Calculate P(n,r) - the number of ways to arrange r items from n items where order matters

What permutations are

A permutation is an ordered arrangement. ABC and BAC count as different. Combinations ignore order: {A,B,C} is one set either way.

Formula

P(n,r) = n! / (n−r)!

n items available, arrange r of them without reuse.

Example

3 places from 5 people:

P(5,3) = 5×4×3 = 60

Variants

  • With repetition: n^r choices (each slot picks from all n)
  • Identical items: n! / (n₁! n₂! …) so you do not overcount duplicates
  • Circular: (n−1)! when rotations of a ring count as the same

Restrictions ("A and B must sit together") usually mean glue those people into one block, then permute the blocks. "Cannot sit together" is often total minus the glued case.

Related Mathematical Tools

Frequently Asked Questions

Permutations vs combinations?

Order matters for permutations; it does not for combinations. Race places → permutations. Lottery numbers → combinations.

Repetition?

Identical objects: divide by factorials of each repeated group. Free reuse each position: use n^r instead of P(n,r).

When use circular permutations?

When seating around a table and only relative position matters: (n−1)! for n distinct people.

Restrictions?

Glue forced neighbors into one unit, or subtract forbidden arrangements from the unrestricted total.

How large can n! get?

Factorials grow fast. Many calculators stop around 170! in floating point. Prefer canceling factors in P(n,r) before expanding full factorials.

Sanity-check an answer?

It should be ≤ n! (or n^r with repetition), ≥ 1 if any arrangement exists, and match a tiny hand-worked case of the same method.

Related tools

Related tools

Related Number Tools

Number Sorter - Sort Numbers Online

Sort numbers in ascending or descending order online. Supports multiple delimiters, provides statistics, and handles decimal numbers. Free number sorting tool with instant results.

Number to Words Converter - Convert Numbers to Written Text Online

Convert numbers to words instantly. Supports integers, decimals, currencies, and ordinals. Perfect for checks, legal documents, and educational purposes. Free online tool.

Octal to Decimal Converter - Convert Base 8 to Base 10 Online

Convert octal numbers to decimal and vice versa instantly. Perfect for computer science, Unix permissions, and digital systems. Free online octal-decimal converter.

Outlier Detector

Detect outliers in your dataset using IQR method and Z-score analysis. Identify anomalies, extreme values, and data quality issues with our comprehensive statistical outlier detection tool.

Percentage Calculator - Calculate Percentages, Tips, Discounts & More

Calculate percentages, percentage changes, tips, discounts, and solve percentage problems. Features multiple calculation modes for business and everyday use.

Powers & Exponents Calculator

Calculate powers, find unknown bases or exponents with detailed step-by-step explanations. Perfect for algebra, science, and engineering calculations.

Prime Number Checker - Test if Numbers are Prime

Check if any number is prime with detailed analysis, factorization, and mathematical properties. Free online tool with examples, algorithms, and prime number theory.

Probability Calculator - Calculate Odds, Percentages & Statistical Likelihood

Free online probability calculator for basic probability, compound events, and binomial distributions. Calculate odds, percentages, and statistical likelihoods with detailed explanations and examples.

Quartile Finder Calculator

Calculate quartiles (Q1, Q2, Q3), percentiles, and identify outliers with our free quartile finder. Includes detailed statistical analysis, box plot insights, and data interpretation.

Random Decimal Generator

Generate random decimal numbers with various distributions, precision control, and statistical analysis. Perfect for simulations, testing, and data generation.