Permutation, Combination & Factorial Calculator
HOTCalculate permutations (nPr), combinations (nCr), repeated combinations, and factorials (n!) with step-by-step reduction.
Responsive 728x90 / 320x100 Ad Slot
(CLS Prevention Active · Zero Shift)Total number of available items
Number of items to choose or arrange
Native In-Feed / High Viewability Ad Slot
(CLS Prevention Active · Zero Shift)Comprehensive Guide to Permutations (nPr), Combinations (nCr), and Factorials (n!)
Combinatorics forms the bedrock of modern quantitative disciplines, spanning cryptography entropy calculations, algorithm complexity evaluations, poker odds estimation, and machine learning hyperparameter grid search.
The fundamental decision when counting possibilities lies in two dimensions: does order matter (Permutation vs Combination), and are items allowed to repeat (Without vs With Repetition). Choosing the wrong model yields errors varying by orders of magnitude.
OrvoKit Permutation and Combination Calculator delivers exact mathematical solutions for factorials (n!), permutations (nPr), combinations (nCr), repeated permutations (nΠr), multiset combinations (nHr), and circular arrangements using native BigInt precision.
Mathematical Foundations of Combinatorial Operations
Derivation of fundamental formulas based on factorial algebra and division by symmetry groups.
Combinations divide permutations by r! to neutralize the internal ordering of selected items. Repeated combinations (nHr) utilize the classic Stars and Bars bijection method into an ordinary combination.
👉 The exact probability of jackpot victory is 1 in 8,145,060.
Combinatorial Models Classification Matrix
Four quadrants based on order sensitivity and item replacement
| Symbol | Name | Order Matters? | Replacement? | Formula | Real-World Application |
|---|---|---|---|---|---|
| n! | Factorial | Yes (Full order) | No | n × (n-1) × ... × 1 | Sequencing 5 sprinters across a finish line |
| nPr | Permutation | Yes (Ranked slots) | No | n! / (n - r)! | Electing President, VP, and Treasurer from 10 peers |
| nCr | Combination | No (Set subset) | No | n! / (r!(n - r)!) | Drawing 6 winning balls in a national lottery |
| nΠr | Permutation w/ Repetition | Yes (Position specific) | Yes | n^r | 4-digit numeric PIN password permutations (10^4) |
| nHr | Combination w/ Repetition | No (Tally counts) | Yes | (n + r - 1)Cr | Selecting 5 scoops from 3 ice cream flavors |
| (n-1)! | Circular Permutation | Rotational Equivalence | No | (n - 1)! | Arranging 6 guests around a round dining table |
High-Engagement In-Article Native Ad Slot
(CLS Prevention Active · Zero Shift)How to Use
11. Select Calculation Mode
Choose between Combination (nCr), Permutation (nPr), Factorial (n!), Repeated Permutation, Repeated Combination, or Circular Permutation.
22. Input Total Items (n)
Enter the total pool size n as a non-negative integer.
33. Input Chosen Items (r)
Specify the number of items r to be selected or arranged (not required for n! and circular).
44. Review Steps & Copy
Inspect the exact step-by-step reduction formula and click [Copy Result] to save the formatted output.
Practical Industrial & Academic Use Cases
Everyday implementations in computer science, statistics, and game theory
Evaluating a password space of 94 ASCII characters over 8 positions yields 94^8 = 6.09×10^15 combinations to estimate brute-force cracking resistance.
Drawing 5 cards from a 52-card deck produces 52C5 = 2,598,960 total hands, used to set pay tables for video poker and card games.
Assigning 20 patients to a treatment group out of 100 participants leverages 100C20 to ensure unskewed randomized control trials.
💡 Expert Tips and Common Calculation Pitfalls
When computing 100C98, compute 100C2 instead: (100 × 99) / 2 = 4,950, avoiding 98 redundant multiplications.
Standard IEEE-754 double precision floats overflow above 21!. Always use arbitrary precision BigInt for exact factorials.
To solve nHr, imagine placing n-1 separators between r identical stars, producing (n+r-1)Cr slots.
⚠️ Common Pitfalls & Mistakes to Avoid
Frequently Asked Questions (FAQ)
Expert answers to the most frequently asked questions and edge cases.
Permutations account for the sequence or position of items (e.g. 1st, 2nd, 3rd place). Combinations treat groups as identical regardless of order (e.g. a team of 3 committee members).
Wide Responsive Banner
(CLS Prevention Active · Zero Shift)Related Tools
Normal Distribution Z-Score & Binomial Probability Calculator
Compute standardized Z-scores, percentile ranks, and binomial trial probabilities with real-time SVG bell curve area shading.
Margin of Error & 95% Confidence Interval Calculator
Calculate survey margin of error (±%) and confidence intervals across 90%, 95%, and 99% levels, with reverse sample size estimation.
Percentage Master Calculator
All-in-one percentage calculator: What is X% of Y, proportion ratios, percentage change, and retail discounts.
Ohm's Law & Electric Power Calculator
Calculate Voltage, Current, Resistance, and Power instantly by providing any 2 known values.