Skip to content

VALUEODDSAPI / DEVELOPER RESOURCES

Kelly criterion for betting: formula, examples and calculator

The Kelly criterion tells you how much of your bankroll to stake when you have an edge. This guide explains the formula with decimal odds, shows what full, half and quarter Kelly do to a bankroll, and ends with a small calculator.

Published by ValueOddsAPI · 3 November 2026

Median bankroll over 2,000 bets for four Kelly fractions: quarter 1.45×, half 1.89×, full 2.34× and double 1.00×, with the chance of ever halving at 0.6%, 26%, 94% and 100%
Simulated: 10,000 bettors per strategy, +3% EV at odds 2.06. Full Kelly grows fastest in the median but nearly always halves along the way.

In 30 seconds

New to odds data? Five terms first

Bankroll
The money set aside for betting, kept separate from everything else.
Edge
Expected value per unit staked: odds × fair probability − 1.
Kelly fraction
The share of the bankroll the Kelly formula says to stake.
Fractional Kelly
Staking a fixed part of the Kelly fraction, usually a half or a quarter.
Drawdown
How far the bankroll falls from its previous high.

What is the Kelly criterion?

The Kelly criterion is a staking formula. It tells you what share of your bankroll to bet so that the bankroll grows as fast as possible over the long run. John L. Kelly Jr. published it at Bell Labs in 1956, and it has been used by gamblers and investors ever since.

The idea is simple: bet more when your edge is bigger and the odds are shorter, bet less when the edge is small or the odds are long, and never bet when there is no edge. Because the stake is a share of the current bankroll, stakes shrink automatically during a losing run and grow during a winning one.

Kelly only makes sense once you have an edge. If you are not sure what that means, read What is value betting? first.

The Kelly formula for decimal odds

With decimal odds and a fair probability p, the full Kelly stake as a share of your bankroll is:

f = (odds × p − 1) ÷ (odds − 1)

The top half is your edge (expected value per unit). The bottom half is the net odds, what you win per unit if the bet wins. So the formula is just edge ÷ net odds. You may also see it as f = (b × p − q) ÷ b, where b = odds − 1 and q = 1 − p. It is the same thing.

Kelly stakes for five example bets on a $1,000 bankroll
OddsFair probabilityEdgeFull Kellyshare · stakeHalf Kellyshare · stakeQuarter Kellyshare · stake
2.1050%+5.0%4.55% · $45.452.27% · $22.731.14% · $11.36
2.0650%+3.0%2.83% · $28.301.42% · $14.150.71% · $7.08
3.4031%+5.4%2.25% · $22.501.13% · $11.250.56% · $5.63
1.6064%+2.4%4.00% · $40.002.00% · $20.001.00% · $10.00
1.9550%−2.5%No betNo betNo bet

The 3.40 bet has a bigger edge than the 1.60 bet but gets a smaller stake, because long odds lose more often. Where the fair probability comes from: How to remove the bookmaker margin.

Why full Kelly is too aggressive

Full Kelly maximises long-run growth, but the ride is violent. We simulated 10,000 bettors placing 2,000 bets each with a +3% edge at odds of 2.06, at four stake sizes:

Simulated results of four Kelly fractions after 2,000 bets
StrategyStake per betMedian bankrollafter 2,000 betsStill below startEver halvedat some point
Quarter Kelly0.71%1.45×13%0.6%
Half Kelly1.42%1.89×17%26%
Full Kelly2.83%2.34×26%94%
Double Kelly5.66%1.00×51%100%

10,000 simulations per strategy, each bet at 2.06 with a fair probability of 50%, stake recalculated from the current bankroll.

Full Kelly has the highest median, but almost every full Kelly bettor lost half the bankroll at some point along the way. Very few people keep following a method through that. Double Kelly is the worst of both worlds: twice the risk and, in the median, no growth at all.

Fractional Kelly: most of the growth, far less risk

Growth rate by stake size: quarter Kelly gives 44% of the maximum growth, half Kelly 75%, full Kelly 100% and double Kelly 0%, with the chance of halving the bankroll rising from 0.6% to 100%
The growth curve is flat near the top. Staking less than full Kelly costs little growth and removes a lot of risk.

The growth rate rises steeply at first and flattens near full Kelly. That is why fractional Kelly is so popular: half Kelly keeps 75% of the growth while cutting the chance of halving the bankroll from 94% to 26% in our simulation. Quarter Kelly keeps 44% of the growth and almost never halves.

Past full Kelly the curve falls just as steeply. Every extra unit of stake adds risk and removes growth, and at twice the Kelly stake the expected growth reaches zero.

The real danger: your probability is an estimate

Kelly assumes you know the true probability. You never do. If you think a bet at 2.06 has a 50% chance but the true chance is 49%, your real edge is +0.9%, not +3%. Staking full Kelly for a 3% edge is then more than three times the right stake, and the expected growth turns negative: in the median, the bankroll would be down about 27% after 2,000 bets, on bets that really do have a positive edge.

This is the strongest argument for half or quarter Kelly. It builds in a margin for the errors in your fair prices. Check those prices regularly with closing line value, and size down if your CLV is weaker than the edges you think you are getting.

Kelly in practice

Cap the stake. Set a maximum per bet, such as 2–3% of the bankroll, so one big estimated edge cannot dominate. Large edges are more often errors than gifts.

Several bets at once. Kelly is defined for one bet at a time. When many bets run in parallel, size each one from the bankroll at the start of the day and cap the total amount at risk.

Never both sides. Two value bets in the same market, such as Over and Under at different bookmakers, are not independent. Treat them as one position.

Limits come first. Bookmakers often accept less than the Kelly stake. Then the limit, not the formula, sets your stake.

Kelly vs flat staking

Kelly staking compared with flat staking
Fractional KellyFlat stake
StakeA share of the bankroll that depends on edge and oddsThe same amount on every bet
GrowthCompoundsGrows in a straight line
Sensitive to bad probabilitiesYesLess
Ease of useNeeds a calculation per betVery simple
Good forReliable fair prices and a tracked edgeStarting out, or when edges are uncertain

A Kelly calculator in Python

This function returns the stake for one bet. It uses half Kelly by default and caps the stake at 3% of the bankroll. Use it with the fair probabilities from your value bet scanner, as in How to find value bets.

def kelly_stake(odds, p, bankroll, fraction=0.5, cap=0.03):
    """Stake for one bet: fractional Kelly, capped at a share of the bankroll."""
    edge = odds * p - 1                  # expected value per unit staked
    if edge <= 0:
        return 0.0                       # no edge, no bet
    f = edge / (odds - 1) * fraction     # Kelly fraction of the bankroll
    return round(bankroll * min(f, cap), 2)

print(kelly_stake(2.10, 0.50, bankroll=1000))               # 22.73 (half Kelly)
print(kelly_stake(2.10, 0.50, bankroll=1000, fraction=1))   # 30.0  (full Kelly, capped at 3%)
print(kelly_stake(1.95, 0.50, bankroll=1000))               # 0.0   (negative EV)

Frequently asked questions

What is the Kelly criterion in betting?

A formula for the share of your bankroll to stake on a bet so that the bankroll grows as fast as possible in the long run. It depends on your edge and the odds.

How do you calculate the Kelly stake?

Kelly stake = (odds × p − 1) ÷ (odds − 1), where p is the fair probability. At odds of 2.10 and p = 50%, that is 0.05 ÷ 1.10 = 4.55% of the bankroll. Half Kelly is 2.27%.

Is the Kelly criterion good for sports betting?

It is a sound way to size bets when you have a real edge, but full Kelly is very volatile and punishes errors in your probabilities. Most bettors use half or quarter Kelly with a maximum stake.

Should I use full Kelly or fractional Kelly?

Fractional Kelly. Half Kelly keeps about 75% of the growth with far smaller drawdowns, and protects you when your edge is smaller than you think.

What if the Kelly formula gives a negative number?

A negative or zero result means the bet has no edge at those odds. The Kelly stake is zero: do not bet.

Can I use Kelly for several bets at the same time?

Yes, with care. Size each bet from the bankroll at the start of the period, cap the total stake at risk, and treat bets in the same market as one position.

Related reading

ValueOddsAPI provides odds data, not betting advice. Betting involves risk of loss and is for adults (18+) only. If gambling stops being fun, contact your local support service, such as StopSpillet in Denmark.

Get the data into your product

Solo €899/month (personal use), Pro €1,800, Scale €4,000, Elite €8,000 and Enterprise from €13,000/month, excluding VAT. Coverage and usage rights are confirmed before activation. Missing a bookmaker? We add the sources you need, scoped and priced per project.