Home › Games & Fun

Lottery app icon

Lottery Simulator

Download on the App StoreGet it on Google Play

Lottery Simulator is a probability experiment dressed up as a lottery. You get a ticket of 7 numbers between 1 and 37, the same format as Japan's Loto 7, and the simulator draws 7 main numbers and 2 bonus numbers for you as many times as you like, sorting each result into Loto 7's six prize tiers. No real tickets are sold and no money changes hands: every "purchase" is just a number on a counter.

The point is to make very large odds feel real. Most people know the jackpot is unlikely, but it is hard to picture what one in ten million actually means. Watching the counter run through hundreds of thousands of draws, while the simulated balance sinks and the years of weekly play pile up, gives a much clearer sense of it than any explanation.

It can be used by teachers and students exploring combinations and expected value, by anyone curious about how lotteries work, or simply as a sobering bit of fun before deciding how to spend a few coins.

The app runs entirely in your browser. What you enter is saved only on this device.

How to use Lottery

  1. Look at your ticket. Your Selected Numbers shows a random set of 7 different numbers from 1 to 37. Tap New Numbers if you want a different random ticket.
  2. Buy one ticket. Tap Buy One to run a single draw. The winning numbers and the 2 bonus numbers appear, matching numbers are highlighted, and the result is added to Recent Results.
  3. Let it run. Tap Auto Buy to keep drawing automatically, a few tickets per second, and tap Stop when you have seen enough.
  4. Chase the jackpot. Tap Hit First Prize to simulate draw after draw at high speed until all 7 numbers match. This can take a while; you can stop it at any time.
  5. Read the results. The Simulation Results panel shows attempts, total purchase amount, total prize amount, balance and how many years it would take at one ticket per week.
  6. Check the win history. The Win History table lists the six prize ranks with their conditions (7, 6+B, 6, 5, 4 and 3+B, where B is a bonus number), an example prize, how many times each was hit and its probability.
  7. Start over. Tap Reset All to clear the counters and run a new experiment.

Features

Understanding lottery odds and expected value

Counting the combinations

In a draw where 7 numbers are chosen from 37 and the order does not matter, the number of possible tickets is the binomial coefficient "37 choose 7": (37 × 36 × 35 × 34 × 33 × 32 × 31) ÷ (7 × 6 × 5 × 4 × 3 × 2 × 1) = 10,295,472. Only one of those matches all seven numbers, so the chance of the top prize with one ticket is 1 in 10,295,472.

Loto 7 also draws 2 bonus numbers from the same pool. They decide the 2nd prize (6 main numbers plus a bonus, about 1 in 735,391, compared with about 1 in 52,528 for 3rd prize, 6 main numbers without a bonus) and the 6th prize (3 main numbers plus a bonus, about 1 in 42). 4th prize is 5 main numbers (about 1 in 1,127) and 5th prize is 4 main numbers (about 1 in 72).

Smaller prizes are much more common because there are many ways to match only a few numbers. Across all six tiers, about 1 ticket in 26 wins something, which is why small wins feel frequent even though the jackpot almost never comes.

How big is one in ten million?

If you bought one ticket every week, you would expect to wait, on average, around 198,000 years for a jackpot. Even buying a ticket every minute of every day, the average wait would be close to 20 years. The simulator shows this directly: run Hit First Prize a few times and compare the attempt counts.

Random does not mean evenly spaced. One run might hit the jackpot after a few hundred thousand draws, another after twenty million. Both are normal, and that variation is part of what the experiment shows.

Expected value

Expected value is the average amount you get back per ticket over a very long run: add up each prize multiplied by its probability. Lotteries are designed so that this is less than the ticket price, because part of the money goes to running costs and, in many countries, to public causes. That means the longer you play, the more confidently you can predict a loss.

Watch the balance in the simulator: it may jump up after a lucky small win, but over thousands of draws it trends steadily downward.

Common myths

Every draw is independent, so numbers are never "due", and numbers that came up last week are not more or less likely. Choosing a pattern such as 1 to 7 has exactly the same odds as any other ticket. The only effect of picking popular numbers like birthdays is that, if you do win, you are more likely to share the prize.

This simulator follows Loto 7's draw rules and prize ranks, but the prize amounts are approximate example values. In the real game most prizes depend on ticket sales and the number of winners in each draw.

Playing responsibly

If you choose to buy real tickets, treat them as entertainment with a fixed budget you can afford to lose. If gambling stops feeling like fun, or you find yourself chasing losses, organizations that support people with gambling problems can help, and talking to someone early makes a difference.

Frequently asked questions

Does this app sell lottery tickets or use real money?

No. It is purely a simulation. All costs, prizes and balances are imaginary numbers used to illustrate the odds.

Why are the amounts shown in yen?

The simulator is modeled on Japan's Loto 7 and uses its ¥300 ticket price with a fixed table of approximate example prizes in yen. The amounts are for illustration and do not reflect any real draw.

Can I choose my own numbers?

The ticket is generated at random. Tap New Numbers until you get a set you like; mathematically, every set has the same chance.

How long does Hit First Prize take?

It depends on luck and on your device's speed. Millions of draws may be needed, so it can take some time. You can stop it whenever you like.

Is anything saved?

The simulation runs in your browser and stores nothing personal. There is no account, and clearing browser data simply removes any app preferences.

How is the web version different from the phone app?

The simulation is the same. The iPhone and Android apps run as installed apps; the web version runs in any modern browser without installing anything.

Limitations of the web version

Disclaimer

This is a simulator for entertainment and learning about probability. It does not sell lottery tickets or involve real money.

Phone app

Lottery is also available as an app for phones and tablets:

App Store (iPhone, iPad) Google Play (Android)

Guides