Probability Theory and the Lottery: The Math Worth Knowing

The lottery is one of the few areas of life where probability theory works in its purest form. No hidden factors, no skill - only randomness and combinatorics. That is exactly why the lottery is a great way to understand how probability works. And, along the way, to stop believing the myths.

The formula everything is built on

All the math of the lottery comes down to a single formula - the number of combinations:

C(n, k) = n! / (k! × (n − k)!)

Here n is how many balls are in the drum, and k is how many you need to match. The result is the count of all possible combinations. The probability of the jackpot is one divided by this number.

A factorial (n!) is the product of all numbers from 1 to n. It sounds intimidating, but in practice most of the factorial cancels out. For MillionDAY (5 from 55):

C(55, 5) = (55 × 54 × 53 × 52 × 51) / (5 × 4 × 3 × 2 × 1) = 3 478 761

The numerator is the product of the five "top" numbers, and the denominator is the factorial of five (120). No advanced degree required - a calculator handles it. Or our odds calculator.

Independence of events: the core principle

Probability theory has the concept of independent events: the outcome of one does not affect the outcome of another. Every lottery draw is an independent event. A ball does not remember whether it came up yesterday. The drum is not "due" to compensate for past results.

This leads to an inconvenient conclusion: analyzing past draws does not help predict future ones. A number that came up 20 times out of 100 has, in the next draw, exactly the same probability as a number that came up 5 times. More on this in our article on number frequency statistics.

The gambler's fallacy

"Red has come up five times in a row - so now it has to be black." This is the gambler's fallacy - one of the most persistent cognitive errors.

In the lottery it shows up like this: "number 13 hasn't come up in ages, so it's about to." That's false. A roulette wheel, a coin, and a lottery drum have no memory. The probability of each outcome is constant and does not depend on history.

The reverse fallacy exists too: "number 7 comes up often - so it's 'hot' and will keep coming up." This is called the Texas sharpshooter fallacy - a person first sees the result and then draws the target around it.

The law of large numbers

If every draw is independent and a ball does not remember the past, why does the frequency of each number tend toward being equal over thousands of draws? This is the law of large numbers: with a sufficient number of trials, statistical frequencies converge to theoretical probabilities.

Important: the law works in the long run. It does not mean that after 10 "heads" in a row the coin "has to" land tails. It means that after a million tosses the ratio will be close to 50/50.

For the lottery this means: over 10,000 draws of MillionDAY, each number will come up roughly the same number of times. But at any specific moment, deviations are inevitable and normal.

Conditional probability and multiple drums

In lotteries with several drums (like US Powerball, which has a main drum of 69 balls plus a separate Powerball drum of 26), the multiplication rule for probabilities applies to independent events.

If the probability of matching the five main numbers is 1/11 238 513, and the probability of matching the single Powerball is 1/26, then the probability of matching both:

P = 1/11 238 513 × 1/26 = 1/292 201 338

This is exactly why Powerball is a deceptively hard lottery. The format looks manageable (just five numbers and one bonus ball!), but the second drum multiplies the probabilities, and the result is far steeper than a single-drum game like MillionDAY.

Expected value: what a ticket is really "worth"

Expected value is the average payout per ticket over an infinite number of plays. For the lottery it is almost always negative: on average you get back less than you spend.

If a ticket costs $2 and the expected value of the payout is $0.90, that means: playing infinitely long, you will lose $1.10 on every ticket. The difference goes to the prize fund, taxes, and the operator's running costs.

The exception is rollover jackpots. When the jackpot is not won for several draws in a row, it grows, and at some point the expected value can become positive. This is rare, but theoretically possible.

The birthday paradox

One of the most famous paradoxes in probability theory helps explain lottery intuition. In a group of 23 people, the probability that two share a birthday is more than 50%. It seems impossible, but it's true.

The lottery is similar. The probability that you win the jackpot is tiny. But the probability that someone among millions of players wins it is quite tangible. That is exactly why jackpots are hit regularly, even though any individual player's chance is negligible.

What follows from all this

  1. The combinations formula C(n, k) is the only math you need for the lottery. Everything else is a consequence of it.
  2. Every draw is independent. Past results do not affect future ones. Full stop.
  3. The law of large numbers works over the span of thousands of draws, but does not help predict the next one.
  4. Expected value is negative. The lottery is not an investment.
  5. Choosing the lottery is the only decision that really affects your odds. Run the numbers before you choose.