Tools
How much should you bet when you have an edge?
A Kelly criterion simulator. Set the odds, choose a bet size, and watch what it does to a bankroll, one bet at a time or across a thousand possible futures.
What the Kelly criterion is
In 1956 a Bell Labs scientist named John Kelly worked out a simple answer to an old question: if the odds are in your favor, how much of your money should you put on each bet? Bet too little and you leave growth on the table. Bet too much and a normal run of bad luck can wipe you out, even though the odds favor you.
His answer is that the right size depends on two things only: your edge (how much you expect to make per dollar bet) and the odds (how much a win pays). For a coin that pays even money and lands your way 60% of the time, Kelly says to bet 20% of your balance on every flip. Over many bets, no other fixed percentage grows your money faster.
The catch is that full Kelly is a rough ride. Even with a real edge, there is about a 50% chance your balance falls to half of what you started with at some point, and drops of 50% from a high are routine. And in real markets you never know your edge exactly, and most people overestimate it. That is why professionals bet a fraction of Kelly. Half Kelly keeps about three quarters of the long-run growth with roughly half the swings. Betting double Kelly, on the other hand, takes on far more risk for about zero growth.
Try it below. Every input has a short explanation, and nothing here touches real money.
Set up the game
How much money you begin with. Every result is measured against this number. For example, $10,000.
How often a bet pays off. 50% is a fair coin. 60% means you win about 6 times in 10, though never in a neat pattern. Real investing edges are much thinner, often closer to 51% to 55%.
How much you collect for each $1 you risk when a bet wins. At 1 to 1 (even money), a $100 bet wins $100 or loses $100. At 2 to 1, it wins $200 or loses $100.
Bet a share of whatever Kelly recommends. Most professionals who use the formula bet a half or a quarter of it.
100% is full Kelly. Below 100% gives up a little growth for much smaller swings. Above 100% is over-betting: more risk, and somewhere around 200% the long-run growth disappears.
The marker shows where full Kelly sits, so you can see how far above or below it you are.
If your balance falls below this amount, you bet whatever is left.
A floor. If the balance drops to this level, betting stops and the run counts as broke. With a $100 floor, a $10,000 account that loses 99% is finished.
Play it one bet at a time
Flip the coin yourself and feel what your rule is like to live with. Watch how long the losing streaks run, even when the odds favor you.
Keyboard: Space bets once, Enter starts and stops automatic play. Speed only changes how fast bets happen, not the odds.
Balance
$10,000
Even with where you started
No bets yet. The next bet risks $2,000.
Run it a thousand times
One run can be lucky or unlucky. To see what a bet size really does, replay the same game many times and look at the spread of outcomes. Every sizing rule below sees exactly the same coin flips, so the only difference is how much each one bets.
How many bets each simulated run makes. 250 is roughly one bet every trading day for a year.
How many separate futures to try with the same settings. More runs give steadier answers and take a moment longer.
| Sizing rule | First bet | Typical ending balance | Ended ahead | Cut in half from a high | Went broke | Unlucky run (1 in 10) |
|---|
"Typical" is the median: half the runs ended higher and half lower. "Ended ahead" and the other columns count how many runs out of 100 did that. "Unlucky run" is the balance that 1 in 10 runs ended at or below. "Went broke" means the balance fell to your floor.
What to take away
This setup echoes a 2016 experiment by Victor Haghani and Richard Dewey. They gave 61 young finance professionals and students $25 of real money and a coin they were told would land heads 60% of the time. With an edge that large, sensible betting should have paid well. Instead, 28% went bust and only about one in five reached the maximum payout. Many bet far more than the edge justified, and a third bet on tails at some point, against the odds they had been given.
A 60% coin is generous. Most real edges are small, and at that size they are buried in noise. A rule that wins 52% of the time can lose ten or fifteen times in a row without anything being wrong. Any single run of bets tells you almost nothing about whether your edge is real.
That is the practical case for fractional Kelly. You do not know your edge precisely, and over-betting an overestimated edge is the fastest way to lose money while being right on average. Sizing every bet the same principled way, keeping it well below what the formula says, and refusing to change it after a hot or cold streak is what lets a small, real edge survive long enough to compound.
This simulator is an educational illustration of a mathematical idea using a coin with known odds. Markets do not come with known odds, and results here say nothing about any security or strategy. It is not investment advice or a recommendation to buy or sell anything.