Combinations and Permutations Calculator
Count selections and ordered arrangements without repetition using exact integer arithmetic.
Loading tool…
How to use Combinations and Permutations Calculator
Combinations C(n,k) count unordered selections; permutations P(n,k) count ordered selections. Both assume distinct items and no repetition.
- Enter total items n, selected items k.
- Check that the input follows the stated limits and uses consistent units.
- Run the calculator, review the result, then copy or download it.
Good to know
- Whole numbers only: 0 ≤ k ≤ n ≤ 1,000. Output integers are exact and may contain thousands of digits.
- Decimal inputs have at most 120 characters and magnitude from 1e-100 to 1e15, or zero. Floating-point results are rounded to 12 significant digits; extreme derived results may underflow or be rejected. Exact integer results are identified separately.
Common questions
What calculation does Combinations and Permutations Calculator perform?
Combinations C(n,k) count unordered selections; permutations P(n,k) count ordered selections. Both assume distinct items and no repetition.
Does order matter?
Order matters for permutations. Selecting A then B differs from selecting B then A; combinations count that selection once.
Keep going with related tools
All math →Descriptive Statistics Calculator
Summarize a numeric list with mean, median, modes, range, count, and sum.
MathFraction Calculator
Add, subtract, multiply, or divide two fractions and reduce the exact result.
MathExact Binary Runs Test
Count an exact fixed-class-size runs distribution and explicit inclusive tails for a supplied binary sequence.
MathExact Weighted Voting Power Review
Enumerate winning coalitions and distinguish vote weights from exact Banzhaf and Shapley–Shubik pivotal power.
MathExhaustive Mean Permutation Comparison
Enumerate every small fixed-group label assignment and count exact inclusive mean-difference tails.
EducationCombination and Ordered Selection Ranking
Rank or recover a combination or ordered selection by exact zero-based lexicographic index without enumerating all objects.