Permutation Calculator

Calculate the number of ordered arrangements when selecting r items from a pool of n distinct items without repetition.

Number of distinct objects in the set.

Number of positions to fill in order.

Permutations

720

P(10, 3)

Ratio r / n

0.30

Portion of items selected

Remaining Items

7

Items left unused

How to Use This Calculator

  1. Enter the total number of distinct items `n`.
  2. Provide how many positions `r` you wish to fill in order.
  3. Ensure `r ≤ n`. The calculator returns zero if ordering more items than available.
  4. Review the permutation count and supporting ratios to understand selection intensity.

Formula

P(n, r) = n! / (n − r)!
  • n! — factorial of the total items.
  • (n − r)! — factorial of the unused items after placing r objects.
  • The formula assumes no repetition; each object can be used at most once.

Full Description

Permutations count ordered arrangements of distinct items. They apply whenever order matters: ranking competitors, arranging books, or generating passcodes without repeats. The factorial structure grows rapidly — even small increases in `n` or `r` produce explosive counts.

Use permutations to model scenarios where each choice depends on the previous ones. When repetition is allowed, switch to `n^r` instead. For unordered selections, combinations (`C(n, r)`) provide the correct count.

Frequently Asked Questions

How large can n and r be?

The calculator supports up to 500. Factorials grow rapidly, so extremely large values may exceed JavaScript precision. For massive inputs, consider logarithmic approximations.

What if repetition is allowed?

Use the formula nr for permutations with repetition. This tool focuses on arrangements without reuse — common in ranking and seating problems.

How do permutations relate to combinations?

Permutations count ordered arrangements. Combinations divide out the `r!` orderings, giving unordered selections: C(n, r) = P(n, r) / r!.

Can this help with probability questions?

Yes. Permutations often form the numerator or denominator in probability problems where order matters, such as drawing lottery numbers in sequence.