How the Computerized IPO Lottery Algorithm Works: Step-by-Step Selection Math for Retail & sNII
Ever wondered how the registrar's computer randomly picks winning IPO applications? Here is the exact mathematical algorithm and lottery draw mechanics explained.
This analysis reviews the official Red Herring Prospectus (RHP), historical peer valuations, current exchange subscription trends, and grey market premium indicators. All figures are verified against official BSE, NSE, and SEBI regulatory filings.
# How the Computerized IPO Lottery Algorithm Works
When an Indian IPO is oversubscribed in the Retail or Non-Institutional Investor (NII) categories, the designated stock exchange and registrar (Link Intime, KFintech, Bigshare) execute an automated Computerized Draw of Lots (Basis of Allotment).
Many investors mistakenly believe that applying for maximum lots or applying early on Day 1 increases lottery odds. This guide explains the exact mathematical algorithm mandated by SEBI.
1. The Core Principle: "One Application = One Lottery Ticket"
Under SEBI guidelines established in 2012:
- In the Retail Individual Investor (RII) category, all valid applications are treated equally as single-lot lottery entries, regardless of whether the applicant bid for 1 lot (₹14,000) or 13 lots (₹1,95,000).
- If Retail is oversubscribed, the registrar does not divide shares proportionately; instead, it executes a computerized random draw to allocate exactly one minimum market lot to lucky winners until the entire retail quota is exhausted.
2. The Step-by-Step Registrar Lottery Algorithm
`` Step 1: Technical Rejections Eliminated (Duplicate PAN, UPI Failures, Below Cut-off) Step 2: Total Valid Applications Counted (N) Step 3: Total Available Minimum Lots Calculated (L) Step 4: Oversubscription Ratio Determined (R = N / L) Step 5: Pseudo-Random Number Generator (PRNG) Seeds Lottery Draw Step 6: Exactly L Winners Selected & Allotted 1 Lot Each ``
Mathematical Example:
- Retail Shares Reserved: 10,00,000 shares
- Lot Size: 50 shares
- Total Available Retail Lots ($L$): $rac{10,00,000}{50} = \mathbf{20,000 ext{ Lots}}$
- Total Valid Retail Applications Received ($N$): 1,60,000 applications
- Oversubscription Ratio ($R$): $rac{1,60,000}{20,000} = \mathbf{8x}$
- Individual Allotment Odds: $1 ext{ in } 8 = \mathbf{12.5\%}$ per PAN application.
3. How to Legally Multiply Your Lottery Odds
Since bidding multiple lots on one PAN does not improve odds, the only mathematically valid way to increase your winning probability is submitting 1 minimum lot across separate unique PAN accounts within your family:
- 1 Family Demat: $12.5\%$ probability
- 4 Family Demats: $1 - (1 - 0.125)^4 = \mathbf{41.4\%}$ probability of winning at least 1 lot!
Learn all 7 rules in our Family Demat Optimization Guide and check results on our IPO Allotment Status Checker.
Disclaimer: This analysis is for educational purposes only.
Authored by Harshit Pahuja
Harshit is the Lead Primary Market Analyst at IPOSathi, tracking Indian initial public offerings, SME platforms, grey market movements, and corporate actions. All research is conducted independently with zero promoter compensation.
Recommended IPO Research & Guides
How IPO Allotment Actually Works
From bid to Demat credit — the allotment process for oversubscribed mainboard and SME issues, step by step.
7 Proven Strategies to Maximize IPO Allotment Odds Across Family Demat Accounts
Applying for 10 lots from one account will not increase your allotment chances in oversubscribed IPOs. Here is the mathematical blueprint to legally maximize your family allotment odds across multiple Demat accounts.
sNII (₹2L–₹10L) vs bNII (₹10L+): Category Bidding Mathematics & HNI Funding Cost Math
SEBI split the HNI IPO category into sNII and bNII with separate quotas and allotment rules. Complete mathematical guide to allotment probabilities, application sizing, and NBFC borrowing cost calculations.
How to Value an IPO: P/E, EV/EBITDA, Price-to-Book & DCF Benchmarking Explained
Promoters price IPOs to maximize company valuation, not investor returns. Learn the exact valuation frameworks — P/E, EV/EBITDA, Price-to-Sales, and ROE — used by research desks to spot overpriced issues.