Permutation & Combination
Calculate permutations P(n,r) and combinations C(n,r) for any n and r up to 170. Free online calculator for combinatorics, statistics, and exam prep.
100% client-side · no upload
P(n,r) — Permutations (order matters)
C(n,r) — Combinations (order doesn't matter)
How to use
- Enter n (total number of items) and r (how many you are choosing).
- P(n,r) counts ordered arrangements; C(n,r) counts unordered selections.
- Use permutations when order matters (e.g. race podium). Use combinations when it doesn't (e.g. lottery numbers).
Related tools
- Mean, Median & Mode Calculator — descriptive statistics
- Standard Deviation Calculator — measure data spread
- Prime Number Checker — test primality
- GCD & LCM Calculator
More ways to use this tool
Frequently Asked Questions
- 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.
- What is the maximum value of n?
- Up to 170. Beyond that, the factorial computation overflows standard 64-bit floats. BigInt arithmetic is used internally, so exact integer results are returned up to n = 170.
Last updated: By jarvisbox