History of the Rubik's Cube
The cube was born in 1974 as a wooden model in Budapest, and six years later it was selling all over the world. This is its story: the patent, the craze of the 1980s, the slump, the comeback thanks to the internet, speed competitions and the math behind its positions.
U R2 F B R B2 R U2 L B2 R U' D' R2 F R' L B2 U2 F2
On this page
In short
- Ernő Rubik, a teacher at the Academy of Applied Arts in Budapest, built the first prototype in 1974 and filed for a Hungarian patent on January 30, 1975, under the name "magic cube."
- In September 1979 a deal was signed with the American company Ideal Toy, which launched it in 1980 under a new name: Rubik's Cube.
- The first world championship was held in Budapest on June 5, 1982. Minh Thai won it with 22.95 seconds.
- After a slump that began in 1982, the internet brought interest in the cube back. In 2003 there was a championship in Toronto, and in 2004 the World Cube Association (WCA) was founded.
- The cube has 43,252,003,274,489,856,000 positions, and since 2010 we have known that all of them can be solved in 20 moves or fewer: this is what is called God's number.
The origin: a wooden prototype in 1974
Ernő Rubik was born in Budapest in 1944. He studied architecture and interior design, and in the 1970s he taught at the city's Academy of Applied Arts.
In 1974 he built the first prototype out of wooden blocks. The problem he had to solve was mechanical: getting each layer of a 3x3x3 cube to turn on its own without the whole thing falling apart. The solution is the one today's cubes still use: a central core with six axles on which the centers turn, and the centers in turn hold the edges and corners in place.
The first time he scrambled the prototype, it took Rubik about a month to get it back to how it was. There was no method for doing it.
There was a similar puzzle before
Rubik was not the first to come up with a puzzle with rotating pieces. The American Larry Nichols patented a 2x2x2 puzzle held together by magnets in the United States in 1972. Years later, the company Nichols worked for sued Ideal Toy. In 1986 a US appeals court concluded that the 2x2x2 cube infringed that patent, but the 3x3x3 did not.
The patent and the "magic cube" in Hungary
Rubik filed his patent application in Hungary on January 30, 1975. It is Hungarian patent number 170062, and in it the invention is called Bűvös kocka, "magic cube." That is the name it was sold under in its home country for the first few years.
The first units reached Budapest toy stores in late 1977, made by a small Hungarian cooperative. Sales were handled by Konsumex, the Hungarian state foreign trade company.
From Nuremberg to Ideal Toy: the leap of 1980
The cube left Hungary thanks to the businessman Tibor Laczi, who took it to the Nuremberg toy fair in 1979. Shortly after, in September 1979, a deal was signed with the American company Ideal Toy to sell it outside Hungary.
Ideal wanted a name that could be registered as a trademark and was easy to remember. "Magic cube" wouldn't work, so in 1980 the puzzle was renamed Rubik's Cube, after its inventor's surname. That same year it was presented at the international toy fairs and went on sale in Europe and the United States.
Awards came right away. In 1980 it received a special prize from the Spiel des Jahres, the German game of the year award, and it was named toy of the year in several countries.
The boom of the 1980s and the first world championship
Between 1980 and 1982 the cube became a phenomenon. More than 100 million units were sold in a few years, and whole books appeared devoted to teaching people how to solve it.
One of the first to study it in depth was the mathematician David Singmaster, who first saw it in 1978 at a mathematics congress in Helsinki. In December of that year he came up with a way of writing the turns with letters and spread it in his Notes on the cube, self-published in 1979. It is the basis of the notation used today.
Budapest, June 5, 1982
The first world championship was held in Budapest on June 5, 1982, with one competitor per country. The American Minh Thai won with 22.95 seconds.
That championship had no follow-up. It was not until 2003 that there was another international competition of that importance.
The slump: from global craze to forgotten toy
The craze didn't last long. In 1982 demand began to fall, and by 1983 the fad was over. Even so, mathematicians kept studying it: they still needed to find out how many moves it takes to solve any position.
Through the rest of the 1980s and the 1990s the cube kept selling, but far from the early numbers, and competitions disappeared.
The comeback with the internet
The cube's second life began online. In 1997 Jessica Fridrich published her solving method on the internet. That method, known today as CFOP, relied on a layer-based system described years earlier and on dozens of algorithms for the last layer.
Forums and personal websites let fans share methods, algorithms and times. That is how an international community took shape that wanted to compete again.
On August 23 and 24, 2003, a world championship was held in Toronto. It was the first major competition since Budapest in 1982 and brought together competitors from several countries. It made clear the need for common rules and for an organization to enforce them.
The WCA and speedcubing today
In 2004 Ron van Bruchem from the Netherlands and the American Tyson Mao founded the World Cube Association (WCA). It is the organization that publishes the regulations, approves competitions and keeps the official results from around the world.
How competitions work
- Inspection. Before each attempt you have less than 15 seconds to look at the cube. If you start after 15, you get a 2-second penalty; if you go past 17, the attempt is a DNF.
- Average of 5. In most events you do five attempts, the best and worst are dropped and the other three are averaged.
- The same scrambles for everyone. All competitors in a round solve the same scrambles, which are applied with white on top and green in front.
- Other events. Besides 3x3 speed, there are events with other puzzles, one-handed, blindfolded and fewest moves. In that last one you have 60 minutes to find a solution of 80 moves at most.
Solving methods
To start, almost everyone learns a layer-by-layer method, like the one in our beginner's course. In competition, the most used method is CFOP: cross, first two layers in pairs, orientation and permutation of the last layer. The most widespread alternatives are the Roux method, devised by the Frenchman Gilles Roux, which first builds blocks on the sides of the cube, and ZZ, proposed by Zbigniew Zborowski in 2006, which starts by orienting the edges.
Times have kept dropping. In 1982 the world championship was won with 22.95 seconds; today the 3x3 single world records are below four seconds.
43 quintillion positions: where the number comes from
A 3x3 cube can reach 43,252,003,274,489,856,000 different positions by turning its faces, about 43 quintillion. The number is not an estimate: it is calculated by counting what each type of piece can do.
| Factor | Value | Why |
|---|---|---|
| Placing the 8 corners | 8! = 40,320 | Each corner can go in any of the 8 slots |
| Twisting the corners | 37 = 2,187 | Each corner has 3 orientations; the last one depends on the others |
| Placing the 12 edges | 12! = 479,001,600 | Each edge can go in any of the 12 slots |
| Flipping the edges | 211 = 2,048 | Each edge has 2 orientations; the last one depends on the others |
| Parity | ÷ 2 | You can't swap just two pieces: corners and edges change together |
If you multiply the first four values and divide by 2, you get exactly the number above. The centers don't count because they don't change position relative to each other.
If you take the cube apart and put it back together with the pieces at random, the possibilities are multiplied by 12: by 3 for twisting a corner, by 2 for flipping an edge and by 2 for swapping two pieces. Only one in 12 of those positions can be solved by turning the faces. That is why a badly assembled cube has no solution, no matter how much you know.
God's number: 20 moves
With so many positions, the obvious question is how many moves it takes, at most, to solve the worst of them with the best possible solution. That maximum is called God's number, because it is the one someone who always knew the shortest path would use.
The answer depends on how you count. In the half turn metric (HTM), any turn of a face counts as one move, R2 included. In the quarter turn metric (QTM), R2 counts as two.
How we got to 20
- 1995. Michael Reid proved that the superflip, the position with all twelve edges flipped, can't be solved in fewer than 20 moves. From then on it was known that God's number was at least 20.
- 2007. Daniel Kunkle and Gene Cooperman proved that 26 moves are enough for any position.
- 2008. Tomas Rokicki lowered that maximum to 22.
- July 2010. Rokicki, Herbert Kociemba, Morley Davidson and John Dethridge proved that 20 are enough. Since the superflip needs 20, God's number in HTM is exactly 20.
Checking position by position was impossible, so the team grouped the positions into sets that a program could solve in one go and split the calculation across computers donated by Google. Today we know there are hundreds of millions of positions that need exactly 20 moves, and none that need more.
This is the superflip, one of those positions 20 moves away from the solved cube. If you do it twice in a row, the cube is solved again. You'll find more patterns like this one in the guide to patterns.
In the quarter turn metric the number is different. In 2014 Rokicki and Davidson proved that the maximum is 26. The position that needs those 26 is the superflip combined with the four spots pattern, found in 1998.
The cube today
In 2014 the cube was inducted into the National Toy Hall of Fame in the United States. It is estimated that by 2024 more than 500 million cubes of the brand had been sold, not counting those from other manufacturers.
Half a century after that wooden prototype, the cube is at once a toy, a sport with its own regulations and a math problem that has kept researchers busy for decades.
Rubik's Cube timeline
| Date | What happened |
|---|---|
| 1944 | Ernő Rubik is born in Budapest. |
| 1972 | Larry Nichols gets a US patent for a 2x2x2 puzzle with magnets. |
| 1974 | Rubik builds the first wooden prototype of the 3x3x3 cube. |
| January 30, 1975 | Rubik files for the Hungarian patent on the "magic cube" (number 170062). |
| Late 1977 | First sales in Budapest toy stores. |
| 1978 | David Singmaster sees the cube in Helsinki and comes up with his notation in December. |
| 1979 | Tibor Laczi takes the cube to the Nuremberg fair. In September the deal with Ideal Toy is signed. |
| 1980 | International launch under the name Rubik's Cube and special prize from the Spiel des Jahres. |
| June 5, 1982 | First world championship in Budapest. Minh Thai wins with 22.95 seconds. |
| 1982-1983 | Demand falls and the fad fades. |
| 1986 | A US appeals court concludes that the 2x2x2 infringes the Nichols patent and the 3x3x3 does not. |
| 1995 | Michael Reid proves that the superflip needs 20 moves. |
| 1997 | Jessica Fridrich publishes her method on the internet. |
| August 2003 | World championship in Toronto, the first major one since 1982. |
| 2004 | Ron van Bruchem and Tyson Mao found the World Cube Association. |
| 2006 | Zbigniew Zborowski proposes the ZZ method. |
| 2007 | Kunkle and Cooperman prove that 26 moves are enough. |
| 2008 | Rokicki lowers the maximum to 22 moves. |
| July 2010 | God's number is proven to be 20 in the half turn metric. |
| 2014 | The maximum is proven to be 26 in quarter turns. The cube enters the National Toy Hall of Fame. |
| 2024 | Cumulative sales of the brand pass 500 million cubes. |
Frequently asked questions
Who invented the Rubik's Cube and when?
The Hungarian Ernő Rubik, a design teacher in Budapest, in 1974. He filed for a patent in Hungary on January 30, 1975, and the cube went on sale there in late 1977 as the "magic cube."
Why is it called the Rubik's Cube?
Because Ideal Toy, the American company that launched it outside Hungary, wanted a name it could register as a trademark. In 1980 it stopped being called "magic cube" and took its inventor's surname.
How many combinations does the Rubik's Cube have?
43,252,003,274,489,856,000 positions that can be reached by turning the faces, about 43 quintillion. If you take it apart and put it back together at random, only one in 12 positions can be solved.
What is God's number?
The maximum number of moves the worst position of the cube needs with the shortest solution. In the half turn metric it is 20, proven in July 2010. In the quarter turn metric it is 26, proven in 2014.
When was the first world championship?
On June 5, 1982, in Budapest. Minh Thai won it with 22.95 seconds. Regular international competitions came back with the 2003 Toronto championship and the creation of the WCA in 2004.
Did it take Rubik long to solve his own cube?
About a month. There was no method, and he had to work out for himself how to place the pieces without undoing the ones he had already solved.
You can already practise in the simulator
Turn the layers with your finger, scramble the cube and try any algorithm step by step.
Keep learning
We sell the cubes these guides were made with: GAN, MoYu and QiYi, from a first cube to competition models, plus lubricants.
See cubes in the shop →