Kelly Criterion Position Sizing Calculator

Enter how often your trades win and how big wins are compared with losses; see the bet size that maximises long-run growth and what each fraction does to drawdowns.

ทำงานในเบราว์เซอร์ของคุณ ไฟล์ไม่ออกจากอุปกรณ์ ดูวิธีตรวจสอบ

…

วิธีทำ

  1. 1
    Enter your edge

    Type the win rate and the average win and average loss in money or in R.

  2. 2
    Set the account

    Enter the bankroll and the distance from entry to your stop.

  3. 3
    Add a cap

    Optionally limit any fraction to a maximum share of the account.

  4. 4
    Read the fractions

    Compare full, half, quarter and double Kelly in money at risk and position size.

  5. 5
    Study the risk

    Look at the growth curve, the median equity paths and the drawdown chances.

  6. 6
    Test your estimate

    Add scenarios with a lower or higher win rate and export the tables.

เกี่ยวกับเครื่องมือนี้

The Kelly criterion answers a simple question: if you have an edge, what share of your capital should you risk on each bet so that your wealth grows as fast as possible over many bets? John Kelly derived it at Bell Labs in 1956, and Edward Thorp applied it to blackjack and then to markets. For a bet that wins with probability p and pays b times the stake, while a loss costs the stake, the answer is f* = p - (1 - p) / b. Risk less and you grow more slowly than you could; risk more and growth falls, until at twice the Kelly fraction it is zero and beyond that the account shrinks even though every bet has a positive expectation. In trading, b is your average win divided by your average loss and the stake is the amount you lose if the stop is hit, so the Kelly fraction is a share of the account to risk per trade, not the size of the position. Because full Kelly produces very deep drawdowns and because nobody knows their true win rate exactly, most practitioners use half or a quarter of it. This calculator shows full, half, quarter and double Kelly side by side, turns each into money at risk and a position size from your stop distance, plots the growth curve and runs a repeatable simulation of hundreds of trade sequences to show the drawdowns you should expect.

Growth per trade

The expected logarithmic growth per bet when you risk a fraction f is g(f) = p ln(1 + f b) + (1 - p) ln(1 - f). The curve in the first chart rises to a peak at f* and falls back to zero near 2f*. Half Kelly gives about three quarters of the maximum growth, and a quarter gives a little under half, with far smaller swings.

From fraction to position size

Money at risk is the fraction times the bankroll. To turn that into a position, divide by the distance from entry to stop: risking $1,000 with a stop 5% below the entry means a $20,000 position. Positions that are open at the same time share the same capital, so their risks add up.

Worked example

A trend system wins 45% of the time and its average win is twice its average loss, so b = 2 and f* = 0.45 - 0.55 / 2 = 0.175, or 17.5% of the account per trade. Half Kelly is 8.75%: on a $20,000 account that is $1,750 at risk, and with a 5% stop a $35,000 position. Expected growth per trade is 2.924% at full Kelly and 2.221% at half Kelly. The continuous formula gives the chance of ever falling 50% below a peak as 50% for full Kelly, 12.5% for half and 0.8% for a quarter. In the seeded simulation of 500 runs of 200 trades, a 50% drawdown happened in 100% of the full Kelly runs, 85.4% of the half Kelly runs and 10.0% of the quarter Kelly runs, because each loss at these sizes takes a big bite.

Limits

Kelly assumes the win rate and payoff are known and stay the same, and that trades are independent. Real estimates are noisy, losses can be bigger than the stop because of gaps, and a losing streak can follow a change in the market. The output is a mathematical sizing guide, not financial advice or a recommendation to trade with leverage.

ตัวอย่างพร้อมวิธีทำ

45% win rate, wins twice the size of losses: full Kelly 17.5%, half Kelly 8.75%, which is $1,750 at risk on $20,000.

สรุปสั้น ๆ

คำถามที่พบบ่อย

What is the Kelly formula?

f* = p - (1 - p) / b, where p is the win probability and b is the average win divided by the average loss. The result is the share of capital to risk on each bet.

Why do traders use half Kelly?

It keeps about 75% of the growth rate while cutting the depth and frequency of drawdowns a lot, and it gives a margin of safety when the win rate has been overestimated.

What does a negative Kelly fraction mean?

The bet has no edge: the expected result per unit risked is below zero. Kelly says do not take it at any size.

Is the Kelly fraction the size of my position?

No, it is the amount you risk losing. The position size is that amount divided by the distance to your stop as a percentage.

Why does betting twice Kelly give zero growth?

Because losses compound faster than gains. Near 2f* the gains from winning bets are exactly cancelled by the damage from losing ones over the long run.

Why is the simulation repeatable?

It uses a fixed random seed, so the same inputs give the same paths. Change the seed to see a different set of sequences.

ฟรีทั้งหมดไม่มีค่าใช้จ่าย ไม่ต้องสมัคร
ไฟล์เป็นส่วนตัวทุกอย่างทำงานในเบราว์เซอร์ของคุณ
ใช้ง่ายในภาษาของคุณมีหลายภาษา