Combinations (nCr) & Permutations (nPr) Calculator
Calculate exact combinations and permutations with factorial steps and an interactive Pascal’s triangle visualization.
Input Parameters
ℹ️ Format: Non-negative integers with 0 ≤ r ≤ n ≤ 170 · e.g. n = 10, r = 3
Dimensions
💡 Tip: You can also paste (12, 13, 14) directly into any box.
Permutations (nPr)
720
r!
6
Symmetry
10C7 = 120
Formula & Step-by-Step Calculation
nCr = n! / (r!(n − r)!), nPr = n! / (n − r)!
-
1
Compute permutations nPr
10P3 = 10! / (10−3)! = 720 -
2
Divide by r! for combinations nCr
10C3 = 10P3 / 3! = 120
Worked Example
Sample inputs and verified result: Total Items (n) = 10, Choose (r) = 3
Combinations (nCr): 120 (10C3)
Frequently Asked Questions
What is the difference between combinations and permutations?
Permutations (nPr) count ordered arrangements, while combinations (nCr) count unordered selections.