Permutation & Combination Calculator
Calculate nPr (ordered arrangements) and nCr (unordered selections) with step-by-step working shown.
100% client-side · no upload
P(n,r) — Permutations (order matters)
C(n,r) — Combinations (order doesn't matter)
How to use
- Enter n (the total number of items) and r (how many you are choosing).
- Click Calculate. P(n,r) counts ordered arrangements; C(n,r) counts unordered selections.
- Use permutations when the order matters (e.g. race podium positions). Use combinations when it doesn't (e.g. lottery numbers).
Related math tools
- Mean, Median & Mode Calculator — descriptive statistics
- Standard Deviation Calculator — measure data spread
- Prime Number Checker — test primality
常見問題
- Is this permutation and combination calculator free?
- Yes, completely free with no signup and no usage limits.
- Does my data leave my device?
- No. All calculations run entirely in JavaScript inside your browser.
- Does it work on mobile?
- Yes. Works on iPhone Safari and Android Chrome without installing any app.