Every so often, a lottery jackpot will get so high that I'll hear about it on the news or from a friend. After daydreaming what I would do with a 9-figure payday, I usually wonder about the odds of winning the jackpot. How many tickets would I need to buy to have a reasonable chance of winning?
While major lotteries publish some of the numbers, I wanted to build something more interactive to demonstrate the odds. With that, here is the PerThirtySix Lottery Simulator!
This tool is broken up into two sections: Setup and Simulation. The Setup section lets explore probabilities for an existing American lottery or for your own lottery with custom rules. The Simulation section lets you pick some numbers and play up to thousands of tickets per second, and visualizes the returns for you. Note that this tool makes some simplifying assumptions, like that there's only one jackpot winner and that taxes are ignored.
We're just getting started.
Subscribe for more thoughtful, data-driven explorations.