How large a position to take is usually decided by feel, which is another way of saying it is not decided at all. The Kelly criterion is the classical answer to sizing as a mathematical question: given an edge and a variance, one specific fraction maximizes long-run compound growth — more is reckless, less leaves growth on the table.
The formula is one line, and its shape is the real lesson: the growth curve is steep on the under-sized side and falls off a cliff on the over-sized side, which is why practitioners use fractions of Kelly rather than the full value. Below, the criterion computed on stated example inputs, curve included — as an educational exercise.
The growth-optimal fraction, computed
Given a statistical edge, what fraction of a portfolio should carry it? Allocate too little and compound growth is left on the table; too much and volatility drag eats it. The Kelly criterion — a 1956 result from probability theory — computes the fraction that maximizes long-run compound growth: f* = (μ − r) / σ². The Kelly Allocation tab of the calculator on Slowio computes and draws it. One worked illustration on stated hypothetical inputs — a risky asset with a 5% expected annual return and 20% volatility, next to cash at a 2% risk-free rate — gives f* = (5% − 2%) / (20%)² = 75%:

The curve’s shape is the whole lesson: flat near the peak, punishing past it. At a 100% allocation, expected growth is 3.00% — barely below the 3.12% peak — but at twice the Kelly fraction it falls back to 2.00%, exactly what cash alone pays at 2.00%. Overshooting earns all of the extra volatility and none of the extra growth. That asymmetry is why the tab defaults to Half Kelly (37.5% here): it keeps 75% of the excess growth over cash (2.84% vs 3.12%) at half the exposure — a cushion against the estimates themselves being wrong.
The same criterion has a coin-flip form for repeated binary outcomes, f* = (p·b − q) / b, used by the Position Sizing tab next door: with a hypothetical 55% win probability and a 1.5× win/loss ratio, f* = 25% of the stake pool per round. And when the edge is negative, f* turns negative with it — which the tab reads the only sensible way: no edge, no allocation.
Same formula, three profiles
The denominator deserves a second look. Run three hypothetical profiles through the same continuous formula, f* = (μ − r) / σ² — the example above plus a quieter and a wilder one — and the 9% return / 45% vol profile, despite the largest excess return of the three, is handed the smallest fraction: 35%, against 104% for the quiet 3.5% return / 12% vol one. σ² in the denominator outweighs μ in the numerator — volatility is quadratically expensive. And ordered by Sharpe ratio, as the tab’s comparison sorts them, the wild profile even ranks first: reward per unit of risk and growth-optimal size answer different questions.

On the page: Kelly Allocation tab, Risk-Free Rate 2%, Kelly Fraction Full / Half / Quarter. The tab derives Expected Return and Volatility from the selected Market Index’s price history (shown in its Risk Metrics panel), so its live reading will differ from this fixed illustration — the formula is the same. The binary form is typed directly into the Position Sizing tab (Manual mode): Win Probability 55% · Win/Loss Ratio 1.5.