FINAL TOOLBOX
02 // Visual Math & Finance SolversnPr = n! / (n − r)!, nCr = n! / [r!(n − r)!]

Visual Permutations ($nPr$) vs. Combinations ($nCr$) Explorer

Selecting $r$ items from $n$ distinct elements yields $P(n,r) = \frac{n!}{(n-r)!}$ ordered permutations, and dividing out the $r!$ internal orderings yields $C(n,r) = \binom{n}{r} = \frac{n!}{r!(n-r)!}$ unordered combinations.

nPr = n! / (n − r)!, nCr = n! / [r!(n − r)!]

Inputs & Parameters (2)

1±112
0±112
PASCAL'S TRIANGLE — HIGHLIGHTING C(7, 3) = 35n=01n=111n=2121n=31331n=414641n=515101051n=61615201561n=7172135352171
Combinations C(7, 3)
35
Unordered subsets (Symmetry: C(7,4) = 35)
Permutations P(7, 3)
210
Ordered arrangements = C(7,3) × 3!
Internal Orderings (3!)
6
Total n! = 5,040
Row 7 Subset Sum (2^n)
128
Binomial term: 35·a^4·b^3

20-Row Comparison Table

Compare across:
#Total Items in Pool (n) Combinations C(n, r)P(1, 1)Row Sum 2^1
011112
022124
032124
043168
053168
06442416
07442416
085106032
0962012064
1062012064
117 (Current)35210128
127 (Current)35210128
13856336256
14984504512
15984504512
16101207201,024
17101207201,024
18111659902,048
19111659902,048
20122201,3204,096
Was this tool helpful?

Key Analytical Takeaways

  • 01Permutations ($nPr$) are always $r!$ times larger than Combinations ($nCr$) because every single combination of $r$ items can be rearranged in $r!$ ordered ways.
  • 02Symmetry identity: choosing $r$ items to include is identical to choosing $n - r$ items to leave behind, so $\binom{n}{r} = \binom{n}{n-r}$.
  • 03The highlighted cell in row $n$, entry $r$ of Pascal's Triangle displays the exact binomial coefficient $\binom{n}{r}$.

Frequently Asked Questions

When should I use Permutations (nPr) vs. Combinations (nCr)?+

Use Permutations when order matters (podium finishes, PIN codes, seating charts). Use Combinations when order does not matter (committee selection, lottery hands, toppings).

Why is 0! (zero factorial) defined as 1?+

There is exactly 1 way to arrange an empty set of zero objects, and setting 0! = 1 ensures C(n, n) = n! / (n! × 0!) = 1.

Why does 0! (zero factorial) equal 1?+

0! = 1 represents the single empty arrangement of zero objects and preserves combinatorial identities like C(n, n) = n! / (n! · 0!) = 1.