Category: FUNCTION | Updated: 2026-11-22

[PERMUT Function] How to Calculate the Number of Permutations

Syntax

=PERMUT(n, k)
  • n: The total number of items, specified as an integer greater than or equal to 0.
  • k: The number of items to select and arrange, specified as an integer between 0 and n.

Example Table

Examples of calculating total permutations for rankings and non-repeating passcodes.

Scenario Total (Col A) Select (Col B) Formula Output Explanation
Predict 1st–3rd out of 8 (Trifecta) 8 3 =PERMUT(A2, B2) 336 ₈P₃ = 8 × 7 × 6
Presentation order for 5 people 5 5 =PERMUT(A3, B3) 120 ₅P₅ = 5! = 120
4-digit PIN with unique digits (0–9) 10 4 =PERMUT(A4, B4) 5040 ₁₀P₄ = 10 × 9 × 8 × 7

Common Errors and Caveats

  • #NUM! error: Occurs if k is greater than n, or if either argument is negative.
  • Truncation of decimals: If any argument includes a decimal, the fractional part is truncated and the calculation uses the integer value.

Frequently Asked Questions

Q. What types of calculations is the PERMUT function best suited for?

A. It is ideal when different orders count as distinct outcomes, such as relay running orders, passcode patterns, or podium finishes (1st, 2nd, and 3rd place).

Q. Can I use PERMUT to calculate passcode patterns where digits or letters can repeat?

A. No, PERMUT calculates permutations without repetition. For permutations with repetition (like a 4-digit PIN using digits 0–9 with repeats allowed), use exponentiation like "=10^4" or the PERMUTATIONA function.