Skip to content
Free math tool

Combinations calculator

Count how many different groups of k items you can pick from n items when order does not matter, often written nCr or n choose k. It is used for lottery odds, team picks, card hands and probability homework.

  • Runs in your browser
  • Free, no account needed
  • Copy or download the result

Your input

Whole number, 0 to 10,000
Whole number, 0 to 1,000

Result

Combinations C(49, 6)13,983,816
Formula
49! / (6! × 43!)
If order mattered
10,068,347,520
Chance of one specific pick
1 in 13,983,816

The short answer

The number of ways to choose k items from n when order does not matter is n! divided by k! times (n - k)!. It is written C(n, k), nCr or n choose k, and it is also called a binomial coefficient.

FormulaC(n, k) = n! / (k! x (n - k)!)

Worked exampleChoosing 6 numbers from 49 gives C(49, 6) = 49! / (6! x 43!) = 13,983,816 combinations, so one specific pick is a 1 in 13,983,816 chance.

Example

Input
Total items (n)
49
Items chosen (k)
6
Result
Combinations C(49, 6)13,983,816
Formula
49! / (6! × 43!)
If order mattered
10,068,347,520
Chance of one specific pick
1 in 13,983,816

How to use the combinations calculator

  1. Enter Total items (n), a whole number from 0 to 10,000, such as 49.
  2. Enter Items chosen (k), from 0 to 1,000. It cannot be larger than n.
  3. The result updates as you type, or press Run. Use Copy result or Download to keep it.

How it works

Combinations = n! / (k! x (n - k)!), where n! means n x (n - 1) x ... x 1. Choosing 3 from 10 gives 120.

Items are chosen without replacement, so each one is used at most once, and the order of picks does not matter.

Results are exact whole numbers using big integer math. Answers over 30 digits lead with an approximate power of ten, followed by the exact value.

n must be from 0 to 10,000 and k from 0 to 1,000. Negative values, decimals and k larger than n are rejected.

Choosing 0 items gives 1, because there is exactly one empty group.

Everything runs in your browser. Your input is not uploaded or stored. If you use Copy link, what you entered is placed in the link.

Questions and answers

What is the formula for combinations?

C(n, k) = n! / (k! (n - k)!). For 10 choose 3, that is 3,628,800 / (6 x 5,040) = 120.

What is the difference between combinations and permutations?

Combinations ignore order, so picking A then B is the same group as B then A. Permutations count each order separately, so they are never smaller than combinations.

How many combinations are there in a 6 from 49 lottery?

49 choose 6 is 13,983,816, so one ticket has a 1 in 13,983,816 chance of matching all six numbers.

Does this allow repeated items?

No. It counts selections without replacement, where each item can be picked only once.

Last updated November 1, 2026. Maintained by SnowRock. How our tools work

All 220 SnowRock tools