Provably Fair Games
Provably Fair Games: How Each One Turns a Seed Into a Checkable Result
Provably fair games compared: how crash, dice, hi-lo, roulette, blackjack, mines, plinko and Aviator turn a seeded number into a result you can check.
In this section
- Crash Gambling ExplainedCrash gambling explained: how a round works, how the crash point is computed from a seed, why 1.98% of rounds bust at 1.00× and what cash-out plans miss.
- Provably Fair DiceHow a seed becomes a provably fair dice roll from 0.00 to 100.00, how over and under bets work, and how win chance sets the payout at a 1% edge.
- Provably Fair Hi-LoProvably fair Hi-Lo explained: how a seed picks a card from a 52-card deck, the higher and lower odds for each rank, and why each new card needs new input.
- Provably Fair BlackjackIn provably fair blackjack a seeded shuffle fixes the deck before you act, while the rule set and basic strategy still decide the house edge you face.
- Provably Fair RouletteA seeded number picks the pocket from 0 to 36 in provably fair roulette.
- Provably Fair MinesIn provably fair mines, one seed sets every mine on the 5×5 grid before your first click.
- Provably Fair PlinkoEach row of provably fair plinko is one seeded left or right decision, and the binomial odds for 8, 12 and 16 rows show why the edge slots pay most.
- Aviator Provably FairHow a round of Spribe's crash game works, how its combined server and player seeds are described, and where Aviator provably fair checks reach their limit.
One seed pair, one nonce, one number: 0.4216961164. Read as a dice roll it is 42.17. Read as a crash point it is 1.71×. As a card it is the 9 of hearts, and on a single-zero roulette wheel it lands on pocket 15.
All provably fair games start from a number like that one, produced from seeds the game committed to before you bet. They differ in what they do next: how the number becomes a roll, a multiplier, a card, a pocket, a board or a path down a peg board. This page compares those mappings side by side and sends you to the page for each game.
If you just want to check a round, the provably fair calculator is the shortcut. If you want to know why a check works for one game and not another, read on.
What do all provably fair games have in common?
Three steps, in the reference scheme this site uses. Before play, the server picks a secret server seed and shows you its SHA-256 hash, a 64-character commitment. Each bet then gets a number from HMAC-SHA256, keyed with the server seed, over a message built from your client seed, the nonce and a cursor. The first four bytes of that output become x, a number between 0 and 1.
In the example round those bytes are 107, 244, 70 and 213, which give x ≈ 0.4216961164; the full derivation, with every intermediate value, is in how the provably fair algorithm works. That part doesn't care which game you play. Real platforms vary the message format and the way bytes are read, so treat this as one well-documented design rather than the only one.
How does each game turn the number into a result?
The mapping is where games really differ. Some need one number, some need dozens, and some build the house edge into the mapping itself.
Swipe the table
| Game | What the number becomes | How it is mapped | Reproduced by this site's calculator |
|---|---|---|---|
| Dice | A roll from 0.00 to 100.00 | floor(x × 10,001) ÷ 100 | Yes |
| Crash | A crash point of 1.00× or more | max(1.00, floor(99 ÷ (1 − x)) ÷ 100) | Yes |
| Hi-Lo | One card from a 52-card deck | floor(x × 52), deck ordered A–K by suit | First card only |
| Roulette | A pocket from 0 to 36 | floor(x × 37) on a single-zero wheel | Yes |
| Blackjack | The order of a shuffled deck | A seeded Fisher–Yates shuffle, one number per swap | Yes (the deck order) |
| Mines | The mine positions on a 25-tile board | A seeded shuffle of the 25 tiles | Yes (three mines) |
| Plinko | A path through the rows of pegs | One number per row: below 0.5 left, otherwise right | Yes (16 rows) |
| Aviator | A crash point | SHA-512 of a combined seed; mapping not published | No |
Every row except Aviator is the reference scheme this site uses, and the values in the opening come from the site's own code; pocket 15 is simply floor(x × 37) applied to the same x. The multi-number games read further numbers from the same HMAC output and then from higher cursors, which the individual game pages work through. A given platform may differ in detail. Aviator is in a category of its own, because its method is the provider's and only part of it is public.
Which games need one number, and which need many?
Dice, crash, roulette and the first Hi-Lo card each use a single x. That makes them quick to check: one hash, one formula, one result.
The rest need a stream of numbers. A blackjack shuffle of 52 cards takes 51 swaps, each needing its own random integer. A mines board shuffles its 25 tiles, one number per mine in the reference scheme. A plinko ball needs one left-or-right decision per row, so a 16-row board needs 16 numbers. A Hi-Lo game needs a fresh number for every new card.
Games get those extra numbers in one of two ways. One HMAC-SHA256 output has 32 bytes, enough for eight numbers of four bytes each, and when a game needs more it raises the cursor at the end of the message from 0 to 1, 2 and so on. The other approach spends a new nonce on each draw. Both are fine, but you need to know which one a game uses to repeat its results, and this is the detail fairness pages most often leave vague.
Why does the mapping matter as much as the seed?
Because the mapping is where both the edge and most mistakes live. In crash, the 99 in the formula takes 1% off every possible multiplier. In roulette, the zero pocket does the same job: 1 pocket in 37 on a single-zero wheel, which works out to a 2.70% edge, and 2 in 38 on a double-zero wheel, 5.26%. In plinko, the multipliers printed under the slots decide the edge. They can be set to anything.
A mapping can also be subtly unfair even when the seed is sound. Turning a big random number into a small range with a remainder operation, for example, can make some results slightly more likely than others if the range doesn't divide evenly. Scaling a fraction between 0 and 1, as the reference scheme does, avoids the worst of this. A published mapping lets you check for problems like that; an unpublished one asks you to trust it.
What should a game's fairness page tell you?
Enough to repeat a result on your own. In practice that means five things: the hash function used for the commitment, the exact layout of the message that gets hashed, which bytes are read and how they become a number, how that number becomes the game's result, and how the nonce or cursor advances from one draw to the next.
Most fairness pages cover the first two well. The last three are where they get thin, and they are exactly the parts that decide whether your own calculation will match. A page that says results are generated from the hash, without saying how, gives you a commitment you can check and a result you can't.
If a game's page is missing a step, the game may still be fair. You just can't show it yourself.
Which game page should you read first?
Start with the game you actually play. If you'd rather learn the method, start with the simplest and work up.
Dice is the cleanest example of the whole idea: one number, one multiplication, and a worked round from seed to 42.17. Hi-Lo adds cards and the question of how a game picks the second card after the first. Crash is where the math gets interesting, because a short formula produces a long-tailed distribution and a predictable 1.98% of rounds that end at 1.00×.
Aviator is the crash game most people have actually seen, and its design, a server seed mixed with three players' seeds, is different enough to need its own page. Roulette shows how the familiar single-zero and double-zero edges come out of a seeded pocket. Blackjack, mines and plinko are the multi-number games, and each page explains its shuffle or path along with the odds that follow.
Whichever game you open, the same caution applies. A check that passes proves the result followed from the committed seed. It doesn't prove anything about payouts, withdrawals or the people running the game. And before you check a game that isn't in the reference scheme, find its published method first, because the calculator on this site will give a different result for any game that maps its numbers another way.
Sources
References behind this guide.
5 references
Keep reading
- How it works Provably Fair Algorithm Explained Step by Step How a provably fair system turns seeds into results: the provably fair algorithm explained step by step, from SHA-256 to HMAC-SHA256 to one real roll. Read guide
- Verify Provably Fair Calculator and Checker A provably fair calculator and checker: test the server seed hash and reproduce dice, crash, roulette, plinko and more to verify a round in your browser. Open tool
- Odds House Edge Explained House edge explained: how the casino's built-in share is computed, what it is by game from blackjack to keno, and what it costs over hundreds of bets. Read guide