How we calculate the odds
Most numbers on this site are calculated by the same code that runs the games. The rest are established published figures for these exact rules, and this page says which is which.
Random numbers
Dice, cards, wheel results and reel stops come from the browser's cryptographic random number generator (crypto.getRandomValues). Values are drawn with rejection sampling so every outcome is exactly equally likely, and card shoes are shuffled with the Fisher–Yates algorithm. Blackjack reshuffles its six-deck shoe at about 75% penetration; baccarat's eight-deck shoe is reshuffled when 16 cards remain.
Craps
Two dice make 36 equally likely combinations. A bet's house edge is its expected loss per unit bet: for a one-roll bet, P(win) × payout − P(lose); for a place bet on a number n, the chance n repeats before a 7 is ways(n) / (ways(n) + 6). Line bets combine the come-out outcomes with each point's chance of repeating. A sample of the results:
| Bet | Pays | House edge |
|---|---|---|
| Pass Line | 1 to 1 | 1.41% |
| Don't Pass | 1 to 1, 12 pushes | 1.36% |
| Place 6 | 7 to 6 | 1.52% |
| Place 5 | 7 to 5 | 4.00% |
| Place 4 | 9 to 5 | 6.67% |
| Field | 1 to 1, 2 pays 2x, 12 pays 3x | 2.78% |
| Hard 8 | 9 to 1 | 9.09% |
| Any 7 | 4 to 1 | 16.67% |
The Don't Pass edge is measured per bet made, with the 12 as a push. Odds bets pay true odds, so their edge is zero. These calculations are covered by automated tests that compare them with published values.
Blackjack
The strategy coach and the strategy chart use basic strategy for exactly this table's rules: six decks, dealer stands on soft 17, double after split, late surrender, no resplitting Aces. The roughly 0.4% house edge is the commonly published figure for these rules with perfect basic strategy.
Roulette and baccarat
Roulette's edge follows from the pockets: every bet pays as if the zeros didn't exist, giving 1/37 = 2.70% on a single-zero wheel and 2/38 = 5.26% on a double-zero wheel (the five-number top line pays 6 to 1, for 7.89%). Baccarat follows the standard Punto Banco tableau; its Banker, Player, Tie and Pair edges are the established figures for an eight-deck shoe.
Video poker
Jacks or Better uses the full-pay 9/6 table. Its 99.54% return with optimal strategy is the established result of analyzing every possible hold for every possible deal.
Slots
Each reel strip has 32 stops. Because every payline reads one position from each reel, the chance of any symbol on a line is that symbol's share of the strip, independently per reel. Enumerating all 7776 symbol combinations against the pay table gives an exact return of 96.48%, with a win on any single line 8.44% of the time. The symbol counts per reel:
| Cherry | Lemon | Bell | Bar | Seven | Diamond | |
|---|---|---|---|---|---|---|
| Reel 1 | 9 | 8 | 6 | 4 | 3 | 2 |
| Reel 2 | 8 | 8 | 7 | 4 | 3 | 2 |
| Reel 3 | 8 | 8 | 7 | 5 | 3 | 1 |
| Reel 4 | 8 | 8 | 7 | 5 | 3 | 1 |
| Reel 5 | 8 | 8 | 7 | 5 | 3 | 1 |
Corrections
If you find a number you think is wrong, the About page says how to get in touch.