The Soma Cube: 240 Solutions and the Ones That Are Harder
Share
The Soma Cube: 240 Solutions and the Ones That Are Harder
Seven pieces. Twenty-seven cubes. One 3x3x3 box of space to put them in.
Beyond the cube: the Soma cube shapes tool has six other shapes the same seven pieces build, each with its exact solution count, plus a printable challenge sheet.
It is the most copied puzzle design of the twentieth century, the cube alone has 240 different correct answers, and people still cannot do it. Those two facts are related, and not in the way you would expect.

Watch: Seven Pieces, One Cube
One minute, one solution out of the 240. If you would rather find your own, skip it - the rest of this page explains how the puzzle works without giving an arrangement away.
What Is the Soma Cube?
The set is defined by a rule rather than chosen by taste, which is part of why it has lasted.
Take every way of gluing three or four unit cubes together face to face, then throw out any that come out straight or flat. What you have left - every small block with at least one inside corner - is exactly seven shapes. One of them is made of three cubes, the other six are made of four.
Three plus twenty-four is twenty-seven, which is a 3x3x3 cube exactly. That is not a coincidence the designer engineered afterwards. It falls out of the rule, and that is the elegance people have been repeating for ninety years.
What Is a Polycube?
A polycube is a solid made by gluing unit cubes together face to face, and it is the building block of this whole family of puzzles. Two cubes make a domino-like block, three make a tricube, four a tetracube.
The Soma set is exactly one tricube and six tetracubes, which is every way of joining three or four cubes that contains at least one inside corner. That is the whole design rule, and it is why the set feels complete rather than arbitrary: Piet Hein did not pick seven nice shapes, he took all the pieces that satisfy one condition, and the fact that they happen to total 27 cubes and so form a 3x3x3 cube is the discovery.
Polycubes turn up across the catalogue beyond Soma, which is covered in the wider guide to mechanical puzzles.
Is the Soma Cube a Packing Puzzle?
No, and the distinction matters more than it sounds.
A packing puzzle has a container. The box or tray is half the problem: it tells you the boundary, and a piece in the wrong place physically will not go in. An assembly puzzle has no container at all, and the Soma Cube is the archetype. Nothing holds the finished cube together but the pieces resting against one another, and it falls apart the moment you lift it wrong.
That absence is the difficulty. With a box you get feedback on every move. Without one you are holding seven solids with nothing to check yourself against until the last piece either goes or does not. The full distinction is in assembly puzzles explained.
Confusingly, several puzzles built from Soma pieces are packing puzzles, because a designer added a box. Soma Flop and Shrinking Soma are both Soma sets with a container and a restriction, which makes them a different kind of problem using identical pieces.
ExpertSoma FlopPack 7 Pieces Into the Box4+ hrs · $34.00
View full details →
ExpertShrinking SomaAnti-Slide Puzzle4+ hrs · $31.00
View full details →
Who Invented the Soma Cube?
It was invented by Piet Hein, a Danish polymath, in 1933. He worked it out during a lecture on quantum mechanics given by Werner Heisenberg.
The story gets told as a joke about a bored student, but the detail worth keeping is what he was listening to. Heisenberg was describing how space gets carved up, and Hein started wondering how many irregular pieces you would need to fill a cube. He had the answer before the lecture ended.
How Many Solutions Does the Soma Cube Have?
There are 240 distinct ways to build the 3x3x3 cube, once you stop counting rotations and mirror images as different.
John Conway and Michael Guy found all 240 by hand in 1961, with no computer, and then did something better than counting them. They drew a map. Two solutions were joined if you could get from one to the other by pulling out two pieces, twisting them, and putting them back. The result - they called it the Somap - has 240 points on it, and 239 of them are connected to each other.
One solution is an island. There is no pair of pieces you can twist to reach it from anywhere else. If you find that one, you found it on its own.
What Mathematics Is Hidden Inside It?
Three separate fields, which is unusual for an object this small.
Combinatorics decides the set. The seven pieces are not a selection, they are every polycube of three or four cubes containing at least one inside corner. That rule produces exactly seven shapes totalling exactly 27 unit cubes, which is exactly a 3x3x3 cube. Nothing was adjusted to make that work, and Piet Hein's claim to the design rests on noticing it rather than engineering it.
Graph theory describes the answers. The Somap above is a graph in the formal sense: solutions are vertices and small rearrangements are edges. Asking which solutions are reachable from which is a connectivity question, and the lone disconnected solution is an isolated vertex. That is why mathematicians found the puzzle interesting long after solving it stopped being a challenge.
Complexity theory explains the frustration. Fitting a set of solids into a bounded region belongs to the packing family of problems, which is formally NP-hard: there is no known efficient general method, only search. So the brute force you fall back on is not a failure of technique. It is the state of the art, and the software does the same thing faster.
The wider mathematics of mechanical puzzles is covered in the mechanical puzzles guide.
If There Are 240 Solutions, Why Is It Still Hard?
You would think 240 correct answers would make a puzzle generous. In practice it does the opposite, and for a reason that is worth understanding before you buy any version of it.
Having many solutions means no single move is ever clearly wrong. On a puzzle with one answer you get feedback constantly - a piece does not fit, so that branch is dead, back up. On the Soma cube almost any pair of pieces will sit together happily. You can be four pieces in, entirely comfortable, and already in a position that cannot be finished. The failure arrives at the end, with two pieces left and a hole of the wrong shape, and it tells you nothing about which of your earlier choices was the bad one.
And the cube is only one target. The same seven pieces build a great many other shapes - towers, stairs, walls, chairs, animals - and this is the part people miss: every shape is a different puzzle. Its own solution path, its own dead ends, its own moment where the last two pieces do not fit. Solving the cube teaches you remarkably little about building the next shape. So the real size of the Soma set is not 240 answers to one question. It is a new question every time you choose a new shape.
That is what Cube Alchemy is built around. Greg went through the possibilities, picked his 180 favourites and compiled them into one booklet, so the 3x3x3 cube is challenge one of a hundred and eighty rather than the whole puzzle.
MediumCube Alchemy180 Challenges in One!30-60 min / challenge · How Do You Solve a Soma Cube?
There is a sequence that works, and it is in the video above. In words, building from the bottom up:
- Start with the L piece and the N piece placed together as a base.
- Add the L piece with the nose to the side.
- Put the small L piece at the back.
- Stand the T piece on the front.
- Add the second L piece with the nose.
- The corner piece drops straight on top, and the cube is closed.
Two things make this far easier to follow with the puzzle in your hands than on a page, which is why the video is worth the minute. First, the pieces are easier to tell apart by feel than by name. Second, the order matters: each piece goes in a position that the next one locks against, so the sequence is not interchangeable even though nothing interlocks.
If you would rather solve it yourself, the one genuinely useful hint is to place the awkward pieces first. The corner piece and the T have the fewest positions available to them, so putting them in early removes most of the dead ends. Leaving them until last is the single most common reason people end up with two pieces and one hole that will not take either.
If you would rather see an answer than find one, the polycube box fitter will fill the 3x3x3 cube from the seven pieces and hand it back as three layers, bottom to top.
Watch the Soma cube go together
One of the 240 solutions, a piece at a time, in an order you can follow with the real set. Press Next piece.
More solutions and eleven other figures are on the Soma cube solver.
Is There a Formula for Solving It?
No, and that is a more interesting answer than it looks.
Puzzles like the Rubik's Cube have algorithms: fixed sequences that make one predictable change whatever state you are in, which is why people can learn to solve one in under a minute without understanding it. The Soma Cube has nothing of the kind. There is no move to repeat, no notation, and no sequence you can memorise that generalises, because every solution is a static arrangement rather than a path.
What you can learn instead is heuristics: place the constrained pieces first, build corners before faces, and recognise that an unfilled single cell in the middle of a face means you have already gone wrong. That is reasoning rather than recall, and it is why the puzzle survives being solved once.
Solved the Soma cube? The most enjoyable next step is Ochinai Soma: the same seven pieces, packed into a box so that none falls out when you turn the big hole face down, with two boxes in the set. Hard, 1-4 hrs. For the hard end, Soma Flop has you pack them flat through an oddly shaped hole until the top closes flush. Expert, 4+ hrs.
HardOchinai SomaPack & Not Fall (2-in-1)1-4 hrs · $27.00
View full details →
What Else Can You Build With the Same Seven Pieces?
Because the piece set is fixed and famous, designers use it the way musicians use a standard: everyone knows the tune, so the interest is in what you do to it. Three of the puzzles we carry take the identical seven pieces and add a single constraint, and each one makes the familiar set behave like something you have never handled.

Ochinai Soma adds gravity. Designed by Hiroshi Fujino, it gives you a box with a hole cut through the base. Packing the pieces in is only half of it - the puzzle is solved when you turn the whole thing over and nothing falls out. The pieces have to hold each other up across the gap. Ochinai means roughly will not fall in Japanese, and the set contains two boxes, so it is two puzzles rather than one.
Soma Flop changes the door. A Dr Volker Latussek design, where the opening in the box will not accept pieces the sensible way up. You are no longer working out where each piece goes so much as what attitude it has to be in at the moment it crosses the boundary.
Shrinking Soma removes the slack. Also Latussek, and the strictest of the three. The space is 4x4x4, the opening is restricted, and the puzzle is not finished when everything is inside - it is finished when nothing can move. Shake it and it stays put. Knowing the 240 standard solutions helps almost not at all here, which is the joke built into it.
There is a fuller account of how Latussek builds that kind of difficulty in our profile of his work.
The format attracts this treatment from everyone. Allard Walker wrote about a version called Broken Soma - not one we carry - which splits the small three-cube piece up and distributes the fragments among the others. His verdict was thoroughly evil, and he admitted to enjoying watching experienced solvers struggle with it for months.
Can You Make Your Own Soma Challenges?
Yes, and this is the reason the puzzle has lasted ninety years rather than being solved once and shelved.
Any shape built from 27 unit cubes is a candidate. Some are buildable from the seven pieces and some are not, and working out which is a puzzle in itself. Piet Hein and others produced figures with names, the tower, the bathtub, the dog, the skyscraper, and the set has been generating new ones ever since.
Two cautions from experience. A shape that looks easy is often impossible, and a shape that looks impossible is often trivial, so the only way to know is to try. And symmetric targets are usually harder than they appear, because symmetry restricts where the two handed pieces can go.
If you would rather not design them yourself, Cube Alchemy ships with a booklet of 180 challenges curated by Greg from the same seven pieces, which is the difference between owning one puzzle and owning a hundred and eighty.
Why Do Schools Use the Soma Cube?
Because it is the cheapest way to make spatial reasoning visible, and because it fails usefully.
A student who cannot solve it has not misunderstood an instruction. The goal is completely clear and the obstacle is purely spatial, which makes it a rare classroom object where effort and understanding are not confounded by reading ability or vocabulary.
The research behind that is better than the usual claims about puzzles and brains. Spatial ability measured at school predicted entry into science, technology, engineering and mathematics careers eleven years later in a study of 400,000 students, even after controlling for mathematical and verbal ability. And a meta-analysis of 217 training studies found spatial skills improve by about 0.47 standard deviations with training, with gains lasting months and transferring to untrained tasks.
What has not been shown is that the Soma Cube specifically does any of that. No study has tested it. The honest claim is that it exercises a faculty that is measurable and trainable, not that an afternoon with one raises anybody's grades. That evidence is set out properly in 3D spatial reasoning puzzles.
Is the Soma Cube Related to Computer Science?
Closely, and it predates most of the connection.
Enumerating all 240 solutions is a textbook exhaustive search with backtracking: place a piece, recurse, and when you reach a position that cannot be completed, undo the last choice and try the next. It is one of the standard teaching examples for the technique, alongside the eight queens problem.
The historical detail worth keeping is that Conway and Guy did it by hand in 1961. The algorithm now used to teach the method was carried out by two people with paper before the machines that would make it trivial were widely available.
The modern descendant is BurrTools and software like it, which does the same search for interlocking puzzles, enumerating assemblies and then testing which can actually come apart.
If 240 solutions stops feeling like enough, the Bedlam Cube is the 4x4x4 escalation: thirteen pieces, 19,186 solutions, and far harder despite the bigger number.
A different four-cube classic, Instant Insanity, swaps shape for colour and has essentially one answer rather than 240.
Gardner did the same for matchstick puzzles, a Victorian German teaching aid he turned into a household genre.
Frequently Asked Questions
How many pieces does a Soma Cube have?
Seven, made of twenty-seven unit cubes in total. One piece is three cubes and the other six are four cubes each. The seven are not an arbitrary selection - they are every possible shape you can make from three or four cubes that is not straight or flat.
How many solutions does the Soma Cube have?
240, counting rotations and mirror images of the same arrangement as one solution. Conway and Guy enumerated them by hand in 1961. If you count every rotation and reflection separately the number is far larger, which is why you will sometimes see 11,520 quoted instead.
Who invented the Soma Cube?
Piet Hein, in 1933. He was a Danish polymath - poet, designer and mathematician - and he came up with it while sitting in a lecture on quantum mechanics given by Werner Heisenberg.
Is the Soma Cube hard if there are 240 solutions?
Yes, and partly because of them. Many solutions means almost no arrangement feels wrong while you are building it, so you get no warning that you have gone astray until the last two pieces will not go. A puzzle with a single answer pushes back much sooner.
What can you build with a Soma Cube besides the cube?
A great many shapes - towers, chairs, stairs, animals, walls. The seven pieces are a general-purpose set and the 3x3x3 cube is only the best known target. Cube Alchemy comes with a booklet of 180 shapes chosen by Greg, so the cube is the first challenge rather than the whole puzzle.
Are all Soma Cube puzzles made from the same seven pieces?
Yes. The seven-piece set is standard and every puzzle here uses it unchanged - what the designers alter is the box and the rule. That is why you can own several without them feeling repetitive, and why the constrained versions assume you already recognise the pieces on sight.
What Soma Cube Puzzle Should You Get?
If you are new to this, go with Cube Alchemy. It is the standard seven-piece set, and because the booklet keeps handing you new shapes it does not stop being useful after the first success.
If the plain cube is behind you, Ochinai Soma is the most enjoyable next step - the upside-down test is a genuinely new sensation and there are two boxes in the set.
If you want the hard end, take Soma Flop before Shrinking Soma. Both are Expert, but Flop is built on one clear idea you can keep in your head.
All four sit in the Soma cube puzzles collection. The constrained versions are packing puzzles at heart, so if that side appeals, our guide to packing puzzles covers the wider family, and everything else lives in the mechanical puzzles collection.
Puzzles in this article
ExpertSoma FlopPack 7 Pieces Into the Box4+ hrs · $34.00
View full details →
ExpertShrinking SomaAnti-Slide Puzzle4+ hrs · $31.00
View full details →
MediumCube Alchemy180 Challenges in One!30-60 min / challenge ·
HardOchinai SomaPack & Not Fall (2-in-1)1-4 hrs · $27.00
View full details →