Tool | Financial analysis

Kelly criterion calculator

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

Classic Kelly criterion

Determines the optimal capital allocation for repeated decisions with a known win probability, gain and loss.

🎯 Input
%
%
%
Starting capital
€

📊 Result
Optimal investment fraction
—
Enter values and calculate
⚠️ Negative Kelly result: You should not take this bet. The expected value is negative.
—
Win rate
—
Net odds (b)
—
Loss rate

🎲 Kelly simulator
runs
—
Wins
—
Losses
—
Win rate
Ending capital by investment fraction (log scale)

📖 Documentation

1 | Using the calculator

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

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

2 | Definition & basics

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


3 | Risks & sensitivities

The model assumes deterministic inputs. In practice, probabilities and payoffs vary and can only be estimated.

The result is highly sensitive to small changes in the inputs. If you overestimate the win probability, the position size can be too large and drawdown can increase. In practice, only part of the Kelly value is therefore often used, such as 50% (Half Kelly).

4 | Economic usefulness

The model adjusts the position size to the asset’s volatility. Higher volatility produces a smaller calculated capital allocation.

Example: Two scenarios have the same gain-to-loss ratio: scenario A with a +20% gain and −10% risk, and scenario B with a +10% gain and −5% risk. For the more volatile scenario A, the Kelly criterion halves the investment amount compared with scenario B.

5 | Mathematical formulation

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

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

6 | Investment Kelly

For exposure up to 100%, the relevant alternative 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

When leverage is disabled, f ≤ 1 also applies. When it is enabled, the optimum can exceed 100%. A higher borrowing rate lowers the Kelly optimum and can make exactly 100% exposure optimal.

Cash / financing is simply 1 − f: at f = 0.70, 30% of wealth is held in cash; at f = 1.00, 100% is invested and cash is 0%; at f = 1.30, the value 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; with a negative cash weight and leverage enabled, the borrowing rate applies to that portion.

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

Without leverage, the optimisation is solved under the constraint Σw ≤ 1. With leverage, the calculator checks the cash region, the borrowing region and the 100% boundary, then selects the solution with the highest modelled growth rate. When shorts are disabled, wᵢ ≥ 0 also applies to every asset. This long-only condition is solved directly during optimisation; negative weights are not clipped afterwards. Fractional Kelly then scales the risky-asset weights.