Kelly criterion calculator
FreeSize your stake to your edge — full, half or quarter Kelly.
Loading the interactive widget…
Accent, surface, text and radius are the only overridable tokens — a bounded set that keeps widgets readable and on-brand.
The code below matches the preview exactly — theme it above, then copy.
<div data-or-widget="kelly"
data-or-theme="dark"></div>
<script src="https://oddsrelay.io/widgets/oddsrelay-widgets.js" async></script>Paste it once, anywhere. The script auto-mounts every data-or-widget element and is style-isolated in a Shadow DOM, so it never clashes with your CSS.
Installing on WordPress, Webflow, Squarespace, Wix or React?
- WordPress
- Add a Custom HTML block (or switch the classic editor to the Text tab) and paste the snippet.
- Webflow
- Drop in an Embed element, paste the snippet, and publish — the widget renders on the published site.
- Squarespace
- Insert a Code block where you want the widget and paste the snippet as HTML.
- Wix
- Add an Embed HTML element (iFrame-free custom code) and paste the snippet.
- React / Next.js
- Render the div, then load the script once (e.g. next/script or an effect). The bundle auto-mounts new [data-or-widget] elements; call window.OddsRelay.scan() after client-side navigations if needed.
The Kelly criterion sizes a stake to your edge and bankroll. Enter the odds, your estimated win probability and your bankroll; the calculator returns the recommended stake and the full-Kelly fraction. Most bettors use a fraction of full Kelly to smooth out the swings.
What it does
- Recommended stake and the full-Kelly fraction
- Full, half and quarter Kelly options
- A no-edge verdict when the bet isn't worth it
- Pure client-side maths — your numbers stay with you
How to use it
- 1Enter the odds and probability. Type the decimal odds and your estimated win chance.
- 2Add your bankroll. Enter the total bankroll you're staking from.
- 3Choose a Kelly fraction. Full, half or quarter — then read off the recommended stake.
What powers this
This calculator runs entirely in your browser. There's no account, no API key and no feed — nothing you type leaves the page. The maths is the same commodity matched-betting and value arithmetic used across the industry, implemented carefully and unit-tested.
Questions
- What is the Kelly criterion?
- Kelly is a staking formula that sizes each bet to your edge: fraction = (odds × probability − 1) ÷ (odds − 1). It maximises the long-run compounding of a bankroll when your probability estimate is accurate.
- Why use half or quarter Kelly?
- Full Kelly is volatile and unforgiving of over-optimistic probabilities. Staking a fraction of full Kelly cuts the variance a lot while keeping most of the upside — which is why many bettors prefer it.
- What if there's no edge?
- If your probability times the odds is 1 or less, the Kelly fraction is zero or negative and the calculator recommends no bet.
18+ · Data product for licensed operators. Please gamble responsibly.
Building a betting product?
Every widget here is free to embed. When you need the feed behind them — matched, rated, bet365 included — start a free trial or get in touch.