Spider Solitaire card probabilities
By Spider Solitaire Online Editorial Team · Published
About 56.8% of opening rows show at least one King and 43.2% show no Ace. The opening position offers 6.45 legal moves on average, and about 1 deal in 170 offers none. All figures are exact counts checked against 20,000 dealt games.
Some questions about Spider Solitaire have exact answers that come from counting. How likely is it that a King shows up on the first row? That no Ace does? How many moves should the opening position offer? This page answers those with the arithmetic shown, and then checks each answer by dealing thousands of real games on the same engine you play on. Where a number is estimated by sampling rather than calculated, it is marked.
The setup
The standard game uses 104 cards: two decks. There are 13 ranks, and each rank appears 8 times, which is true for any suit count because the 104 cards are always eight copies of each rank spread over one, two or four suits. After shuffling, the ten columns each show one face-up card at the start. Those ten cards are a random selection of 10 from the 104, and every possible selection of ten is equally likely. Because we are asking about ranks only, the answers on this page are the same for one, two and four suits.
At least one King in the opening row
There are 8 Kings and 96 other cards. The chance that none of the ten face-up cards is a King is the number of ways to choose all ten from the 96 non-Kings divided by the number of ways to choose any ten from the 104:
C(96, 10) / C(104, 10)
That comes to about 0.432, so the chance of at least one King is about 56.8 percent. We checked it by dealing 20,000 games with the engine: 56.9 percent had a King showing. A King on top matters because it can only ever move to an empty column, so an exposed King is a card you will not be moving soon.
No Ace in the opening row
The same arithmetic applies to Aces, since there are also 8 of them. The chance that no Ace shows is again 43.2 percent, and the chance of at least one is 56.8 percent. The sampled figure from 20,000 deals was 43.2 percent with no Ace. On average, 10 × 8 / 104 = 0.77 Aces are visible in the opening row, and the sample average was 0.769.
The last stock deal
The final ten cards you will deal from the stock are also a random ten of the 104, so the chance that at least one is an Ace is the same 56.8 percent, and we confirmed it by sampling. This is less useful than it sounds. You cannot see those cards or change them.
How many Kings, and where
Because Kings are the cards that can only go to empty columns, it is useful to know how they are spread. The count of Kings in any fixed group of positions follows the hypergeometric distribution, which is the same counting argument as above. We computed it exactly for three groups and checked each against 20,000 engine deals (the check passes within four standard errors for every cell). The table shows the chance of finding exactly this many Kings in:
| Kings | Opening row (10 cards, face up) | Hidden tableau cards (44, face down) | Stock (50, face down) |
|---|---|---|---|
| 0 | 43.2% | 1.0% | 0.4% |
| 1 | 39.7% | 6.6% | 3.4% |
| 2 | 14.2% | 18.4% | 12.3% |
| 3 | 2.6% | 28.1% | 24.1% |
| 4 | 0.2% | 25.7% | 28.3% |
| 5 | 0.01% | 14.4% | 20.4% |
Counts of six or more are possible but rarer (the remaining shares are not shown). The averages are 0.77 Kings in the opening row, 3.38 among the 44 hidden tableau cards and 3.85 in the stock. Three things follow. Nearly every game, 99 percent, hides at least one King under other cards in the tableau, and the typical game hides between three and four. Almost every game, 99.6 percent, has at least one King waiting in the stock. And a King will arrive in the stock deals for you to place whether you like it or not.
The same arithmetic holds for any rank, because every rank has eight copies. Aces, the card every run ends on, are distributed identically.
Does position matter?
A common feeling is that Kings tend to sit at the bottom of columns or that the left-hand columns are luckier. If the shuffle is fair, no position is special. The chance that a given card slot holds a King is 8/104, or 7.69 percent, wherever it is. We counted the bottom card (the first card dealt) of every column over 20,000 deals: a King was there 7.68 percent of the time, and for the first column alone 7.61 percent and for the last column 7.73 percent. All three are within sampling noise of 7.69 percent. The apparent patterns people notice are real in a particular game and meaningless across games.
Ten different ranks in the opening row
How likely is it that all ten visible cards have different ranks? There are 13 ranks. Choose 10 of them in C(13, 10) = 286 ways, and for each rank choose which of its 8 copies appears, 8 ways each. The count is 286 × 810, divided by C(104, 10):
C(13, 10) × 8^10 / C(104, 10)
The result is about 1.18 percent (sampled: 1.06 percent over 20,000 deals, within the range expected from sampling noise). A row with ten distinct ranks has a lot of variety but few matches, since it takes two cards of consecutive ranks to make a move.
How many moves does the opening offer?
At the start each column shows one card, so a legal move is a pair of columns where the card on one is exactly one rank below the card on the other. For two distinct columns i and j, the chance that the rank of j is one more than the rank of i is the number of rank pairs (12, from Ace-Two up to Queen-King) times the chance of each pair:
12 × (8/104) × (8/103)
There are 90 ordered pairs of columns, so the expected number of opening moves is 90 × 12 × 64 / (104 × 103), which equals 6.45. The engine says: average 6.47 over 20,000 deals, in agreement. Here is how the 20,000 deals divided by the number of opening moves they offered (sampled):
| Opening moves | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 or more |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Share of deals | 0.6% | 0.9% | 2.7% | 5.0% | 9.2% | 13.5% | 19.3% | 17.8% | 14.1% | 8.6% | 4.4% | 3.9% |
The most common opening has six or seven moves available. About one deal in 170 (0.59 percent, plus or minus 0.05) opens with no tableau move at all, so the first thing you can do is deal from the stock. Only a small share of openings are cramped, and about one in six has nine or more moves.
These counts include moves that are poor ideas and moves that have the same effect as another. They count what is legal, not what is good.
Where the arithmetic stops being simple
After the first move, the position depends on which face-down cards come up, and counting becomes very hard. For this reason, questions like "how likely is a deal to be winnable" cannot be answered by formula; they have to be estimated by running programs, and even then only for the player the program represents. Our attempts to measure this are on the win rates page.
All the headline figures in one place
| Question | Exact | Sampled (20,000 deals) |
|---|---|---|
| At least one King in the opening row | 56.78% | 56.89% |
| No Ace in the opening row | 43.22% | 43.16% |
| Ten distinct ranks in the opening row | 1.18% | 1.06% |
| Aces in the opening row, average | 0.769 | 0.769 |
| Legal opening moves, average | 6.45 | 6.47 |
| No legal opening move | not computed | 0.59% (plus or minus 0.05) |
The "no legal opening move" figure is only sampled because the exact count needs a longer calculation that we have not done. We label it that way on purpose.
Common misreadings
- "The game is rigged against me." The odds above are what a fair shuffle produces. A run of poor openings is normal: one deal in about 170 has no opening move, and you will meet one sooner than you expect if you play a lot.
- "I am due a good deal." Each deal is independent. A fixed seed gives a fixed layout, and the seed for your next random game is chosen without reference to the last.
- "A King on top means a bad game." It means one card is parked. More than half of all deals start that way, and plenty of them are won.
- "Opening odds predict winning." They describe the first ten cards only. We have not measured any link between the opening row and whether a deal can be won, so we do not claim one.
How the numbers were checked
Each figure on this page has an exact value calculated with whole-number arithmetic (BigInt), so there is no rounding in the counting. Each was then compared with the result of dealing 20,000 games from seeds 1 to 20,000 using the real engine. For the proportions, the check passes if the sampled figure lies within four standard errors of the exact one; for the averages, within a small fixed tolerance. If a check fails, the script reports it and exits with an error, so a bug in the shuffle would show up here. The scripts are scripts/compute-probabilities.ts and scripts/compute-opening-moves.ts, and the results are saved under data/simulations/.
One consequence is worth stating. These results test that the shuffle is statistically fair for the questions asked: if the shuffle favoured any rank, the proportions would drift from the calculated values. They do not prove the shuffle is perfect in every respect. See how deals are shuffled for the method itself.
What to take from it
- More than half of all openings show a King, so expect to start with at least one card that cannot move yet.
- Roughly six or seven opening moves are normal. If you see far fewer, deal-timing advice changes: see when to deal.
- Hardly any games open with no move at all, so a stuck start is rare.
- The odds above describe the first row. They say nothing about how the game develops, which is where skill matters, as the opening moves guide explains.