Code tool

Lottery Odds Calculator

Enter the total number of distinct values and how many are drawn. This uses one pool with no bonus ball.

In-browser processingNo account requiredPrivacy details ↗

Enter valid whole numbers with 1 ≤ K ≤ N.

A QUICK WALKTHROUGH

How to use this tool

  1. Enter the pool size and draw size.
  2. Calculate the jackpot probability.
  3. Review the assumptions and source.

Formula

For a one-pool draw without replacement, the jackpot probability is 1 / C(N,K), where N is the pool size and K is the draw size.

Scope

This generic model has no bonus balls, tiers, or lottery-specific rules. It calculates odds only; it does not predict numbers.

Local processing

Inputs and calculations stay in this browser.

GOOD TO KNOW

Common questions

Does this predict winning numbers?

No. It calculates the probability under the stated simple draw model.

Does it include bonus balls?

No. It models one pool of distinct numbers only.