Combinations calculator

Enter the total number of elements and the selection size to get the exact number of possible groups.

Total elements n
Selected elements k

Number of combinations C(10, 3)

120

Digits in the result: 3

How the combinations calculator works

Three selected tokens separated from a larger set

Enter the total number of distinct elements n and the number k you want to select. The calculator returns how many different groups are possible when order does not matter.

Choose this formula when order changes nothing

A group containing Ana, Ben and Chen is the same group however their names are listed. That is the key difference between a combination and an ordered arrangement.

C(n,k)=(nk)=n!k!(nk)!\displaystyle C(n,k)=\binom{n}{k}=\frac{n!}{k!(n-k)!}

The accepted inputs are whole numbers with 0 ≤ k ≤ n. Each element can be selected at most once.

Checks from cards, teams and menus

Exact integers and useful boundary cases

The calculator uses exact integer arithmetic, so a long answer is not rounded or written in scientific notation. Spaces only group the visible digits; copying returns the uninterrupted number.

C(n, 0) and C(n, n) both equal 1. Symmetry also gives C(n, k) = C(n, n - k), because choosing what stays is equivalent to choosing what is left out.

Questions about combinations

When should I use combinations instead of permutations?

Use combinations when changing the order of the selected elements does not create a new outcome.

Can k be greater than n?

No. Without repetition, you cannot select more distinct elements than the original set contains.

Why is C(n, 0) equal to 1?

There is exactly one way to choose an empty group: choose nothing.

Does the calculator allow repeated elements?

No. It calculates combinations without repetition, so each original element can appear at most once.

Are large answers rounded?

No. Every digit is calculated with exact integer arithmetic up to the accepted input limit.

Similar calculators

You may find the following calculators on the same topic useful:

Share on social media

If you liked it, please share the calculator on your social media platforms. It`s easy for you and beneficial for the project`s promotion. Thank you!