Probability

Lottery Probability Calculator

Calculate winning probabilities for lottery games

Hits 1Hits 2CombinationsProbability (%)
6010.00000715
502580.00184499
4013,5450.09686197
30246,8201.76504039
201,851,15013.2378029
105,775,58841.30194505
006,096,45443.59649755

About this tool

The lottery is the clearest example of how human intuition fails at estimating very small probabilities. Lottery probabilities are calculated using combinatorics: in a lottery where kk numbers must be matched out of a total of nn, the number of possible combinations is (nk)=n!k!(n−k)!\binom{n}{k} = \frac{n!}{k!(n-k)!} and the probability of winning is 1/(nk)1/\binom{n}{k}. For the Spanish Primitiva, with k=6k=6 and n=49n=49, this gives (496)=13,983,816\binom{49}{6} = 13{,}983{,}816 combinations, a probability of approximately 7.15×10−87.15 \times 10^{-8}.

The expected value of a ticket is E=∑iPi⋅Vi−priceE = \sum_i P_i \cdot V_i - \text{price}, where PiP_i and ViV_i are the probability and value of each prize category. In practically all lotteries, the expected value is negative: for every euro wagered, the player recovers on average less than one euro. The difference funds the administration of the game and, in the case of public lotteries, the state.

This tool calculates exact probabilities for different types of lotteries and the expected value of a ticket, putting the numbers in perspective with comparisons that aid intuitive understanding of such small magnitudes.