数学
Permutation & Combination Calculator
Calculate combinations (nCr) and permutations (nPr) to find how many ways you can choose items from a set.
使用方法
- Enter n: the total number of objects you have to choose from.
- Enter r: the number of objects you are selecting.
- The calculator determines the total possible ways to select them, distinguishing between combinations (where order doesn't matter) and permutations (where order matters).
公式
Combinations (No Replacement):
nCr = n! / [r! × (n - r)!]
Permutations (No Replacement):
nPr = n! / (n - r)!
Combinations (With Replacement):
CR = (n + r - 1)! / [r! × (n - 1)!]
Permutations (With Replacement):
PR = nr
nCr = n! / [r! × (n - r)!]
Permutations (No Replacement):
nPr = n! / (n - r)!
Combinations (With Replacement):
CR = (n + r - 1)! / [r! × (n - 1)!]
Permutations (With Replacement):
PR = nr
A Permutation and Combination Calculator solves complex combinatorics problems in seconds. "Combinations" are used when the order of selection doesn't matter (like choosing 5 players from a team of 10). "Permutations" are used when the sequence is strictly enforced (like guessing a 4-digit PIN code).