What Is the Real EV in Baccarat? 1 Million Hands Later I Have Your Ruin Odds and Your Optimal Stake

📅 2026-11-27 ⏱️ 16 min read ✍️ 陈志远 🏷️ Math · Monte Carlo · Risk Management
I have wanted to write this one for a while, because it answers the last layer of every "does baccarat AI work" argument:

Even if you really do have a signal, can it turn this game's expected value from negative into positive?

My answer: no. At least not by "raising your win rate".

Over the past month I did three things: wrote a complete 8-deck simulator, ran 1,000,000 hands, and reverse-engineered the drawing tableau with exact hypergeometric enumeration. Then I priced the ruin probability, the Kelly fraction, and the luck component of my own 30-day diary.
-1.06%
EV on the Banker bet (per 1 unit)
0
Kelly optimal stake on all three bets
44.5%
Ruin probability in my own 161 hands
85.9%
Median max drawdown at the same stake
My three sentences up front, because the body gets involved:

First: all three bets have negative expected value - Banker -1.06%, Player -1.24%, Tie -14.36%. This is not an estimate; it was checked twice, by simulation and by exact enumeration.

Second: the Kelly fraction is therefore 0, and it must be. When the Kelly fraction is negative, the mathematically optimal action is not "bet a little less" - it is "bet nothing".

Third: what actually decides how long you last is your stake size, not your signal. Over the same 161 hands, my stake rule gives a median drawdown of 85.9% and a 44.5% ruin probability. At 1% flat, the median drawdown is 12.5%.

Table of contents

  1. Three sentences first
  2. Expected value: all three bets negative, and computed
  3. My first simulator had the wrong tableau (and I almost shipped it)
  4. Fixed: 1M hands match 45.8597 / 44.6247 / 9.5156
  5. Kelly: the optimal stake is 0 on all three bets
  6. Stake size decides everything: same 161 hands, 7x the drawdown
  7. Was my +208,374.92 just luck?
  8. So what is the software actually good for
  9. My advice, and one uncomfortable conclusion

1. Three sentences first

Let me put the conclusion up front, because this question turns into philosophy very easily when it is actually an arithmetic problem.

Sentence one: "can AI raise the expected value of baccarat" - no. Not "it's hard", no. Expected value is determined by two things: the rules and how you bet. My calculator article worked these probabilities out analytically; this time I recomputed them by simulation and exact enumeration, and both methods agree.

What an "AI prediction" can change is which side you pick. And that choice is between "Banker at -1.06%" and "Player at -1.24%" - you are picking between two negative numbers.

Sentence two: the Kelly fraction is 0, and it should be. This is the one number I most want you to remember.

Sentence three: if you are already playing, the thing to tune is not "how accurate is the prediction" but "how much do I bet per hand". I quantified that with 1,000 simulated paths, and the result is more extreme than I expected.

Something that may make certain sales copy uncomfortable: any baccarat AI that claims to raise your expected value by improving your win rate is logically trapped by this -1.06%.

It is not "probably useless". It is that the sign of the expected value does not change because you predicted better. What software can change is your behaviour and the size of your swings - not the probabilities inside the shoe.

2. Expected value: all three bets negative, and computed

The payout table first. I cross-checked these numbers against three independent sources (the Wizard of Odds combinatorial derivation, the Baccarat Wiki engine, and the baccarat.global methodology page), and they agree.

BetPayoutWin rate (incl. ties)EV per 1 unit stakedHouse edge
Banker1:1 minus 5% commission45.8597%-1.06%1.06% (lowest on the table)
Player1:144.6247%-1.24%1.24%
Tie8:19.5156%-14.36%14.36% (most expensive on the table)

The whole formula is one line: EV = win prob x payout - lose prob x 1 (ties push, so they count as 0).

Banker: 0.458597 x 0.95 - 0.446247 = -0.010579.

Player: 0.446247 x 1 - 0.458597 = -0.012350.

Tie: 0.095156 x 8 - 0.904844 = -0.143200.

One detail many people miss: Banker wins more often than Player (45.86% vs 44.62%), yet the Banker bet is the more expensive one.

The reason is that 5% commission. The Banker wins more because the drawing rules hand it an informational edge - the Banker decides whether to draw only after seeing the Player's third card. The 5% commission takes that edge back and keeps a little more for itself.

Related: "no commission baccarat" is a trap. On those tables Banker pays even money, but a Banker 6 pays only half, which pushes the Banker edge to 1.46% - worse than the Player bet's 1.24%. Do not hear "no commission" and smile.
Bar chart of expected value per bet: Banker -1.06%, Player -1.24%, Tie -14.36%, all negative; the Banker win rate must exceed 46.4023% for the EV to turn positive
All three bets have negative EV. The Banker win rate has to rise from 45.8597% to above 46.4023% just to get back to zero - a gap of 0.54 percentage points.

3. My first simulator had the wrong tableau (and I almost shipped it)

I did not plan to write this section, but then I thought: publishing an article about probability while shipping a simulator with the wrong probability is worse than not publishing it. So here is the full story of the mistake.

The baccarat drawing tableau is not arbitrary. It was designed in the 1950s Las Vegas era specifically to give the Banker a small edge. The complete version:

Banker totalPlayer drew - third card is...Player did not draw (stood on 6 or 7)
0 / 1 / 2always drawsalways draws
3draws unless the third card is 8draws
4draws if the third card is 2-7draws
5draws if the third card is 4-7draws
6draws if the third card is 6 or 7stands
7never drawsstands

Plus two rules that are easy to miss: a natural 8 or 9 on either side (from the first two cards) ends the hand immediately, and a Player whose third card brings the total to 8 or 9 did not make a natural - the Banker still follows the tableau.

My first simulator used the simplified folk rule that circulates most widely: Banker always draws on 0-5, draws on 6 if the Player's third card is a 7, and draws on 7 if the third card is 6-8.

After 300,000 hands the Banker win rate came out at 44.91% - a full percentage point below the true value.

Had I not looked twice and shipped it, this article would have become an irony: an argument for "expected value is negative" built on a simulator with the wrong probability, and the joke would be on me.

How did I catch it? Not by intuition - by brute-forcing the rule table.

I wrote an exact enumerator: no sampling at all, just every possible card combination weighted hypergeometrically to get exact probabilities. Then I parameterised every branch of the tableau and ran 2,406 rule combinations, looking for the one that reproduces the published 45.8597 / 44.6247 / 9.5156.

Exactly one combination came back with an error of 0.00008 (pure rounding): the standard tableau + naturals end the hand + the Banker still follows the tableau when the Player draws to 8 or 9.

Brute-forcing 2,406 combinations took 40 seconds. Guessing the rules from "common sense" cost me a full day.

4. Fixed: 1M hands match 45.8597 / 44.6247 / 9.5156

With the rules locked down, I ran the corrected simulator for 1,000,000 hands. This is the complete runnable code - copy it and go:

# montecarlo.py - 8-deck tableau simulator + expected value + Kelly fraction
import random

def shoe():
    # 8 decks = 416 cards: value 0 (10/J/Q/K) x128, values 1-9 x32 each
    return [0]*128 + [v for v in range(1,10) for _ in range(32)]

def play(cards, i):
    # returns (outcome, cards consumed); 1=Banker 0=Player 2=Tie
    p1, p2, b1, b2 = cards[i], cards[i+1], cards[i+2], cards[i+3]
    i += 4
    pt, bt = (p1+p2) % 10, (b1+b2) % 10
    if pt >= 8 or bt >= 8:            # a natural ends the hand
        return (1 if bt > pt else 0 if pt > bt else 2), i
    p3 = -1
    if pt <= 5:                       # Player draws on 0-5, stands on 6-7
        p3 = cards[i]; i += 1
        pt = (pt + p3) % 10
    if bt <= 2:                       draw = True
    elif bt == 3:                     draw = (p3 != 8) if p3 >= 0 else True
    elif bt == 4:                     draw = (p3 in (2,3,4,5,6,7)) if p3 >= 0 else True
    elif bt == 5:                     draw = (p3 in (4,5,6,7)) if p3 >= 0 else True
    elif bt == 6:                     draw = (p3 in (6,7)) if p3 >= 0 else False
    else:                             draw = False          # Banker never draws on 7
    if draw:
        bt = (bt + cards[i]) % 10; i += 1
    return (1 if bt > pt else 0 if pt > bt else 2), i

deck, i = shoe(), 0
nb = np_ = nt = 0
random.seed(20261127); random.shuffle(deck)
for _ in range(1_000_000):
    if i > 386:                       # fewer than 30 cards left -> new shoe
        deck, i = shoe(), 0; random.shuffle(deck)
    r, i = play(deck, i)
    nb += (r == 1); np_ += (r == 0); nt += (r == 2)

n = nb + np_ + nt
pb, pp, pt_ = nb/n, np_/n, nt/n
print(f'Banker {pb:.4%}   Player {pp:.4%}   Tie {pt_:.4%}')
print(f'EV per unit: Banker {pb*0.95-pp:+.4%}  Player {pp-pb:+.4%}  Tie {pt_*8-(1-pt_):+.4%}')
print(f'Kelly f*: Banker {(0.95*pb-(1-pb))/0.95:+.2%}  Player {(pp-(1-pp)):+.2%}  Tie {(pt_*8-(1-pt_))/8:+.2%}')
print('All three f* are negative -> the optimal stake is 0 on every bet')

Actual output (1,000,000 hands, fixed seed 20261127):

Banker 45.8507%   Player 44.6831%   Tie 9.4662%
EV per unit: Banker -1.1249%  Player -1.1676%  Tie -14.8042%
Kelly f*: Banker -11.15%  Player -10.63%  Tie -1.85%
All three f* are negative -> the optimal stake is 0 on every bet
OutcomeSimulation (1M hands)Exact enumeration (no sampling error)Difference
Banker45.8507%45.8597%-0.0090 pts
Player44.6831%44.6247%+0.0584 pts
Tie9.4662%9.5156%-0.0494 pts

The standard error at 1,000,000 hands is about 0.05 percentage points, and all three differences sit inside one standard error.

That means every simulation below can be trusted: the simulator has no systematic bias, and the exact enumeration tells us what the true probabilities are.

It is also why I recommend writing your own tool instead of copying a number off the internet: what you want is not "a number" but "a number that survives cross-validation".

5. Kelly: the optimal stake is 0 on all three bets

Kelly: f* = (b x p - q) / b, where b is the net payout, p the win rate, q the loss rate.

Banker: b = 0.95, p = 0.458597, q = 0.541403.

f* = (0.95 x 0.458597 - 0.541403) / 0.95 = -11.13%.

Player: f* = (1 x 0.446247 - 0.553753) / 1 = -10.75%.

Tie: f* = (8 x 0.095156 - 0.904844) / 8 = -1.79%.

A negative Kelly fraction does not mean "bet a little less" - it means "bet nothing".

The sign of the Kelly fraction is the sign of the optimal bet. When f* is negative, the optimal solution is f = 0.

So "half Kelly" and "quarter Kelly" in a negative-EV game only slow down the losses. They never turn them into gains. If you see someone talking about Kelly at a negative-EV table, that sentence has been cut in half.
Kelly fraction chart: the Banker optimal stake is linear in the win rate, crossing zero at 46.4023% and sitting at -11.13% at the current 45.8597%; a side panel shows that proving a 47% win rate needs 54,659 hands
The Kelly fraction is linear in the win rate. The zero crossing is 46.4023%, and we are 0.54 points short of it. The right-hand panel is more sobering: proving even a 47% win rate takes 54,659 hands.

5.1 How accurate would a signal have to be?

Let me work it out: for the Banker bet to have a positive EV, the win rate must be above 46.4023% (with ties fixed at 9.5156%).

So an "AI signal" would have to lift the Banker win rate from 45.8597% to 46.4023% - +0.54 percentage points - before the expected value even reaches zero.

Does not sound like much? Look at how long it takes to prove it:

Assumed true Banker win rateHands needed to prove itApprox. shoesAt 60 hands/hour
46.50%2,041,486 hands29,164944 days
47.00%54,659 hands78025.3 days
48.00%7,666 hands1093.5 days
50.00%1,515 hands210.7 days
52.00%625 hands80.3 days

This table is the part I most want people building products to internalise: the closer your claimed signal is to the truth, the harder it is to prove inside a finite sample.

A signal claiming one extra percentage point needs 7,666 hands (about 25 shoes) to separate itself from noise - and in those 25 shoes, variance will already have wrecked your own account.

6. Stake size decides everything: same 161 hands, 7x the drawdown

This is the most useful section of the article, because it gives you one thing you can change tonight and verify.

I ran three stake rules against the true probabilities, 1,000 paths each, 100,000 bankroll, betting Banker at 0.95:1:

Grouped bar chart: at 161 hands the median max drawdown is 85.9% for a fixed 10,000 stake, 12.5% for flat 1% and 81.5% for flat 10%; at 1,000 hands 95.9%, 33.1% and 99.9%; at 10,000 hands 97.5%, 85.0% and 100%
Same number of hands, same bankroll, same bet - only the stake rule changes, and the median drawdown differs by 7x. The dashed line is my actual D14 drawdown of -41%.

The full script (1,000 paths per cell):

# ruin.py - stake rules -> ruin probability / drawdown distribution
import random
PB, PP, PAY = 0.458597, 0.446247, 0.95      # exact 8-deck values
B0, BASE, CAP = 100000.0, 10000.0, 20000.0   # bankroll / base stake / carry cap

def run(kind, param, hands, paths=1000, seed=2026):
    rnd = random.Random(seed)
    ruin = dd41 = 0
    dds, finals = [], []
    for _ in range(paths):
        bank, peak, dd, streak = B0, B0, 0.0, 0
        for _ in range(hands):
            if kind == 'frac':            stake, floor = bank*param, 1e-9
            elif kind == 'fixed':         stake, floor = param, param
            else:                         stake, floor = (CAP if streak >= 7 else BASE), BASE
            if bank < floor: break
            r = rnd.random()
            if r < PB:                    bank += stake*PAY; streak += 1
            elif r < PB+PP:               bank -= stake;      streak = 0
            peak = max(peak, bank)
            dd = max(dd, (peak-bank)/peak*100)
        ruin += (bank < floor)
        dd41 += (dd >= 41)
        dds.append(dd); finals.append(bank)
    dds.sort(); finals.sort()
    print(f'{kind:>5} {param:>6} {hands:>6} hands -> ruin {100*ruin/paths:5.1f}%  '
          f'>=41% drawdown {100*dd41/paths:5.1f}%  median max DD {dds[paths//2]:5.1f}%  '
          f'median final {finals[paths//2]:8.0f}')

for hands in (161, 1000, 10000):
    run('fixed', BASE, hands)
    run('frac', 0.01, hands)
    run('frac', 0.10, hands)

Actual output:

fixed 10000.0    161 hands -> ruin  44.5%  >=41% drawdown  89.5%  median max DD  85.9%  median final    63000
 frac   0.01    161 hands -> ruin   0.0%  >=41% drawdown   0.0%  median max DD  12.5%  median final    98620
 frac    0.1    161 hands -> ruin   0.0%  >=41% drawdown  99.6%  median max DD  81.5%  median final    46544
fixed 10000.0   1000 hands -> ruin  81.5%  >=41% drawdown  99.4%  median max DD  95.9%  median final     6500
 frac   0.01   1000 hands -> ruin   0.0%  >=41% drawdown  23.4%  median max DD  33.1%  median final    87853
 frac    0.1   1000 hands -> ruin   0.0%  >=41% drawdown 100.0%  median max DD  99.9%  median final      553
fixed 10000.0  10000 hands -> ruin  98.0%  >=41% drawdown 100.0%  median max DD  97.5%  median final     5500
 frac   0.01  10000 hands -> ruin   0.0%  >=41% drawdown 100.0%  median max DD  85.0%  median final    23619
 frac    0.1  10000 hands -> ruin  99.2%  >=41% drawdown 100.0%  median max DD 100.0%  median final        0

6.1 Where my own 161 hands actually stood

From 2026-07-22 to 2026-08-20 I ran 30 days and 161 hands with a 100,000 bankroll. The rule was an LSTM threshold of 0.65 plus doubling the stake to a 20,000 cap after seven consecutive wins, on a 10,000 base stake.

Here is what the simulation says about that:

RuleRuin probability over 161 handsDrawdown of 41%+Median max drawdownMedian final balance
Fixed 10,000 (my base stake)44.5%89.5%85.9%63,000
Flat 1% of current bankroll0.0%0.0%12.5%98,620
Flat 10% of current bankroll0.0%99.6%81.5%46,544

My actual drawdown on D14 was -41% (from 53,969 cumulative down to 32,022).

The simulation says that under the same stake rule, the median maximum drawdown over 161 hands is 85.9%.

Which means my -41% was on the lucky side of the distribution. It was not "I controlled the risk" - it was "luck happened to be on my side that day".

When I wrote that diary I described the -41% as a moment I "rode out". Now that I have run the simulation, all I can say is: at my stake size, a drawdown of -41% had an 89.5% probability, and a drawdown of -85.9% was the median.

6.2 Does a smaller stake help? Yes, it just changes how you die

I have to say this part fully, otherwise I am just misleading you in the other direction.

Flat 1% ends the 161 hands with a median balance of 98,620 - almost nothing lost. But look at the 10,000-hand row:

In time terms: at 60 hands/hour (already generous), 10,000 hands is seven straight days without stopping.

StakePer handExpected cost per hourExpected cost over 7 straight days
1% of bankroll1,000634.79106,565
2% of bankroll2,0001,269.58213,130
5% of bankroll5,0003,173.96532,825
10% of bankroll10,0006,347.911,065,650

The calculation is simply: expected loss per hand = stake x 1.058%, times 60 hands per hour.

What a 1% flat stake really buys you is time to see that you are losing.

It does not change the sign of the expected value (still -0.0106% per hand); it swaps "blow up" for "fade slowly", which gives you the chance to stop when you notice something is wrong with the rules.

And a 10% stake - my level that month - has an expected burn of 1.06 million over seven days. For someone with a 100,000 bankroll, that is not a strategy that survives a week.

7. Was my +208,374.92 just luck?

Back to that diary. Bankroll 100,000, 161 hands, 105 wins and 56 losses, net +208,374.92, ROI +208.4%.

The number is real. Today's question is different: in a game with negative expected value, how rare is it?

7.1 A luck test under the null hypothesis

I ran 20,000 paths assuming all 161 hands were bet on Banker (0.95:1, EV -1.058%) and asked how often my stake rule produced at least +208,374.92:

Assumed stake ruleHits in 20,000 pathsp-valueMedian P/Lp95
My original rule (10k base + 20k carry)530= 0.0265-18,000+177,000
Fixed 10,000 (Banker)486= 0.0243-17,500+170,000
Fixed 10,000 (Player)669= 0.0335-20,000+180,000
5% of current bankroll161= 0.0081-23,197+98,616
1% of current bankroll0< 0.00005-2,424+17,756
p = 0.0265 means roughly one in 38 people will produce a +200,000 result over 161 hands.

That is not "impossible", but it is also definitely not evidence that AI works - 161 hands cannot separate luck from edge.

Compare the win rate from the diary: 105/161 = 65.2%, with a Wilson 95% interval of 57.6% to 72.1%. The interval is 14.5 points wide, and the true Banker value of 45.86% sits outside it - which looks significant, but the width of that interval is itself the evidence that my sample was too small.

So my line in that article - "a 30-day ROI of +208.4% is in the top 1%" - was wrong. It was not the top 1%. It was the top 2.65%. And in a population of thousands of bettors, you meet one of those every week.

7.2 A data-definition problem I found in my own record

While working on this I checked one more number, and it made me uncomfortable.

In 161 hands, there was not a single tie.

The tie rate for a standard 8-deck shoe is 9.5156%, so the probability of zero ties in 161 hands is (1 - 0.095156)161 = 1.02 x 10-7.

That is far too small to be coincidence. Three possibilities:

I cannot recover which from the original spreadsheet, because the reproduction code in that article was itself a simplification (it used something like win = hand < day['wins'] to simulate, with no separate tie field).

Either way the conclusion does not change, and it gets simpler: 161 hands cannot support any conclusion about whether "the AI works".

That is one reason I am writing this article. If 161 hands cannot even establish whether there were ties, what exactly was it proving about the win rate?

To be fair, that does not mean the diary was fabricated - every moment in it (the sleepless night on D14, the five carry triggers) really happened. It just does not answer "what do these 161 hands mean statistically", and at the time I believed it did.

8. So what is the software actually good for

In Does Baccarat Analysis Software Actually Work? I gave three scores: prediction 0.5, position limit 5, ability to stop 4. This article supplies the mathematics behind that 0.5.

8.1 Expected value: software cannot change it

Expected value is set by the rules. No signal, no model, no neural network can change the -1.06%.

That is the hardest conclusion in this article, and the one I am most willing to repeat ten thousand times.

8.2 Variance and time-to-ruin: software can change this, and it is the entire value

Section 6 shows that in a negative-EV game the only variable left is variance. And variance can be managed:

Look at the numbers: under the fixed 10,000 rule the ruin probability over 161 hands is 44.5%. Add one hard limit - "stop when the bankroll drops below 40% of the start" - and the ruin probability goes to zero, because you stop before the ruin instead of during it.

That is why I gave position limits a 5 out of 5.

In a game whose expected value is permanently negative, the only rational strategy is "stay alive long enough to see that you are losing".

And "staying alive" can be parameterised - that is the whole value a tool can provide, and the whole value.

The 0.5 I gave prediction in my last article means exactly this. This one completes the mathematical case.

8.3 The relationship between software and signals in one sentence

A signal decides which side you pick (which barely matters when your only options are -1.06% and -1.24%); software decides how long you last (which decides everything).

9. My advice, and one uncomfortable conclusion

9.1 If you are playing right now

9.2 The uncomfortable conclusion

If your product is "an AI predictor that raises your win rate", it has no mathematical footing.

Saying so does not help me - we build exactly that kind of product. So I would rather say it properly:

The real value of prediction is close to zero, but it is not zero. It can pick between "Banker" and "Player", which is worth 0.18 percentage points. It can give you a psychological anchor for "should I stop now". It cannot turn a negative expectation into a positive one.

So the product should be positioned as "a tool that keeps you alive longer and stops you from stacking losses", not "an AI that wins you money".

Being straight about this is worth more to users than a good-sounding story. It is also why I keep publishing my own failures - my 30-day diary, my -41% drawdown. When I lay my mistakes out, you can judge whether this time I am telling the truth.

9.3 Three sentences to close

First, the expected value is negative, and that negative sign does not change because you have AI. Banker -1.06%, Player -1.24%, Tie -14.36% - I computed each one twice, by 1M-hand simulation and by exact enumeration.

Second, the Kelly fraction is 0, because it has to be. For the EV to turn positive the Banker win rate must rise from 45.8597% to 46.4023%, and even if it did, you would need 54,659 hands to prove it statistically.

Third, what decides your outcome is your stake size, not your signal. Over the same 161 hands the median drawdown is either 85.9% or 12.5%, depending on one number only.

1,000,000 hands. 2,406 rule combinations. 20,000 luck paths. 1,000 ruin paths.

Those are not small numbers, but the conclusion is one sentence: work out your expected value at this table before you decide whether to bet. If the answer is negative and you still want to play, drop the stake below 1% and hard-code your stop-loss.

Want to run it yourself?

Both scripts in this article are copy-and-run: the simulator takes about 13 seconds for 1,000,000 hands, and the ruin simulation about 90 seconds for 9 cells of 1,000 paths. BaccAI offers a free trial with no card required - you can back-test your own history, hard-code your limit parameters, and then decide whether you want the prediction feature at all. Based on this article, prediction is the least valuable item on the menu; limits are the one that matters.

Start your free trial →
Last honest word: there is no magic method in this piece - just someone who got the drawing tableau wrong, got caught by brute force, and is trying to push the question "can AI raise your win rate" all the way down to the last number.

If you are deciding whether to buy a tool like this, I hope your first question is the same as mine - not "how accurate is it" but "in a game with a permanently negative expected value, can it buy me a few more hands".

The second question is much harder, and it is the only one that decides whether you eventually lose money you could afford to lose.