Permutation & Combination Calculator ā nPr/nCr with Repetition and Comparison
Compute permutations and combinations, compare order vs orderless counts, handle repetition, see ratios, formulas, previews, and educational insights client-side.
No uploads. Everything runs locally in your browser.
Example loaded. Adjust values and calculate.
- Order matters? Yes for permutation
- Repetition: Not allowed
- Permutation/Combination ratio: 6
- Probability (one outcome): Perm 1 / 60 | Comb 1 / 10
| r | Permutation | Combination |
|---|---|---|
| 1 | 5 | 5 |
| 2 | 20 | 10 |
| 3 | 60 | 10 |
| 4 | 120 | 5 |
| 5 | 120 | 1 |
ABC ABD ABE ACB ACD ACE ADB ADC ADE AEB AEC AED
ABC ABD ABE ACD ACE ADE BCD BCE BDE CDE
Permutation (without repetition): 5P3 = 5! / (5-3)! Combination (without repetition): 5C3 = 5! / (3! (2)!)
What is this tool
The Permutation & Combination Calculator counts ordered arrangements (nPr) and unordered selections (nCr), with options for repetition and a compare mode. It shows formulas, ratios, probabilities, and previews when you provide small label sets. Use it for team selection, seating/ranking outcomes, lottery/card examples, or password-style counts ā all computed instantly in your browser.
Educational extras include nearby r comparison, permutation/combination repetition formulas, symmetry insight (nCr = nC(nār)), and probability helpers so students and teams can pick the right model (order vs orderless, with vs without repetition).
Use cases
- Plan team or committee selections (orderless combinations).
- Estimate seating or podium arrangements where order matters (permutations).
- Model lottery/card draws and password-style counts with or without repetition.
- Teach combinatorics with formula breakdowns and small previews.
- Compare outcome growth as r changes using the nearby r table.
These scenarios appear in classroom combinatorics practice, event planning, product ranking, and probability problems. Clear formulas and previews keep mistakes low and explanations crisp.
Popular ways to use this tool
- Compare permutations vs combinations for the same n and r.
- Use repetition mode to approximate password or code counts.
- Share ratio and probability insights in homework or reports.
- Preview sample orders/groups with provided labels to illustrate outcomes.
- Show symmetry (nCr = nC(nār)) and nearby r changes to students.
Copyable summaries, explanations, and previews let you drop results into docs, chats, or slides without recomputing. The calculator keeps combinatorics fast, visual, and educational.
How to use
- Enter n (total items) and r (selected items); optionally add item labels.
- Choose mode (Permutation, Combination, Compare) and repetition option.
- Click Calculate to see results, formulas, ratios, and sample outcomes when small.
- Copy results or explanations; use Fill example or Clear to reset.
Features
- nPr/nCr with and without repetition, plus compare mode
- Formulas, factorial breakdown, ratio, and probability helper
- Mini result table for nearby r values and symmetry insight for combinations
- Optional labeled item previews (capped for small sets)
- Copy summary/explanation/previews, example fill, clear/reset with responsive layout
FAQ
Do you support repetition?
Yes. Permutation with repetition uses n^r; combination with repetition uses (n+r-1)Cr.
What if r > n?
Without repetition, r must be ⤠n. With repetition, r can exceed n since items can repeat.
Can I see both permutation and combination together?
Use Compare mode to see both counts side by side, including their ratio and probabilities.
Do you generate sample outcomes?
Yes, when labels are provided and the set is small (ā¤6 items, r ā¤3) to avoid performance issues.
Is this calculator free?
Yes. It runs locally in your browser with no login or uploads.