In FreeCell, you shuffle a deck of 52 cards and deal them into eight columns. How many different ways can the cards be dealt? This article works out the number.

The Orderings of 52 Cards: 52 Factorial

To line up 52 cards in a row, there are 52 choices for the first card, 51 left for the second, 50 for the third, and so on. That makes 52 × 51 × 50 × … × 2 × 1 ways. This is called “52 factorial,” written “52!“.

Work it out and you get a number with 68 digits.

About 8.07 × 10 to the 67th power

FreeCell deals the cards in that order, one at a time starting from the left column, so there are also 52! ways to deal it. The size of the number of orderings is also explained in more detail in How Many Ways Can Solitaire Be Dealt?.

Grouping Effectively Identical Deals

In FreeCell, some deals look different but are solved in exactly the same way.

Swapping suits

The only things that matter in the rules of FreeCell are a card’s color (red or black) and its number. If you swap all the hearts and diamonds, swap all the spades and clubs, or swap all the reds and blacks, the solution stays the same. Counting doing nothing, there are 8 ways to swap like this.

Rearranging columns

Changing the order of the columns doesn’t change the solution. However, a 7-card column and a 6-card column can’t trade places, so you rearrange the four 7-card columns among themselves and the four 6-card columns among themselves. Each group can be rearranged 4 × 3 × 2 × 1 = 24 ways, so 24 × 24 = 576 ways.

Putting them together

8 × 576 = 4,608 deals belong to the same family with the same solution. Divide 52! by 4,608 and you get

About 1.75 × 10 to the 64th power (65 digits)

Even after grouping the families, there are still 65 digits.

How we countDigits
Orderings of 52 cards68
Effectively different deals65

The Windows 32,000 Deals Are a Tiny Fraction

The old Windows FreeCell had numbered deals from number 1 to number 32,000 (How the App Differs from Windows FreeCell). Among the 52! possible deals, 32,000 is a tiny fraction, less than one part in 10 to the 63rd power.

The FreeCell app doesn’t use numbered deals. It shuffles all 52 cards fresh every time. You will almost never meet the same deal twice. We checked 100,000 random deals, and every one of them had a solution (Almost Every FreeCell Deal Can Be Solved).

How We Calculated

52! was found by multiplying 1 through 52. The size of a family is the 8 suit swaps multiplied by the 576 column rearrangements. A very small number of deals turn back into the same deal when swapped, so the true number of “effectively different deals” is slightly more than 52! ÷ 4,608.