Permutation and Combination Calculator
About Tool
Combinatorics can be notoriously difficult to calculate by hand as factorials quickly grow into massive numbers. This calculator handles the heavy lifting for counting problems, allowing you to easily find permutations (where order matters) and combinations (where order does not matter). It is an indispensable utility for probability theory, schedule planning, and data organization.
Defining 'n' and 'r'
The logic is based on two standard variables. Total Items (n) represents the complete set of objects you are choosing from. Items Chosen (r) is the subset you are selecting. For instance, if you are picking a 3-person committee from a group of 10, 'n' is 10 and 'r' is 3. Hitting Run applies the standard $nPr$ and $nCr$ formulas to these inputs simultaneously.
Permutations vs. Combinations
The output area explicitly labels the results for both methods to prevent confusion:
- Permutations ($nPr$): Used when sequence is important, such as cracking a padlock code or assigning 1st, 2nd, and 3rd place medals.
- Combinations ($nCr$): Used when the sequence is irrelevant, such as dealing a hand of poker or forming a generic project group.
Once you know the total number of combinations for your scenario, you can plug that figure into the Probability Calculator as your "Total Possible Outcomes" to find the exact odds of a specific event. If your mathematical model requires checking the divisibility of these large output groups, the Prime Number Checker can be used to evaluate the resulting numbers.
Handling Large Values
Because factorial math scales aggressively, calculating something like 100 choose 5 involves incredibly large intermediary numbers. This calculator uses precision math to output the final results accurately. You can Copy the exact figure to your clipboard, or use Reset to clear the 'n' and 'r' fields for your next counting problem.
Frequently Asked Questions
What happens if 'r' is greater than 'n'?
You cannot choose more items than are available in the total set. The tool requires 'n' to be greater than or equal to 'r'.
Does this tool account for repetition?
No, the standard $nPr$ and $nCr$ formulas calculated here assume selection without replacement (no repetition of items).
Why is the permutation result always larger?
Because order matters in permutations, selecting A-B-C is counted separately from C-B-A, resulting in a much larger total than combinations, which counts them as a single group.
Can I input decimal numbers?
No. Permutations and combinations require whole, positive integers (discrete items) to function correctly.
Similar Tools
-
Decimal to Fraction
Convert decimal values into simplified fractions with mixed-number support when useful.
-
Fraction to Decimal
Convert fractions and mixed numbers into decimal form with configurable precision.
-
LCM and GCF Calculator
Calculate least common multiple and greatest common factor for multiple integers.
-
Log Calculator
Calculate logarithms with custom bases for math, science, and engineering problems.
-
Matrix Calculator
Perform basic matrix operations such as addition, multiplication, transpose, and determinant.
-
Mean Median Mode Calculator
Calculate mean, median, and mode from number lists for statistics homework and analysis.
-
Percent Error Calculator
Calculate percent error between experimental and accepted values clearly and accurately.
-
Prime Number Checker
Check whether a number is prime and optionally list nearby factors or primes.
Reviews