Combinatorics Calculator
What is a Combinatorics Calculator?
Calculate Permutations ($nPr$), Combinations ($nCr$), and Factorials ($n!$). Determine total possible arrangements and selections of items where order matters (permutations) or order does not matter (combinations).
Why Use This Tool?
- Probability & Statistics: Calculate probability odds and event combination outcomes.
- Lottery & Game Analysis: Compute total possible card combinations or lottery ticket selection odds.
- Computer Science & Algorithms: Calculate search space complexity for algorithms.
How to Use
- Enter Total Items $n$ (e.g. `10`) and Selected Items $r$ (e.g. `3`).
- Select Operation: Combination $nCr$ or Permutation $nPr$.
- View calculated result and step-by-step formula solution.
Real Working Example
Input:
Total Items (n): 10 | Selected Items (r): 3 | Mode: Combination (nCr)
Output Result:
10C3 = 10! / (3! * 7!) = 120 unique combinations
Important Technical Details & Formulas
- Combination Formula: `nCr = n! / (r! * (n - r)!)`.
- Permutation Formula: `nPr = n! / (n - r)!`.
- BigInt Precision: Handles large factorials ($n!$) accurately without numeric overflow.
Related Mathematics & Financial Tools
- Random Number Generator: Generate random numbers.
- Dice Roller: Roll virtual dice.
- Statistics Calculator: Compute mean and std dev.
Frequently Asked Questions
What is the difference between Permutation (nPr) and Combination (nCr)?
In Permutations (nPr), order matters (e.g. lock code 1-2-3); in Combinations (nCr), order does not matter (e.g. team selection).
What is 0 factorial (0!) equal to?
By mathematical definition, 0! = 1.
How many combinations of 6 numbers can be chosen from 49 (Lottery 6/49)?
49C6 = 13,983,816 total possible combinations.
Is it free?
Yes, 100% free.
Is my calculation data saved on a server?
No, all combinatorics calculations happen 100% locally in your browser.