NordVPN
SponsoredStrict no-logs VPN with 6,400+ servers in 111 countries. Threat Protection blocks ads, trackers, and malware while you work online.
Get NordVPN →This combination calculator computes nCr = n! / (r!·(n−r)!), the number of ways to choose r items from a set of n when order does not matter. Enter n and r (with 0 ≤ r ≤ n) to get the result instantly for combinatorics and probability problems.
Enter n and r to see the number of combinations.
A combination counts how many distinct groups of r items you can choose from n items when the order of selection does not matter. Picking {A, B} is the same as picking {B, A}.
The count is written nCr or C(n, r) and is calculated with the formula nCr = n! / (r!·(n−r)!), valid whenever 0 ≤ r ≤ n.
Use a combination when order is irrelevant, such as selecting a committee or a lottery draw. Use a permutation when order matters, such as ranking finishers in a race.
Because permutations count ordered arrangements, nPr is always greater than or equal to nCr: nPr = nCr · r!.
nCr is the number of combinations: how many ways you can choose r items from n when order does not matter.
nCr = n! / (r!·(n−r)!), where n! is the factorial of n. It is valid when 0 ≤ r ≤ n.
A combination ignores order, while a permutation counts ordered arrangements. nPr = nCr · r!.
Both equal 1. There is exactly one way to choose nothing and exactly one way to choose everything.
No. The formula requires 0 ≤ r ≤ n; you cannot choose more items than are available.
Strict no-logs VPN with 6,400+ servers in 111 countries. Threat Protection blocks ads, trackers, and malware while you work online.
Get NordVPN →Managed cloud hosting for WordPress and web apps on DigitalOcean, Vultr, and AWS. Fast setup, no server headaches.
Try Cloudways →