Permutation and Combination Calculator
Count possibilities using combinatorics.
Combinatorics Lab
Enter total items (n) and items to select (r). Toggle repetition for problems where items can be chosen more than once. Both P and C are computed simultaneously.
When on: items can be chosen more than once. P = n^r; C uses stars-and-bars.
Formatting
Using the Combinatorics Lab
Enter set size (n) and sample size (r). Results for P and C update live. Toggle "Repetition allowed" for problems where items can repeat. The Logic Visualizer shows how choices multiply; the Logic Trace breaks down factorial steps. Use Formatting for large factorials (scientific notation, significant figures).
At a glance
Repetition toggle
Logic Visualizer
Logic Trace
Permutation and Combination Calculator: nPr, nCr Formulas & Examples
Free permutation and combination calculator with step-by-step Logic Trace. Compute P(n,r) and C(n,r) side-by-side. Slot visualizer, repetition allowed. For combinatorics, probability, GRE, SAT, and discrete math.
What This Calculator Does and Who It's For
- Who it's forStudents in combinatorics, probability, or discrete math; test prep (GRE, SAT, actuarial exams); anyone counting arrangements or selections. Use when you need to decide permutation vs combination or verify homework with step-by-step output. Commonly used for "how to calculate permutations and combinations" and "nCr nPr formula" queries.
- Trust and scopeCalculations run entirely in your browser; no data is sent to any server. BigInt ensures exact factorial arithmetic. Supports standard (no-repetition) and repetition-allowed cases with clear error handling when r > n.
Permutation vs Combination: When Order Matters
nPr and nCr Formulas: With and Without Repetition
How to Use This Calculator
The Logic Visualizer and Counting Principle
FAQ
What is the difference between permutation and combination?
When should I use permutations vs combinations?
How do you calculate nCr and nPr?
What happens when r is greater than n?
What is the Logic Visualizer (slot diagram)?
Mathematical Reference Note
Calculation Logic: This tool uses standard mathematical algorithms. While we strive for accuracy, errors in logic or user input can result in incorrect data.
Verification: Results should be cross-checked if used for important academic, professional, or personal calculations.
Standard Terms: This tool is provided free of charge and as-is. CalcRegistry provides no warranty regarding the accuracy or fitness of these results for your specific needs.