# Kelly criterion calculator: the formula's arithmetic

URL: https://fincodelabs.com/en/tools/kelly-criterion-calculator · Publisher: Fincode (Fincode Yazılım ve Teknoloji A.Ş.), Istanbul, Turkey · Updated: 2026-10-15

Enter an estimated win rate and win/loss ratio to see the fraction the Kelly formula gives, with the arithmetic written out. The inputs are estimates, and the result is not a recommended bet size. Free, no sign-up required.

## Calculator

The calculation runs in the browser in the form on this page: https://fincodelabs.com/en/tools/kelly-criterion-calculator

**Inputs**
- Win rate (%): An estimate: the share of bets or trades that win (default: 45)
- Win/loss ratio: An estimate: the average win ÷ the average loss, such as 1.5 (default: 1.5)

**Results:** Kelly fraction (formula result), Arithmetic: p − q ÷ b, Edge per 1 staked: p × b − q, Break-even win rate: 1 ÷ (1 + b), What the sign means

> All default values are hypothetical. The Kelly fraction assumes independent bets with known odds, while a win rate and a win/loss ratio are estimates, so the result is arithmetic on those estimates and not a recommended bet size.

## Kelly criterion formula

For a bet that wins b times the stake with probability p and otherwise loses the stake, the Kelly fraction is the share of capital that the formula stakes on each bet:

**f\* = p − q ÷ b**, where q = 1 − p

The same result is the edge divided by the odds, **f\* = (p × b − q) ÷ b**, where p × b − q is the expected result per unit staked. A zero or negative f\* means the inputs show no edge, and the formula then stakes nothing. The calculator also shows the break-even win rate, **1 ÷ (1 + b)**, at which the edge is zero.

J. L. Kelly Jr. derived the rule in 1956 for a gambler betting a fraction of capital on repeated bets, as the fraction that maximizes the long-run growth rate of that capital. For an even-money bet, where b is 1, it reduces to p − q.

## Worked example

> **Hypothetical example:** an estimated win rate of 45% and a win/loss ratio of 1.5, the calculator's default values.
>
> f\* = 0.45 − 0.55 ÷ 1.5 = 0.45 − 0.3667 = **0.0833, or 8.33%**. The edge is 0.45 × 1.5 − 0.55 = 0.125 per unit staked, and the break-even win rate is 1 ÷ 2.5 = 40%.
>
> This is what the formula returns for these two numbers. It is not a share of capital to put on a trade.

**The same ratio of 1.5 at nearby win rates. The arithmetic shows how far the result moves with the estimate; no row is a recommendation.**

| Win rate (estimate) | Kelly fraction |
| ---: | ---: |
| 35% | −8.33% |
| 40% | 0% |
| 45% | 8.33% |
| 50% | 16.67% |
| 55% | 25% |

A five-point change in the estimated win rate moves the fraction by more than eight points, and at 35% the sign turns negative.

## What the Kelly formula assumes

The formula is exact only under conditions that trading records rarely meet.

- **Known odds:** p and b are taken as true values. From past trades they are estimates with sampling error, and the market they came from changes.
- **Independent, repeated bets:** each bet is the same game with the same odds, and one outcome does not affect the next.
- **Two outcomes:** the stake wins b or is lost. Trades have many possible results, slippage and fees.
- **The goal:** it maximizes the long-run growth rate of capital, which is not the same as limiting losses along the way.

Kelly's own setting was a gambler with private advance knowledge of results, betting before they became known at the original odds; the paper is about information rates, not markets.

## Why the result is not a bet size

A paper on the formula's good and bad properties by MacLean, Thorp and Ziemba lists its main drawback first: the wagers it suggests may be very large, which makes it very risky in the short term.

The same paper says the theory is straightforward when the probabilities are fairly accurately known, that in investment applications this is usually not the case, and that results are very sensitive to errors in the estimated means. It also notes that a bettor staking a fixed fraction who wins and loses the same number of even-money bets ends up behind. This page suggests no fraction of the Kelly result and no stake of any size, and Fincode does not size or manage positions.

## Which values to enter

- **Win rate:** your estimate of the share of trades that win, as a percentage from 0 to 100.
- **Win/loss ratio:** the average win divided by the average loss, such as 1.5 when wins average 150 and losses 100.

Both can come from your own records through the [win rate and expectancy calculator](https://fincodelabs.com/en/tools/win-rate-expectancy-calculator). If fees are part of each trade, use the averages after fees.

## Frequently asked questions

### What is the Kelly criterion formula?

f\* = p − q ÷ b, where p is the probability of a win, q = 1 − p and b is the win/loss ratio. With p = 0.45 and b = 1.5 it gives 0.0833, or 8.33%.

### What does a negative Kelly fraction mean?

That the inputs show no edge: the win rate is below 1 ÷ (1 + b). The formula's answer is then to stake nothing.

### Is the Kelly fraction how much I should bet?

No. It is arithmetic on two estimates under assumptions trading does not meet, and this page recommends no bet size.

### Why does the result change so much with a small change in the win rate?

Each point of win rate moves the fraction by 1 + 1 ÷ b points, which is 1.67 at b = 1.5, so a five-point change moves it by 8.33 points. Any error in the estimate carries straight into the result.

### Does the Kelly criterion work for trading?

Its conditions, known odds, independent bets and two outcomes, do not hold for trades, and researchers who study it, such as MacLean, Thorp and Ziemba, call it very risky in the short term. This page shows the arithmetic only and sizes no position.

## Sources

- [J. L. Kelly Jr.: A new interpretation of information rate, Bell System Technical Journal, July 1956 (copy hosted by Princeton University)](https://www.princeton.edu/~wbialek/rome/refs/kelly_56.pdf)
- [L. C. MacLean, E. O. Thorp and W. T. Ziemba: Good and bad properties of the Kelly criterion (1 January 2010)](https://www.stat.berkeley.edu/~aldous/157/Papers/Good_Bad_Kelly.pdf)
- [OpenStax, Introductory Statistics: 4.2 Mean or expected value and standard deviation](https://openstax.org/books/introductory-statistics/pages/4-2-mean-or-expected-value-and-standard-deviation)

> This calculator is general information, not tax, legal or investment advice. Results depend on the values you enter; fees, margin rules and tax rules differ by exchange and country and change over time, so check the official source and ask a licensed adviser about your own situation. Sources, checks and corrections: see the [editorial policy](https://fincodelabs.com/en/editorial-policy).

---

Published by Fincode (Fincode Yazılım ve Teknoloji A.Ş.), a software company in Istanbul, Turkey: https://fincodelabs.com/en/tools/kelly-criterion-calculator

Cite as: Fincode, "Kelly criterion calculator: the formula's arithmetic", updated October 15, 2026, https://fincodelabs.com/en/tools/kelly-criterion-calculator
