Big Number Calculator

Exact nCr Combinations for Large Whole Numbers

Calculate exact nCr combinations for large whole numbers. Count selections where order does not matter.

2 digits
Operation
Combinations: Counts the ways to choose items when order does not matter, such as card hands. Put the total first and how many you pick second.
1 digits

How many selections are possible when order does not matter?

A combination counts a group chosen from distinct available items without replacement. Put the available count n in the first field and the selected count r in the second. If the same selected members are rearranged, they still represent one combination. This is the appropriate model for an unordered committee or a hand of distinct cards, provided the assumptions fit the situation. It is not the model for ordered positions, repeated choices, or groups in which identical objects must be treated as indistinguishable.

Method

The familiar formula divides n factorial by r factorial times the factorial of n minus r. The engine obtains the equivalent integer result incrementally rather than requiring three enormous factorial outputs. It also uses the symmetry between choosing r members and choosing the n minus r members left out. By working with the smaller of those counts, it can avoid unnecessary steps. Each stage multiplies and divides integers in a way that retains an exact whole-number count rather than rounding a decimal approximation.

Reading the answer

The result is the number of possible groups under the distinct-item, no-replacement assumptions. It is not a probability until you define an event and a suitable sample space. For example, counting all hands does not by itself count hands with a particular property. Selecting no items gives the single empty selection, and selecting every available item gives the single full selection. The count is symmetric across complementary choices, so comparing nCr with nC(n minus r) is a useful arithmetic check using the same population.

Checks and boundaries

Both counts must be non-negative whole numbers, and r cannot exceed n. The calculator also limits the effective iteration count to protect the page during demanding jobs. A limit message does not supply an approximate combinatorial answer. If your scenario allows replacement, the same item can be chosen repeatedly and this formula no longer describes it. If position matters, move to permutations instead. The worked examples cover a five-card hand, a smaller group selection, and a larger population. Read the input assumptions before applying any count to a real decision.

Worked examples

C(52, 5)

= 2598960

Treat all cards as distinct and select without replacement. Rearranging an already selected hand does not create a new combination.

Calculation steps and checks
  1. Count the ordered selections first

    P(52, 5) = 311875200

  2. Count orders within each selected group

    5! = 120

  3. Remove repeated orders of the same group

    311875200 ÷ 120 = 2598960

C(10, 3)

= 120

Count groups of three, not assignments to three different roles. Divide out the repeated arrangements of each selected group.

Calculation steps and checks
  1. Count the ordered selections first

    P(10, 3) = 720

  2. Count orders within each selected group

    3! = 6

  3. Remove repeated orders of the same group

    720 ÷ 6 = 120

C(100, 20)

= 535983370403809682970

Apply the incremental integer method to a larger selection. The result counts distinct unordered subsets with exactly twenty members.

Calculation steps and checks
  1. Count the ordered selections first

    P(100, 20) = 1303995018204712451095685346159820800000

  2. Count orders within each selected group

    20! = 2432902008176640000

  3. Remove repeated orders of the same group

    1303995018204712451095685346159820800000 ÷ 2432902008176640000 = 535983370403809682970

Related calculators

See the accuracy checks and calculation methodology for independently specified test cases and known limits. To report a result that differs from your calculation, send the operation, both inputs, and the expected answer.