How we calculate

Every number on Fairly Dealt comes from one calculation engine. The text on a page reads its numbers from that engine too, so the explanation and the tool can never disagree.

The principles

Tested against published values

Before a tool goes live, its results are tested against published reference values. Each reference value in our test set records where it comes from. If a result drifts from a reference value by more than a small tolerance, the site cannot be built, so a silent calculation error cannot reach the site.

Simulations

Some questions, such as how a betting system behaves over many sessions, are answered with a simulation. Our simulator uses a seeded random number generator: the same seed always gives the same sequence of results. That is why a shared simulation link shows exactly the same outcome for everyone who opens it.

Per tool

Jump to Blackjack, Roulette, Baccarat or the Betting system simulator.

Blackjack

For your exact cards and the dealer’s up card, we take those cards out of the shoe and work out every way the dealer’s hand can finish, card by card, following the dealer’s rule on soft 17. From that we get the average result of standing, of hitting (and then playing on as well as possible), of doubling, of surrendering and of splitting. For splitting we use the common fixed-shoe method: each split hand draws from the shoe as it was after the split, and resplits are counted with their average number of hands.

At tables where the dealer peeks, the dealer has already checked for blackjack when you decide against an ace or a ten, so we count only dealer hands that are not a blackjack. Without a hole card (European), a dealer blackjack takes every bet on your hand, doubles and splits included.

The house edge adds up the best play for every possible starting hand and dealer card. The chart gives one move per total: for each total and dealer card, it averages the result of each move over the two-card hands that make that total. Our values are tested against the Wizard of Odds: the average result of each move for individual hands, the house edge by number of decks and rules, and the basic strategy for 4 to 8 decks, cell by cell. The pace starts at the hands a casino table deals per hour, as published by the Wizard of Odds.

Roulette

A bet that covers k numbers and pays p to 1 on a wheel with N pockets wins k times out of N. Per unit you bet, you win p on a win and lose your stake otherwise, so the house edge is (N − k × (p + 1)) ÷ N. We work this out as an exact fraction, for European wheels (one zero), American wheels (two zeros) and French wheels with la partage, where an even-money bet loses only half the stake when zero comes up.

The cost per hour is your stake × spins per hour × the house edge. The pace starts at the number of spins a casino table plays per hour, as published by the Wizard of Odds, and you can change it. Our results are tested against the house edges published on the Wizard of Odds roulette page.

Baccarat

We play out every possible deal from a full shoe of 6 or 8 decks, card by card, with each card removed from the shoe as it is dealt. The third-card rules decide whether the player and the banker draw. Counting every deal gives the exact chance of a player win, a banker win and a tie, and of the outcomes that side bets pay on: a natural, the winning margin, a three-card 7 or 8. The house edge follows from the payouts. Ties count as bets that are returned, the same way the published tables count them.

With commission, a banker win pays even money minus the commission. In EZ Baccarat a banker win pays 1 to 1, but a banker win with a three-card 7 returns the bet. We show EZ Baccarat with 8 decks only, the deck count with published values to test against. Pair bets win when the first two cards of a hand share a rank.

Our results are tested against the Wizard of Odds pages on baccarat, side bets and EZ Baccarat. The pace starts at the hands a casino table deals per hour, as published by the Wizard of Odds.

Betting system simulator

The simulator plays many sessions of one even-money bet: red or black at roulette, or banker or player at baccarat. Each round is drawn from a seeded random number generator (sfc32) with the exact chances from our roulette and baccarat calculations. Baccarat hands are drawn independently, each with the chances of a fresh 8-deck shoe. Every system plays the same rounds: session one uses the same random draws for each system, and so on, so differences between systems come from the system, not from luck.

The systems follow their usual rules: Martingale doubles after a loss and goes back to the base bet after a win; Fibonacci moves one step up the sequence after a loss and two steps back after a win, starting at the second 1 of 1, 1, 2, 3, 5… (as described by the Wizard of Odds); d’Alembert adds one unit after a loss and takes one off after a win, never below one unit; Paroli doubles after a win and goes back to the base bet after three wins in a row or a loss. A tie or other push changes nothing, and a French la partage half-loss counts as a loss. A bet never goes above the table maximum or the money left, and a session stops when less than one base bet is left.

The average loss of a session is the house edge times everything bet in it. That holds for every system, which is why no system can lower the cost of a game, as the Wizard of Odds explains. The seed is part of the share link, so the same link always replays the same sessions.