How we compute, and the rules we write by
Every figure on Odds Workbench is calculated, not quoted. This page explains the three ways we calculate, how the code is tested before each build, and the editorial rules that apply to every page.
1. Exact counting
Where a game has a manageable number of equally likely outcomes, the tool lists them all. Craps uses the 36 outcomes of two dice; sic bo the 216 outcomes of three. Keno and poker use exact combinations (binomial coefficients) computed with whole-number arithmetic, so even the 80-choose-20 total of keno is held exactly until the final division. Baccarat walks every order in which the cards can be dealt from a shoe of the chosen size, removing each card as it is drawn.
2. Closed formulas
Some answers follow from a formula: the gambler's-ruin probability for even-money bets, the expected cost of a wagering requirement, the chance of reaching a crash-game target under the model on that page. Where we use one, it is printed on the page in a form you can check with a pocket calculator.
3. Seeded simulation
When there is no practical closed formula, for example the chance of finishing a wagering requirement before a balance runs out, we simulate. Simulations use a small published random-number generator started from a seed that is shown on the page, so the same seed always produces the same result and a screenshot can be reproduced. Each simulated figure is labelled with the number of runs it is based on.
Testing before every build
The site is not built unless its maths tests pass. They are of three kinds:
- Published reference values.The eight-deck baccarat counts are compared with the published table of the number of combinations of each banker and player total (Wizard of Odds, "Baccarat - The Number of Combinations of Each Possible Hand"): three individual cells, two row totals, one column total and the grand total of 4,998,398,275,503,360 six-card sequences must match to the last digit. A single wrong drawing rule changes them. The five-card poker counts must equal the standard frequencies (as listed in the Wikipedia article "Poker probability"). Both sources were read on 27 November 2026 through archived copies at web.archive.org.
- Hand-derived cases. Results anyone can derive on paper: the pass line wins 244 of 495 decisions, a single keno spot is caught 1 time in 4, the small bet in sic bo wins 105 of 216 rolls, a 9-out draw misses both cards 703 times in 1,081.
- Agreement between methods.Where a simulation and a formula cover the same case, the test requires them to agree within the simulation's margin of error. The risk-of-ruin simulator is checked against the gambler's-ruin formula this way, and the crash simulation against its model.
We also check that tests can fail. For the baccarat reference test this is scripted: a copy of the code with one drawing rule broken (banker drawing on 3 against a player's 8) produces a different count, and the script reports that the test would catch it. The site's page checks (links, canonical addresses, forbidden content, copied text) are proved the same way, by feeding them a deliberately broken page.
Inputs and validation
Every input box checks its value. A box with an impossible value (a negative payout, a commission above 10%, more outs than cards) is marked in red with a message, and the result keeps showing the last valid figure rather than a broken one. Defaults are a starting point for the worked example, never a statement about a specific casino.
Editorial rules
- No facts without a source we have read. If a page states something about the world rather than about arithmetic, such as a help line number, it comes from that organisation's own page, read for that version of our page. If we cannot reach a source, we leave the claim out.
- No invented testing. We do not describe play sessions, visits or tests that did not happen.
- No predictions. No tool claims to forecast a result, and we do not publish systems or patterns.
- One labelled referral, no operator content. The only operator named across the site is Stake, in the marked referral elements. We do not rate or rank casinos, quote bonuses, or use any operator's logo, artwork or colours, and the referral never changes a calculation.
- Plain dates. The date at the foot of a page is when its words or code last changed. We do not refresh dates without a change.
Corrections
If a number is wrong, we fix the code, add a test that would have caught it, and note the correction here with its date. Corrections so far: none.
Report a problem on the contact page. The most useful report names the page, the inputs you used and the figure you expected.
Last changed .