Position Sizing & Kelly Criterion Calculator
Determine exact share allocation using Fixed Fractional Risk, volatility-adaptive ATR(14) stops, and the Kelly Criterion to prevent ruin on Indian equities.
Trade & Account Parameters Institutional Sizing
Position Sizing & Risk Metrics Risk-Engine Output
The Mathematics of Position Sizing
In systematic trading, position sizing determines whether a positive-expectancy strategy compounds wealth exponentially or suffers catastrophic bankruptcy. While retail traders obsess over market timing and indicator entry signals, professional quantitative risk managers know that position sizing governs 90%+ of portfolio variance and drawdown risk.
A trading system with a 60% win rate and 2:1 payoff ratio can easily blow up an account if the trader allocates 15% risk per trade: a routine 7-trade losing streak destroys over 65% of portfolio equity, rendering recovery mathematically improbable.
Fixed Fractional Risk: The 1% to 2% Rule
Codified by Van Tharp (1998) and Ralph Vince (1992), Fixed Fractional Risk allocates capital such that the maximum loss if a stop-loss is executed equals a predetermined fraction of total portfolio equity (typically 1.0% to 2.0%).
Risk_Amount = Account_Equity · Risk_PercentRisk_Per_Share = |Entry_Price - Stop_Loss_Price|Quantity = ⌊ Risk_Amount / Risk_Per_Share ⌋Under this framework, position size naturally contracts during losing streaks (as total equity declines) and expands during winning streaks (as capital compounds). If a stock is highly volatile with a wide stop loss, the formula automatically reduces share quantity to keep total rupee risk constant.
Dynamic Volatility Stops via Average True Range (ATR)
Arbitrary percentage stops (such as a generic 5% or 10% stop) ignore underlying asset volatility. A 5% move on TCS is an extreme 3-sigma event, whereas a 5% move on a high-beta midcap like IDEA or SUZLON is routine daily noise.
J. Welles Wilder (1978) introduced the Average True Range (ATR) to measure market volatility by capturing gap openings and intra-day ranges. Setting stops at Entry - (k · ATR(14)) ensures the trade is protected outside ordinary noise. When volatility expands, ATR rises and position size automatically scales down.
The Kelly Criterion: Full vs Fractional Kelly
Developed by Bell Labs researcher John L. Kelly, Jr. (1956) and applied to financial markets by Edward O. Thorp (1962, 1969), the Kelly Criterion calculates the mathematically optimal fraction of bankroll to wager on a bet with positive expectation to maximize long-term geometric compounding rate.
f* = (p · b - (1 - p)) / b = p - (1 - p) / bp = win rate, b = payoff ratio (win/loss).Half Kelly = f* / 2 | Quarter Kelly = f* / 4Why Full Kelly is avoided in real markets: Full Kelly maximizes long-term compound growth only under the strict assumption of known, stationary probabilities with normal distributions. In real stock markets, returns have fat tails, black swans, and slippage. Full Kelly sizing routinely subjects portfolios to devastating 75% to 85% drawdowns. Fractional Kelly (Half Kelly or Quarter Kelly) achieves 75% to 85% of Full Kelly growth rate while cutting portfolio variance and drawdown risk by over 50%.
"Notice the asymmetric curvature of the Kelly graph: risking slightly less than optimal (f* / 2) causes only a tiny drop in compound growth, but risking more than optimal (f > f*) drops off a severe mathematical cliff. Betting 2 · f* yields an expected geometric growth rate of exactly zero. Betting beyond twice Kelly guarantees eventual mathematical bankruptcy with a probability of 1.0, even when every single trade has a massive statistical edge."