← Math & statistics

Lottery odds & expected value (EV) calculator

Calculate lottery odds by prize tier, plus multi-ticket chances, expected value (EV), and simulation.

Everything runs locally in your browser (no sign-in). Prizes are treated as fixed values you enter (real lotteries may vary).

Preset examples: Loto 6 / Loto 7 / Mini Loto / Powerball (custom rules supported)

Other languages ja | en | zh-CN | es | ar

Inputs

  1. Choose a preset (or switch to Custom).
  2. Review or edit prize tiers.
  3. (Optional) Enter prizes to estimate EV.

Rule (format A)

Total outcomes:

Results

Chance to win (any tier)
Multi-ticket target
Chance of ≥1 win with m tickets
Tickets needed for 50/90/99%
50%: / 90%: / 99%:

Prize tiers

If tiers overlap, the first matching row wins.
Name Condition Probability Odds Prize (optional) Include in EV

Expected value (EV)

Prizes are treated as fixed values you enter. If a prize is blank, that tier is excluded from EV.

Expected payout per ticket
EV (expected profit)
Return rate
EV breakdown (p × prize)
TierpPrizep×prize

Simulation (optional)

TierTheory pSim p|error|Count
Main-match histogram (sim)
Match countCountp

Share

If the URL becomes too long (many custom tiers), download CSV instead.

How to interpret the results (with an example)

Example: 6 from 49 (jackpot)

A single-ticket jackpot probability is 1/C(49,6) = 1/13,983,816 ≈ 0.00000715%. With 10 independent random tickets, 1 − (1 − 1/13,983,816)^10 ≈ 0.0000715%.

Common pitfalls

References

FAQ

How do I compute the jackpot probability?

For a lotto-style game (pick K from M), jackpot odds are typically 1 / C(M, K).

How does a bonus number affect the odds?

Bonus tiers depend on both the main-match count t and bonus-match count s. This tool computes P(t,s) exactly from combinations.

What does “1 in X” mean?

It is the inverse probability 1/p, shown as an intuitive approximation (“about one win per X tickets”).

How do I compute “at least one win” when buying m tickets?

Use 1 − (1 − p)^m, where p is the probability of the target event (any win or a specific tier).

What is expected value (EV) / return rate?

EV per ticket is Σ(p_i·prize_i) − price. Return rate is Σ(p_i·prize_i) / price when price > 0.

Can I use this when prizes vary each draw?

Yes, but enter a fixed prize amount for estimation. Real payouts can vary due to jackpot changes and winner splits.

What does the simulation seed do?

A seed makes the simulation reproducible.

Related

How it’s calculated

  • Format A: exact counts from combinations (hypergeometric-style counting).
  • At least one: 1 − (1 − p)^m (independent random tickets).
  • Target tickets: m ≥ log(1−target)/log(1−p).
  • Simulation uses a deterministic PRNG with optional seed.