Curious Minds

Clear answers to science and history questions

How Many Combinations of 6 Numbers?

· 4 min read · Numbers and Records

The number of possible combinations of 6 numbers depends on the range you choose from and whether order matters. If you pick 6 distinct numbers from 1 to 49 without regard to order, there are exactly 13,983,816 possible combinations. If you allow any number from 0 to 9 and repetition (like a 6-digit PIN), there are 1,000,000 possibilities. The answer is not a single number—it is determined by the rules of your selection.

Combinations vs. Permutations: What's the Difference?

In everyday language, people often say "combinations" when they mean "arrangements." In mathematics, the distinction is precise. A combination is a selection where order does not matter: the set {1, 2, 3, 4, 5, 6} is the same as {6, 5, 4, 3, 2, 1}. A permutation is an arrangement where order does matter: those two sequences count as different permutations. This difference dramatically changes the count. For example, choosing 6 numbers from 49 gives 13,983,816 combinations but 10,068,347,520 permutations—about 720 times more, because 6! = 720. So when someone asks "how many combinations of 6 numbers," the first thing to clarify is whether they mean combinations or permutations.

The Formula for Combinations Without Repetition

When you choose k items from a set of n distinct items and order does not matter, the number of combinations is given by the binomial coefficient:

C(n, k) = n! / [k! (n − k)!]

Here n! (n factorial) is the product of all positive integers up to n. For 6 numbers from 1 to 49, n = 49 and k = 6:

C(49, 6) = 49! / (6! × 43!) = 13,983,816.

This formula assumes each number can be chosen at most once (no repetition) and that the order of selection is irrelevant. It is the basis for most lottery games, such as 6/49 formats.

What If Repetition Is Allowed?

If you can reuse numbers—like rolling a die six times or creating a 6-digit code—the counting changes. For a 6-digit PIN using digits 0–9, each position has 10 possibilities, so the total is 106 = 1,000,000. If you require all six digits to be distinct, the count is 10 × 9 × 8 × 7 × 6 × 5 = 151,200. For combinations with repetition (order doesn't matter but repeats are allowed), the formula is C(n + k − 1, k). For example, choosing 6 numbers from 1 to 49 with repetition allowed gives C(54, 6) = 25,827,165.

Common Scenarios and Their Counts

Different contexts yield different numbers. Here are some typical examples:

  • Lottery 6/49 (no repetition, order irrelevant): 13,983,816 combinations.
  • Lottery 6/49 (order matters): 10,068,347,520 permutations.
  • 6-digit PIN (digits 0–9, repetition allowed): 1,000,000.
  • 6-digit PIN with distinct digits: 151,200.
  • Choosing 6 from 1–40 (like some lotteries): C(40, 6) = 3,838,380.
  • Dice rolls (6 dice, each 1–6, order matters): 66 = 46,656.

These examples show how the range, repetition rule, and order sensitivity each affect the total.

How to Calculate Combinations Step by Step

If you need to compute C(n, k) without a calculator, follow these steps:

  1. Write the product of the largest k numbers from n down: n × (n−1) × … × (n−k+1).
  2. Write k! (k factorial): k × (k−1) × … × 1.
  3. Divide the first product by the second.

For C(49, 6): numerator = 49 × 48 × 47 × 46 × 45 × 44 = 10,068,347,520; denominator = 720; result = 13,983,816. This method avoids computing huge factorials directly.

Why the Number Matters: Probability and Odds

The count of combinations directly gives the probability of winning a 6/49 lottery: 1 in 13,983,816. That is roughly 0.00000715%. To put it in perspective, you are about 250 times more likely to be struck by lightning in a given year (estimated at about 1 in 1,000,000 in the U.S.) than to win such a jackpot with a single ticket. The large number also explains why buying more tickets increases your chance only marginally unless you buy a substantial fraction of all combinations.

Frequently Asked Questions

How many combinations of 6 numbers from 1 to 49 are there?

There are 13,983,816 combinations when order does not matter and numbers cannot repeat. This is the standard 6/49 lottery format.

Does the order of numbers matter in a combination?

No. In a combination, the order is irrelevant. For example, {1,2,3,4,5,6} is the same combination as {6,5,4,3,2,1}. If order matters, you are dealing with permutations, which yield a much larger count.

How many 6-digit PINs are possible?

If digits can repeat (0–9), there are 1,000,000 possible PINs. If all six digits must be different, there are 151,200.

What is the formula for combinations with repetition?

The formula is C(n + k − 1, k). For choosing 6 from 49 with repetition allowed, it gives 25,827,165.

Can you give an example of a permutation of 6 numbers?

Yes. From the set {1,2,3,4,5,6}, one permutation is 1-2-3-4-5-6 and another is 6-5-4-3-2-1. They are different permutations but the same combination.

How many combinations of 6 numbers from 1 to 40?

Using C(40,6), there are 3,838,380 combinations without repetition and order irrelevant.

In this article
  1. Combinations vs. Permutations: What's the Difference?
  2. The Formula for Combinations Without Repetition
  3. What If Repetition Is Allowed?
  4. Common Scenarios and Their Counts
  5. How to Calculate Combinations Step by Step
  6. Why the Number Matters: Probability and Odds
  7. Frequently Asked Questions