Provably Fair Hi-Lo: How Each Card Is Drawn, With Card Odds by Rank
Provably 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.
Updated October 11, 2026
Contents
Hi-Lo verifier
Example round · Hi-LoCalculated result · First card
9 of hearts
- Commitment matches the published hash
- No game result entered to compare
A mismatch has three usual causes: a copy error, a platform that hashes or maps the seed differently from this reference scheme, or a seed that was not the committed one. What to do when a check fails.
How this result was derived
- 1
Commitment, before the round
SHA-256(server seed) = f51376a5a542e19876a861e25e058cc522a304cd3edbd012bad096d8cc543de0 - 2
HMAC-SHA256 of
player-17:1:06bf446d5eea533d95c787f63c2ac5b6943a7f7dcf4dc68f9edf3569f0c50953f - 3
Bytes to a number in [0, 1)
0.4216961164 - 4
floor(x × 52) picks one card from an ordered 52-card deck
9 of hearts
This tool reproduces one documented reference scheme. Platforms that build the message, read the bytes or map the number differently will give other results with the same seeds. See the scheme.
From seed to result.
The example round under this site’s reference scheme, step by step.
-
Hash commitment
The server seed is hashed and the hash is shown before you play.
f51376a5a542e198… -
HMAC
Server seed as key, message player-17:1:0.
6bf446d5eea533d9… -
Number in [0, 1)
The first four bytes become one number.
x = 0.421696 -
First card
Floor(x × 52) picks one card from an ordered 52-card deck.
9 of hearts
The example round on this site deals the 9 of hearts. Bet that the next card is higher and you have 4 ranks working for you (10, jack, queen, king) against 8 that beat you. Bet lower and the numbers flip in your favor, with a payout to match.
Every round of Hi-Lo is a chain of those calls. A card comes from the seed, you guess whether the next one is higher or lower, and every correct guess multiplies your stake until you cash out or guess wrong. In provably fair Hi-Lo each card follows from a committed server seed, so you can check after the game that no card was swapped once you'd made your call.
The card odds are simple counting. Getting a second, third and tenth card out of one seed takes more design, and platforms really do differ there.
How does a seed pick a card?
Under the reference scheme this site uses, HMAC-SHA256 with the server seed as the key and client seed:nonce:0 as the message gives 32 bytes, and the first four become a number x between 0 and 1. The Hi-Lo rule multiplies x by 52 and rounds down, which gives a position from 0 to 51 in a fixed deck order: ace to king of spades, then hearts, then diamonds, then clubs.
card index = floor(x × 52) 0–12 spades, 13–25 hearts, 26–38 diamonds, 39–51 clubs
round 1: 0.4216961164 × 52 ≈ 21.93 → index 21
21 − 13 = 8 → ninth rank of hearts → 9 of hearts
Two things follow from this design. Every card has the same chance, 1 in 52, on every draw. And because each card comes from a full deck, the game behaves as if the deck were reshuffled before every draw, so the 9 of hearts can be followed by the 9 of hearts. A real dealer's shoe doesn't work that way. If you count cards out of habit, it won't help here. Our seeds and nonces page explains where the inputs come from if the message format looks cryptic.
What are the odds of higher or lower for each rank?
With aces low and a fresh deck each draw, each of the 13 ranks has a chance of 1 in 13. Higher means a strictly higher rank, lower means strictly lower, and a card of the same rank is neither.
Swipe the table
| Current card | Next card higher | Next card lower | Same rank |
|---|---|---|---|
| A | 92.31% | 0.00% | 7.69% |
| 2 | 84.62% | 7.69% | 7.69% |
| 3 | 76.92% | 15.38% | 7.69% |
| 4 | 69.23% | 23.08% | 7.69% |
| 5 | 61.54% | 30.77% | 7.69% |
| 6 | 53.85% | 38.46% | 7.69% |
| 7 | 46.15% | 46.15% | 7.69% |
| 8 | 38.46% | 53.85% | 7.69% |
| 9 | 30.77% | 61.54% | 7.69% |
| 10 | 23.08% | 69.23% | 7.69% |
| J | 15.38% | 76.92% | 7.69% |
| Q | 7.69% | 84.62% | 7.69% |
| K | 0.00% | 92.31% | 7.69% |
Games handle the same-rank case differently, and it changes the numbers more than the ace rule does. Some offer higher or same and lower or same, which adds 7.69% to each side. Some treat a tie as a loss, some as a push. A few play aces high. Before trusting any table, this one included, read the game's rules for ties and aces.
What does the 9 of hearts pay?
Take the first card of the example round and price both bets. Higher wins on 4 ranks out of 13, a chance of 30.77%. Lower wins on 8 ranks out of 13, a chance of 61.54%. A fair multiplier would be 1 divided by the chance; with a 1% edge it is 0.99 divided by the chance, and many games then round down to two decimals.
multiplier = 0.99 ÷ chance, rounded down to 2 decimals
higher on a 9: 0.99 ÷ (4/13) = 3.2175 → 3.21×
lower on a 9: 0.99 ÷ (8/13) = 1.6088 → 1.60×
The rounding costs a little extra. At 3.21× and a 30.77% chance, the expected return is 0.988 per dollar rather than 0.99, and at 1.60× it is 0.985. Small numbers, but they are real, and they are the kind of thing a game's published rules should let you work out. Under a higher-or-same rule, a 9 wins on 5 ranks out of 13 (38.46%), which at the same edge pays 2.57×.
Why does each card in a sequence need a new number?
Because the same number gives the same card. If the second card came from the same x as the first, it would be the 9 of hearts again, every time. So every card after the first needs its own random number, and here designs split into two families.
The first family keeps the nonce and moves a cursor. That's what the :0 at the end of the reference message is for. One HMAC-SHA256 output has 32 bytes, enough for eight groups of four, so a game can take card two from bytes 4 to 7, card three from bytes 8 to 11, and so on; after eight cards it sets the cursor to 1, which produces a fresh 32 bytes. The whole game sits under one nonce, and a single bet counts once in your history.
The second family spends a nonce per card. Card one uses nonce 1, card two uses nonce 2. With the example seeds that design would deal the 9 of hearts and then the queen of clubs, because nonce 2 maps to card index 50. It's simple to verify but ties the card count to the nonce counter, so your next bet starts wherever the last card left off.
For Hi-Lo, the reference scheme on this site maps only the first number at cursor 0, so its verifier checks the first card of a round and nothing after it. To check a full sequence, you need the platform's exact rule for cards two onward. Either design keeps the sequence fixed from the start: your choice of higher, lower or skip decides what you win, never which card comes next.
What can you actually check after a game?
Start with the commitment. Once the server seed is revealed, its SHA-256 hash must equal the hash you were shown before the first card, and this check doesn't depend on any game rule at all. If it fails, nothing else matters.
Next comes the first card, which under the reference scheme you can reproduce exactly. Then the later cards, which you can reproduce only if the platform tells you how it numbers them: which bytes, which cursor, or which nonce. A fairness page that explains the first card and goes vague about the rest is leaving out the part you need.
The payouts sit outside the seed entirely. Whether 3.21× was really credited as 3.21× is an accounting question, and the only evidence is your own bet history.
Can a run of correct guesses beat the edge?
No, and long runs actually cost more. If the game takes a 1% edge on every guess, the edges stack. A single guess returns 0.99 per dollar on average; a run of five guesses, cashed out at the end, returns 0.99 to the fifth power, about 0.951; ten guesses return about 0.904. Pressing on for a big multiplier means paying the edge again at every step.
Some games price a whole run differently, for example with one edge applied to the combined multiplier, so check how yours does it. The general idea of what an edge costs over many bets is on our house edge page.
What else shares this card logic?
Any game that deals cards from a seed faces the same choices: a fresh deck per card or a shuffled shoe, and a cursor or a nonce for each new card. Provably fair blackjack adds dealer rules on top, which makes the second question matter even more. The rest of the games are compared in our overview of provably fair games, and the first card of any round under the reference scheme can be checked in the calculator by choosing Hi-Lo.
Sources
References behind this guide.
4 references
Keep reading
- Games Provably Fair Blackjack In 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. Read guide
- Games Provably Fair Dice How 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. Read guide
- How it works Server Seed, Client Seed and Nonce Server seed, client seed and nonce in provably fair games: what each input does, why your client seed matters, and what changes when you rotate seeds. Read guide