arrow_backAll Calculators/Mathematics & Probability/Permutations & Combinations (nPr & nCr)
shuffle
doomath Calculator

Permutations & Combinations (nPr & nCr)

Compute combinations nCr, permutations nPr, factorials, permutations with repetition, and probability odds with step-by-step KaTeX reduction.

InputsChange a value to recalculate instantly
ResultUpdates as you type
nCr combinations120
nPr permutations720
Permutations with repetition1,000
FORMULA & STEPSPermutations & Combinations (nPr & nCr) — Mathematical Derivation & Steps
2 StepsSequential Calculation Breakdown
1
Validate n and r
0 ≤ r ≤ n, so both formulas apply.
2
Evaluate factorials
Use factorial products to evaluate the formulas.
λ DooMathWork with this calculation
Local · deterministic · optional
auto_awesome
Quick mathNatural-language-style shortcuts for deterministic arithmetic.
Calculator guide

How to use the Permutations & Combinations (nPr & nCr)

Compute combinations nCr, permutations nPr, factorials, permutations with repetition, and probability odds with step-by-step KaTeX reduction.

01Set inputsChoose values, units and assumptions.
02Apply the modelnCr = n! / [r!(n - r)!]; nPr = n! / (n - r)!; Repetitions: n^r; Multiset: (n+r-1)! / [r!(n-1)!]
03Read the resultCheck the output against the assumptions before using it.
menu_book

What this calculator does

Enter set size n and sample size r. The solver determines unordered selections (combinations) and ordered sequences (permutations).

functions

Formula & method

nCr = n! / [r!(n - r)!]; nPr = n! / (n - r)!; Repetitions: n^r; Multiset: (n+r-1)! / [r!(n-1)!]

fact_check

Assumptions & notes

  • Combinations disregard order; permutations require specific ordering.
  • nCr values form Pascal's Triangle rows.
  • By mathematical definition, 0! = 1.