By Debmedia Technologies LLP · Kolkata, India · Updated
What Is It and When Do You Need It?
Permutations and combinations count the ways to pick and arrange items. They are the base of probability and appear in passwords, lotteries, team selection and card games. The numbers grow very fast, so a normal calculator quickly shows only an approximation.
This tool uses exact integer arithmetic, so even 52C5 or 100! is shown digit for digit.
How to Use This Tool
- Enter n, the total number of items.
- Enter r, how many you choose (skip it for factorial).
- Pick what to calculate.
- Press Calculate and read the exact value and the formula.
How the Calculation Works
The factorial of n multiplies every whole number from 1 up to n. A permutation is nPr = n × (n − 1) × … × (n − r + 1). A combination divides that by r!, because each group of r items can be ordered in r! ways that count as one choice.
The tool multiplies and divides whole numbers only, so there is no rounding. Very long results are shown as the full number plus the digit count.
Worked Example
How many ways can 3 medals be given among 10 runners? Order matters, so use 10P3 = 10 × 9 × 8 = 720. How many ways can you pick a team of 3 from the same 10? Order does not matter, so 10C3 = 720 ÷ 6 = 120.
Common Uses
- Probability homework and exam practice.
- Counting password or PIN possibilities.
- Lottery odds, for example 6 numbers from 49 gives 13,983,816 combinations.
- Planning seating or tournament schedules.
Tips and Common Mistakes
- r cannot be bigger than n.
- nCr is the same as nC(n − r), which is a quick check.
- If items can repeat, the formulas are different. This tool covers selection without repeats.
Related Tools
Next, you may need the Fibonacci calculator, GCD and LCM calculator, prime number checker, average calculator.
Everything runs in your browser. Nothing you type is uploaded, stored or sent to any outside service.
Frequently Asked Questions
Disclaimer: results are calculated in your browser from the numbers you enter. Check important results before you rely on them for money, health, safety or legal decisions.