Tool | Financial analysis

Kelly criterion Calculator

Three Kelly models in one tool: a classic position-sizing calculator, Investment Kelly, and a portfolio optimiser, each with its own interactive chart and a default euro cash return of 2.25%.

Classic Kelly criterion

Calculates the optimal position size for repeated decisions with a known win probability and defined profit and loss.

🎯 Input
%
%
%
Starting capital
€

📊 Result
Optimal position size
—
Enter values and calculate
⚠️ Negative Kelly result: do not take this bet. The expected value is negative.
—
Win rate
—
Net payoff (b)
—
Loss rate

🎲 Kelly simulator
times
—
Wins
—
Losses
—
Win rate
Ending capital by position size (log scale)

📖 Documentation

1 | Using the calculator

The calculator determines position size for repeated processes with known probabilities. It maximises the long-term growth rate of capital.

The optimal position size is the share of total capital invested in each round. Values above 100% would theoretically require borrowing. The calculator caps the result at 100%.

2 | Definition & fundamentals

The Kelly criterion describes position size for repeated decisions. It maximises expected logarithmic wealth growth and requires estimated probabilities and payoffs.


3 | Risks & sensitivities

The model treats its variables as deterministic. In practice, probabilities and payoffs vary and can only be estimated.

The result is highly sensitive to small changes in the inputs. Overestimating the win probability can make the position too large and increase drawdown. That is why practitioners often use only part of the Kelly value, such as 50% (half Kelly).

4 | Economic usefulness

The model adjusts position size to the asset's volatility. At higher volatility, the calculated capital share is smaller.

Beispiel: Two scenarios have the same profit-to-loss ratio: Scenario A with +20 % Profit and −10 % Risk and Scenario B with +10 % Profit and −5 % Risk. For the more volatile Scenario A, the Kelly criterion halves the position size compared with Scenario B.

5 | Mathematical formulation

If the entire stake is not lost in a losing outcome (risk a < 100%), the Kelly criterion is:

f* = (p / a) − (q / b)

6 | Investment Kelly

For exposure up to 100%, the relevant benchmark rate is the cash return. The default euro cash return is 2.25% p.a. Above 100%, additional exposure is financed with borrowing rather than cash, so the calculator uses the separately entered borrowing rate.

g(f) = r + f(μ − r) − ½f²σ²   |   r = rCash for f ≤ 1, rBorrowing for f > 1

If borrowing is disabled, f ≤ 1 also applies. If it is enabled, the optimum may exceed 100%. A higher borrowing rate pushes the Kelly optimum down and can make exactly 100% exposure optimal.

Cash / financing is simply 1 − f: At f = 0.70, 30% of the portfolio remains in cash; at f = 1.00, 100% is invested and no cash remains; at f = 1.30, the cash position is −30%, meaning 30% additional borrowing.


7 | Portfolio Kelly

With multiple assets, the covariance matrix is used. The optimiser maximises the approximate logarithmic growth rate. As long as the cash weight is positive, the cash rate applies; when the cash weight is negative and borrowing is enabled, the borrowing rate applies to that portion.

g(w) = r + wᵀ(μ − r1) − ½wᵀΣw

Without borrowing, the optimisation is solved subject to Σw ≤ 1. With borrowing enabled, the calculator evaluates the cash region, borrowing region, and 100% boundary, then selects the solution with the highest modelled growth rate. With short positions disabled, the additional constraint for every asset is wᵢ ≥ 0. This long-only constraint is enforced directly in the optimisation; negative weights are not clipped afterwards. Fractional Kelly then scales the risky-asset weights.