Combination Calculator

Enter n and r to instantly compute C(n,r) — the number of unordered combinations — with full factorial working shown.

C(n, r) = n! ÷ (r! × (n - r)!) counts the ways to choose r items from n when order does not matter.

Use the Combination Calculator

Combination Calculator — C(n, r)

Quick Examples

Result

Enter n and r to see the result

Copied!

Quick answer

C(n, r) = n! ÷ (r! × (n - r)!) counts the ways to choose r items from n when order does not matter. Choosing 3 of 10 items gives 120, a 5-card hand from a 52-card deck gives 2,598,960, and 6 numbers from 49 give 13,983,816. Enter n and r to see the exact result with the factorial working.

Examples

nrC(n, r)
5210
103120
20515,504
5221,326
5252,598,960
49613,983,816

Enter n and r.

Summary

A combination C(n,r) counts the number of ways to select r items from a set of n distinct items when order does not matter. It is calculated as n! / (r! × (n−r)!). This calculator computes the result instantly and displays the full factorial breakdown so you can verify every step.

How it works

  1. Enter n — the total number of items in the set.
  2. Enter r — the number of items you want to choose.
  3. The calculator applies the formula C(n,r) = n! / (r! × (n−r)!).
  4. The result and a step-by-step factorial breakdown appear immediately.
  5. Use the Copy button to copy the result to your clipboard.

Use cases

  • Calculate lottery odds (e.g. how many ways to pick 6 numbers from 49).
  • Count hand combinations in card games like poker.
  • Determine the number of possible teams from a group of players.
  • Solve combinatorics homework problems with shown working.
  • Compute binomial distribution coefficients for statistics.
  • Find the number of committee compositions from a candidate pool.
  • Evaluate sample sizes for experimental design.
  • Check answers for nCr calculations in probability courses.

Frequently Asked Questions

Last updated: 2026-05-29 · Reviewed by Nham Vu