The mathematics of blackjack
Why blackjack is the one casino game where decisions change the odds, how basic strategy was discovered, and what card counting really does.
1. A game with memory
Roulette spins and dice rolls are independent: the past does not affect the future. Blackjack is different. Cards that have been dealt are gone until the shuffle, so the composition of the remaining deck changes the probabilities of every future hand. This single fact makes blackjack the most studied casino game in mathematics.
2. Basic strategy: the optimal decision for every hand
For each combination of your hand and the dealer's visible card, there is one action (hit, stand, double, split or surrender) with the highest expected value. The full table of those actions is called basic strategy. In 1956, four US Army engineers, Baldwin, Cantey, Maisel and McDermott, worked it out using desk calculators and published it in the Journal of the American Statistical Association. Later computer simulations confirmed their table was almost exactly right.
With typical rules, basic strategy lowers the house edge to roughly half a percent. A player who plays by hunch typically faces an edge several times larger.
3. Reading the dealer's card
Many basic strategy decisions follow from one idea: how likely is the dealer to bust? The dealer must keep hitting until reaching 17. When the dealer shows a 5 or 6, the dealer busts roughly 42% of the time, so you often stand on weak totals like 13 and let the dealer take the risk. When the dealer shows a 10 or an ace, the dealer busts far less often, so you need to improve your own hand.
4. A worked example: insurance
When the dealer shows an ace, you are offered insurance, a side bet paying 2 to 1 if the dealer has blackjack. In a deck with no cards removed, the chance the hidden card is a ten-value card is 16/52 = 4/13, about 30.8%:
EV(insurance per $1) = (4/13) × 2 + (9/13) × (−1)
= 8/13 − 9/13
= −1/13 ≈ −7.7%That is why basic strategy says never take insurance. It only becomes profitable when more than one third of the remaining cards are tens, which brings us to card counting.
5. Card counting
In 1961 the MIT mathematician Edward Thorp published a three-page paper in the Proceedings of the National Academy of Sciences showing that tracking removed cards can give the player an edge. Small cards (2 to 6) help the dealer and high cards (10s and aces) help the player, mainly because blackjack pays 3 to 2. The popular Hi-Lo system counts +1 for each 2 to 6, 0 for 7 to 9 and −1 for each 10 or ace. Dividing the running count by the number of decks left gives the true count. Each +1 of true count shifts the edge by roughly half a percent toward the player. Counters then size their bets with the Kelly criterion (Kelly, 1956) to grow their bankroll without going broke.
6. Variance
Even with a small edge, results swing wildly. The standard deviation of a single blackjack hand is a little over one betting unit, so a counter with a 1% edge needs many thousands of hands before skill reliably outweighs luck.
References and further reading
Peer-reviewed research behind this page. Links open the official publisher page; free PDFs are marked. Browse every source in our Research Library.
- Baldwin, R. R., Cantey, W. E., Maisel, H. and McDermott, J. P. (1956). The Optimum Strategy in Blackjack. Journal of the American Statistical Association, 51(275), 429 to 439.
Four US Army engineers computed blackjack basic strategy by hand with desk calculators. Their table is still almost identical to the one used today.
Read the paper ↗DOI: 10.1080/01621459.1956.10501334 - Thorp, E. O. (1961). A Favorable Strategy for Twenty-One. Proceedings of the National Academy of Sciences, 47(1), 110 to 112.
The MIT mathematician’s short paper proving that card counting can give a blackjack player an edge over the casino.
Read the paper ↗DOI: 10.1073/pnas.47.1.110 - Kelly, J. L. (1956). A New Interpretation of Information Rate. Bell System Technical Journal, 35(4), 917 to 926.
A Bell Labs physicist links information theory to betting and derives the Kelly criterion: the bet size that maximizes long-run growth.
Read the paper ↗DOI: 10.1002/j.1538-7305.1956.tb03809.x