On this page
Seven odd shapes, 27 small cubes, one question: do they pack into a 3×3×3 cube? They do, and a little counting tells you where one piece must go before you touch anything.
What is the Soma cube puzzle?
The Soma cube was invented by the Danish polymath Piet Hein in 1933, during a lecture on quantum mechanics given by Werner Heisenberg. It reached a wide audience through Martin Gardner's Mathematical Games column in Scientific American in September 1958.
The pieces are all the irregular face-joined shapes you can make from at most four cubes. Each has an inside corner, which leaves out the straight bars and the flat 2×2 square. Following Wikipedia's piece list:
V: three cubes in a bent row.
L: a row of three with a cube under one end.
T: a row of three with a cube under the middle.
Z: a zigzag of four.
A and B: twisted pieces, mirror images of each other.
P: a corner cube with three arms.
Why is the total volume 27?
The seven Soma pieces are six polycubes of four cubes each and one of three. So the total volume is 6 × 4 + 3 = 27 unit cubes, exactly 3 × 3 × 3.
That match is necessary but not sufficient: equal volume does not mean the shapes fit together.
How many solutions does the Soma cube have?
There are 240 distinct solutions, excluding rotations and reflections. John Horton Conway and Michael Guy first identified all 240 by hand in 1961; MathWorld says they did it one rainy afternoon.
The number you see depends on what you call "different". A cube can be turned and mirrored in 48 ways, so counting each of those separately gives 48 × 240 = 11,520 arrangements. The Parker Brothers box went further and claimed 1,105,920 solutions, a figure that also counts each piece turned in place where its own symmetry makes that look identical.
For counting "up to symmetry" without listing every case, see our guide to Burnside's lemma for counting colourings.
Why must the T-piece lie along an edge?
Here is the counting argument, following the corner analysis summarised on Wikipedia. Look only at the 8 corner cells of the 3×3×3 cube. Every solution must fill all 8, so ask how many corners each piece can cover.
Number the rows 0, 1, 2. A corner has every coordinate 0 or 2, so no two corners touch.
V, Z, A, B and P can each reach at most 1 corner.
L can reach 2, with its row of three along an edge.
T reaches 2 corners or none: its middle and stem always have a coordinate equal to 1, and the two ends of its row are both corners or both not.
Without T, the other six pieces reach at most 5 × 1 + 2 = 7 corners, and T cannot cover exactly one.
So T covers 2 corners: its row of three runs along a whole edge.
Up to rotation and reflection, only one placement of the T fills two corners, and exactly one other piece covers one corner fewer than it could.
Can a checkerboard colouring say more?
Yes. Colour the 27 cells like a 3D chessboard. A common version of the set does this already, with 14 light cubes and 13 dark. The 14 light cells are the 8 corners and 6 face centres; the 13 dark ones are the 12 edge middles and the centre.
L, Z, A and B are chains of four, so each covers 2 light and 2 dark cells: 8 light in all.
V is a chain of three, so it covers 2 of one colour and 1 of the other.
T and P each have a cube touching three others, so each covers 3 of one colour and 1 of the other.
We need 14 light cells, so V, T and P must cover 6 between them. T plus P gives 2, 4 or 6 light cells, so V must give 2 and T plus P must give 4.
On its edge, T covers two corners and a face centre (light) plus one edge middle (dark): 3 light. So P covers exactly 1 light cell and 3 dark.
The same parity trick shows up in sliding puzzles too: see why the 15 puzzle with 14 and 15 swapped cannot be solved.
How should you try it yourself?
Glue 27 equal cubes (dice or wooden blocks) into the seven pieces.
Place the T first, its row along a bottom edge.
Fill the remaining corners next, since corners run out.
Check each piece against the 14 light, 13 dark count.
Then find a second solution that is not a turn or mirror of the first.
For more practice turning a counting idea into a proof, the Fermi Problem Library has worked problems with a step-by-step solver that explains the reasoning rather than printing an answer. For flat cousins of this puzzle, try our Class 7 guide to constructions and tilings.



