Combinations (nCr) & Permutations (nPr) Calculator

Calculate exact combinations and permutations with factorial steps and an interactive Pascal’s triangle visualization.

Input Parameters

ℹ️ Format: Non-negative integers with 0 ≤ r ≤ n ≤ 170 · e.g. n = 10, r = 3
Dimensions

💡 Tip: You can also paste (12, 13, 14) directly into any box.

Combinations (nCr)
120 (10C3)
Permutations (nPr)
720
r!
6
Symmetry
10C7 = 120
✨ Auto-scaled live diagram

Formula & Step-by-Step Calculation

nCr = n! / (r!(n − r)!), nPr = n! / (n − r)!
  1. 1
    Compute permutations nPr
    10P3 = 10! / (10−3)! = 720
  2. 2
    Divide by r! for combinations nCr
    10C3 = 10P3 / 3! = 120
\binom{10}{3} = \frac{10!}{3!(10-3)!} = 120

Embed This Calculator (Free)

Copy this HTML snippet to embed this interactive calculator on your blog, course, or website.

Worked Example

Sample inputs and verified result: Total Items (n) = 10, Choose (r) = 3

Combinations (nCr): 120 (10C3)

Frequently Asked Questions

What is the difference between combinations and permutations?

Permutations (nPr) count ordered arrangements, while combinations (nCr) count unordered selections.