iGuideSmart

Factorial, Permutation (nPr) & Combination (nCr) Calculator

Compute exact n!, ordered permutations P(n,r), and unordered combinations C(n,r) using BigInt. 100% client-side with explicit formula, worked examples, reference chart, and FAQs.

Combinations C(10, 3) & Permutations P(10, 3)
nCr = 120
nPr = 720 | 10! = 3,628,800

Formula & Calculation Logic

Uses native JavaScript BigInt arithmetic so combinatorics up to n = 100 stay exact with zero rounding error.

Primary Formula

nPr = n! ÷ (n−r)! | nCr = n! ÷ (r!(n−r)!)

Example: Choose 3 cards from 10 (n=10, r=3)

  1. 1
    Ordered Permutations P(10, 3)
    10 × 9 × 8
    720
  2. 2
    Unordered Combinations C(10, 3)
    720 ÷ 3!
    120

Factorials 0! through 15!

Rapid super-exponential growth of n!.

Showing 16 of 16 reference values
Factorial values from 0! to 15!
nn!Digits
0!11
1!11
2!21
3!61
4!242
5!1203
6!7203
7!5,0404
8!40,3205
9!362,8806
10!3,628,8007
11!39,916,8008
12!479,001,6009
13!6,227,020,80010
14!87,178,291,20011
15!1,307,674,368,00013

Practical Real-World Use Cases

Instant Verification & Planning

Compute factorial, permutation (npr) & combination (ncr) calculator figures live with zero reloads or server latency.

Transparent Formula Breakdown

Check every intermediate step for study, engineering, or everyday budgeting.

Factorial, Permutation (nPr) & Combination (nCr) Calculator – Frequently Asked Questions

What is the difference between permutations and combinations?
Order matters in permutations (e.g., PIN codes or race podiums); order does NOT matter in combinations (e.g., lottery draws or committee selection).
What is 0! (zero factorial)?
By combinatorial convention, 0! = 1 because there is exactly one way to arrange zero objects.
Why is C(n, r) always equal to C(n, n−r)?
Choosing r items to keep is mathematically equivalent to choosing (n − r) items to leave out.
View all Math Calculators →