Probabilities of Baccarat by Simulation: Weicheng Zhu, Changsoon Park
Probabilities of Baccarat by Simulation: Weicheng Zhu, Changsoon Park
Probabilities of Baccarat by Simulation: Weicheng Zhu, Changsoon Park
117
2012, Vol. 19, No. 1, 117–128
a
Department of Statistics, Chung-Ang University,
Abstract
In Baccarat, the gambler can bet on either the Player or Banker. The only gambler’s strategy is to consider
the previous winning history on the round. The winning probabilities of Player or Banker are calculated by
simulation using R. Conditional winning probabilities given that Player or Banker has won i consecutive times
are also calculated by simulation. Conditional winning probability implies that the sequence of Baccarat results
is an almost independent sequence of events. It has been shown that the total amount of returns in each round of
games is almost identical to a random walk. Thus, one possible strategy is to catch the trend(the Player or the
Banker) of the random walk and to bet on that side of the trend.
Keywords: Baccarat, winning probability, conditional probability, simulation, R.
1. Introduction to Baccarat
1.1. How to play Baccarat
Baccarat is a glamorous game with flexible limits, where the gambler decides to bet on Player(Note,
Player does not mean the gambler) or Banker. The one which has the higher score, will be the winning
hand. The minimum score is 0 and the maximum score is 9. There are various types of Baccarats,
such as chemin-de-fer, baccarat-banque and punto banco. Among them punto banco is the most
frequently played game. In this paper only punto banco is considered, and its playing method and
rules are explained in the following subsection. More details about the game can be found in Baccarat
(2000, 2010), and Tutorial-How to play Baccarat (2001).
• Player’s rule
This work was supported by National Research Foundation of Korea Grant funded by the Korean Government(2009-
0073336).
1 Corresponding author: Professor, Department of Statistics, Chung-Ang University, Huksuk-Dong, Dongjak-Gu, Seoul
If Player has an initial total of 0–5, a third card is drawn. If Player has an initial total of 6 or 7, it
stands.
• Banker’s rule
− If Player stands(i.e., has only two cards), Banker regards only his own hand and acts according
to the same rule as the Player. That means a third card is drawn if Banker has 0–5 and it stands
if Banker has 6 or 7.
− If Player draws a third card, Banker acts according to the following more complex rules:
∗ If Player draws a 2 or 3, Banker draws if it has 0–4, and stands if it has 5–7.
∗ If Player draws a 4 or 5, Banker draws if it has 0–5, and stands if it has 6–7.
∗ If Player draws a 6 or 7, Banker draws if it has 0–6, and stands if it has 7.
∗ If Player draws an 8, Banker draws if it has 0–2, and stands if it has 3–7.
∗ If Player draws an ace, 9, 10, or picture card, Banker draws if it has 0–3, and stands if it has
4–7.
The croupier will deal the cards according to the tableau and the croupier will announce the winning
hand, either Player or Banker. Losing bets will be collected and the winning bets will be paid accord-
ing to the rules of the house. Usually, winning bets on the Player are paid at even money and winning
bets on Banker are paid 0.95 of the amount bet, a 5% commission is paid to the house (Commission
Baccarat). For ‘No Commission Baccarat’ game, all winning bets on Banker are paid even money
with one EXCEPTION when Banker wins with hand 6. In that case 50% commission is paid to the
house. (For example: $100 winning bet on Banker will earn you $50).
However, if both Banker hand and Player hand have the same points at the end of the deal, it is a
‘Tie’ or ‘Draw’ game. All bets on Tie will be paid at 8 to 1 odds and all bets on Player and Banker
remain in place and active for the next game (the gamer may or may not be able to retract these bets
depending on casino rules).
So Baccarat is strictly a game of chance, with no skill or strategy involved; each player’s moves
are forced by the cards the player is dealt. In this paper we will examine this game from a probabilistic
point of view through simulation.
Examples of studies of the Baccarat game in the literature are Kemeny and Snell (1957), Thorp
and Walden (1966, 1973) and Dowonton and Lockwood (1975, 1976) where some Baccarats with
different rules to punto banco are studied, such as chemin-de-fer, baccarat-banque. But in this paper
we consider punto banco only.
2. Simulation Using R
2.1. Outline
We use the open source and free software R to do the simulation of Baccarat. In this simulation, based
on that the game starts with 8 decks of shuffled cards and ends when the number of the cards is less
than 52, we call it a ‘round’. Each game in a ‘round’ is called a ‘play’.
We will stand in the perspective of Player: if we say ‘win’, it means Player wins and ‘lose’ means
Player loses and the Banker wins.
The algorithm of generating all score pairs of Player and Banker is shown in Figure 1.
Baccarat 119
x: is a randomly ordered vector consisted with 32 number of 1’s to 9’s and 128 number of 0’s.
lim: denotes the upper limit of the cards which can be used in one round. It is defined as 52 × 8 − res,
where res is at least how many cards should be left in a round.
mat: is a matrix with two columns used to store all the paired scores gotten in one round.
p: stands for the score of Player and b stands for the score of Banker.
Table 2: Estimated p values and their standard deviations with ‘Tie’ plays omitted
Player p̂ s.e.
win 0.492299 0.000611
lose 0.507701 0.000611
● ● ● ● ● ● ● ● ● ●
8 ● ● ● ● ● ● ● ● ● ●
● ● ● ● ● ● ● ● ● ●
6 ● ● ● ● ● ● ● ● ● ●
probability
● ● ● ● ● ● ● ● ● ●
●
0.005
banker
● 0.010
4 ● ● ● ● ● ● ● ● ● ● ● 0.015
● 0.020
● ● ● ● ● ● ● ● ● ●
2 ● ● ● ● ● ● ● ● ● ●
● ● ● ● ● ● ● ● ● ●
0 ● ● ● ● ● ● ● ● ● ●
0 2 4 6 8
player
If bet on Banker
We can note, all the expected incomes are negative which means the gambler is expected to lose
money on the average. One interesting thing of note from a psychological aspect is that people would
like to play no commission baccarat; however, in fact commission baccarat would have a higher ERP.
122 Weicheng Zhu, Changsoon Park
800
800
800
1000
600
600
600
600
400
400
400
200
200
200
200
0
0
0 2 4 6 8 0 2 4 6 8 0 2 4 6 8 0 2 4 6 8
1400
1400
800
800
600
1000
1000
600
400
400
600
600
200
200
0 200
0 200
0
0 2 4 6 8 0 2 4 6 8 0 2 4 6 8 0 2 4 6 8
player=8 player=9
1000
1000
600
600
200
200
0
0 2 4 6 8 0 2 4 6 8
Ni+ : number of plays under the condition of i consecutive wins for Player
Xw|i+ : number of wins under the condition of i consecutive wins for Player
Xl|i+ : number of loses under the condition of i consecutive wins for Player
Xt|i+ : number of ties under the condition of i consecutive wins for Player
pw|i+ : probability of win under the condition of i consecutive wins for Player
pl|i+ : probability of lose under the condition of i consecutive wins for Player
pt|i+ : probability of tie under the condition of i consecutive wins for Player
Baccarat 123
Table 3: Probabilities and standard errors under the condition of i consecutive wins for Player
i+ p̂w|i+ s.e. p̂l|i+ s.e. p̂l|i+ s.e.
1 0.444635 0.001164 0.460307 0.001168 0.095058 0.000687
2 0.447014 0.001759 0.457957 0.001763 0.095029 0.001038
3 0.445899 0.002652 0.459051 0.002659 0.095050 0.001565
4 0.448404 0.004018 0.454996 0.004023 0.096599 0.002387
5 0.438688 0.006046 0.463925 0.006076 0.097387 0.003612
6 0.435712 0.008992 0.461690 0.009040 0.102598 0.005502
7 0.449106 0.013865 0.466200 0.013905 0.084693 0.007761
8 0.443299 0.020592 0.470790 0.020690 0.085911 0.011616
9 0.401575 0.030759 0.488189 0.031364 0.110236 0.019651
10 0.441176 0.049164 0.480392 0.049469 0.078431 0.026620
Table 4: Probabilities and standard errors under the condition of i consecutive wins for Player(‘Tie’ plays
omitted)
i+ p̂w|i+ s.e. p̂l|i+ s.e.
1 0.492478 0.001223 0.507522 0.001223
2 0.494538 0.001758 0.505462 0.001758
3 0.494206 0.002523 0.505794 0.002523
4 0.494803 0.003641 0.505197 0.003641
5 0.487082 0.005197 0.512918 0.005197
6 0.492200 0.007411 0.507800 0.007411
7 0.481673 0.010832 0.518327 0.010832
8 0.466730 0.015381 0.533270 0.015381
9 0.482625 0.021955 0.517375 0.021955
10 0.495614 0.033112 0.504386 0.033112
where pw|i+ , pl|i+ , pt|i+ ∈ (0, 1), and pw|i+ + pl|i+ + pt|i+ = 1. So random variables Xw|i+ , Xl|i+ , Xt|i+ follow
a multiomial distribution.
( ) ( )
Xw|i+ , Xl|i+ , Xt|i+ ∼ Multi Ni+ , pw|i+ , pl|i+ , pt|i+ .
0.7
0.6
0.5
0.4
^
p
0.3
0.2
0.1
0.0
2 4 6 8 10
Table 5: Probabilities and standard errors under the condition of i consecutive losses for Player
i− p̂w|i− s.e. p̂l|i− s.e. p̂l|i− s.e.
1 0.444550 0.001161 0.460074 0.001164 0.095376 0.000686
2 0.445301 0.001726 0.460035 0.001731 0.094664 0.001017
3 0.446477 0.002563 0.458465 0.002569 0.095058 0.001512
4 0.443371 0.003802 0.458304 0.003813 0.098325 0.002279
5 0.448370 0.005668 0.455903 0.005676 0.095727 0.003353
6 0.443931 0.008447 0.459827 0.008473 0.096243 0.005014
7 0.452806 0.012571 0.447066 0.012556 0.100128 0.007580
8 0.443284 0.019192 0.459701 0.019254 0.097015 0.011435
9 0.412371 0.028857 0.477663 0.029281 0.109966 0.018339
10 0.417219 0.040128 0.463576 0.040581 0.119205 0.026369
Table 6: Probabilities and standard errors under the condition of i consecutive losses for Player(‘Tie’ plays
omitted)
i− p̂w|i− s.e. p̂l|i− s.e.
1 0.490697 0.001222 0.509303 0.001222
2 0.491793 0.001729 0.508207 0.001729
3 0.493701 0.002444 0.506299 0.002444
4 0.489602 0.003456 0.510398 0.003456
5 0.499903 0.004921 0.500097 0.004921
6 0.496957 0.006895 0.503043 0.006895
7 0.502278 0.009742 0.497722 0.009742
8 0.491857 0.014266 0.508143 0.014266
9 0.489185 0.020391 0.510815 0.020391
10 0.498452 0.027821 0.501548 0.027821
Similarly, the probabilities of the outcomes for Player under the condition of consecutive i loses
are shown in Table 5 and Table 6.
Figure 5 shows the 95% confidence intervals for each conditional probability(the probability of
win and lose are calculated with ‘Tie’ plays excluded).
Baccarat 125
When comparing Table 3 and Table 5 with Table 1, we can find that the conditional probabilities
are consistent with consecutive wins or loses. This implies almost independence of the game in
probability. Therefore the previous outcomes have no effect to the next outcome. In theory, it is
meaningless to decide which side to bet on according to the outcome sheet.
The simulation results are shown in Table 9. Compare Plan 4 with Plan 3, we note that the ‘follow’
method seems to be better than the ‘alternative’ method, because all the losing game probabilities are
relatively smaller for the ‘follow’ method.
Also let
∑
t
S0 = 0 and St = B jZ j.
j=1
Baccarat 127
20 2 4 6 8
0
6
6
8
2
−4
2
2
−6
2
1 −6 −2
4
6 −10
0−12
8 −2
−5 −4
−2
−2 2 −2
0
4
−2
−6
−2
−2
0
0
−20
5 −6
−12
4 −2
−4
0 −8
−6
4 −4
−5
6
6
−5
−5
3
0
−2
1
0 −8 −4
2
2
0 2 4−15
−6
2 4 −15
−2
0 −8
4 −2
4 −4
−2
6
0
6
8
−4
−4
0
0
2
4
2 4 60 2 4 6 8 −10
0 −8
−4
0−10
0
8−2
0−4
0−4
8 −2
4
4
−4
−6
−6
0
4
2 −4 0
−10
0
−1 0 2 4 6 8 −5
10−8
−12
−12
5−4
140
4
3
5 10
6
8
0
−2
1
2
4
0
−6
0−2
−4 0 −2
−4 0 −6
0 −2
0−2
4 0
5 10
0
−4
5−20 −10
−4
0
2 4 −5 0
−10
−10
5−10
−10
0 2 −10
−5 0−4
−7
4
0
−2 2
3
−5
−8 −4
1
2
4
0 −15
12 −2
−15
0 2 −2
0 −8
2−4
8 −2
0
2
8
0
8
4
−4
−2
−6 −2
4
4
6 −4 0
0 −10
0 −4
−10
0 −10
0
5−6
4 0
5
−5
−5
−5
−6
−4
−5 0
0
2
−15
−12
−10
−15
−4
−10
−15
−2
Then S t denotes the total amount of returns for the Player after t number of runs.
In the previous section, we have shown that the game result is almost independent of the previous
game results. Thus we may consider that random variables {Z1 , Z2 , . . .} are approximately iid. The
amount of the bets {B1 , B2 , . . .} will be determined by the gamer. If the gamer bets b units to the Player
at game t, then Bt = b. If the gamer bets b units to the Banker, then Bt = −b. The amount of the bet
made by the gamer will be determined right before each game; however, it has been shown that there
is no winning strategy in Baccarat in previous sections. Thus we assume
B j = b.
That is, we bet a constant amount to the Player every time. Then the series {S t } is almost identical
to a simple random walk.
Note that the random walk is a typical nonstationary stochastic process. Every random walk
wanders away from the origin and is never guaranteed to return to the origin. The trajectory of S t is
illustrated in Figure 5 where the amount of the bet is a single unit, that is b = 1. In Figure 5, there
are 100 panels, where each panel denotes the trajectory of a single round of Baccarat and the parallel
line denotes the origin 0. As is seen in the figure, there is no round where the trajectory is always up
and down about the origin. However, most of the panels the general shape of the trajectory shows two
types typically. One type is to keep increasing (or decreasing) until the end of the round. The other is
to keep increasing (or decreasing) for a certain period of time and then keep decreasing (or increasing)
until the end of the round. This is a typical behavior of the simple random walk. Let the increasing
128 Weicheng Zhu, Changsoon Park
trend in a certain period of times be the Player trend, and the decreasing trend be the Banker trend,
for convenience.
Considering the similarity to the random walk of the game results, we may think that a possible
good strategy for the Baccarat is to catch the trend of the trajectory at each round and bet (almost)
continuously to the winning trend(the Player trend or the Banker trend). As long as the game is
thought to be in the middle of the Player trend, bet on the Player side. As long as the game is thought
to be in the middle of the Banker trend, bet on the Banker side. Otherwise, do not bet or reduce the
amount of the bet until any trend(either the Player or the Banker) is caught. However catching the
trend also corresponds to one of the game of chance as is the Baccarat itself. Surprisingly, it can be
easily seen that the strategy has been used by most gamers in practice, whether or not they know this
stochastic properties of the game results.
4. Conclusions
Baccarat is a popular but simple casino game. Gamblers hope to win the game and casinos want to
have an advantage over the gamblers. In any casino game, the expected return for gambler is always
negative due to the pre-determined odds. Despite the odds, players want to find whether there is any
rule to win the game. We tried to find some winning rules by calculating the conditional probabilities;
however, the simulation results show that no winning rule exists. The only possible winning strategy is
to catch the trend(either the Player or the Banker) and to bet on that side. In every casino game, there
should be no winning rule, otherwise, casinos will be bankrupt. Although the probabilistic results
provide nothing different from our guess, it was meaningful to verify our guess as well as to calculate
the expected return per play.
References
Baccarat (2000). Available from: http://baike.baidu.com/view/154935.htm
Baccarat (2011). Wizard of Odds Consulting. 1 March 2011. Retrieved 24 June 2011
Downton, F. and Lockwood, C. (1975). Computer studies of baccarat, I: Chemin-de-fer, Journal of
the Royal Statistical Society, Series A (General), 138, 228–238.
Downton, F. and Lockwood, C. (1976). Computer Studies of Baccarat, II: Baccarat-Banque, Journal
of the Royal Statistical Society, Series A (General), 139, 356–364.
Kemeny, J. G. and Snell, J. L. (1957). Game-Theoretic Solution of Baccarat, American Mathematical
Monthly, 114, 465–469.
Thorp, E. O. and Walden, W. E. (1966). A Favorable side bet in the Nevada Baccarat, Journal of the
American Statistical Association, 6, 313–328.
Thorp, E. O. and Walden, W. E. (1973). The fundamental theorem of card counting with applications
to Trente-et-Quarante and baccarat, International Journal of Game Theory, 2, 109–119.
Tutorial - How to play Baccarat (2001). Gambling Info. Retrieved 24 June 2011