Pentomino: fit the shapes into the box

Drag the five-square pieces into the box until every square is filled.

  • Logic puzzles
  • 3 to 12 pieces · boxes 5×3 up to 5×12, 6×10, 4×15, 8×8 and 3×20
  • Free

Loading puzzle…

Play pentomino puzzles online, free

Pentomino is a classic shape puzzle. Each piece is made of five squares, and your job is to fit a set of them into a box so that every square is filled. It sounds simple, and the first levels are. As the pieces add up, it becomes one of the best tests of spatial thinking there is.

You play in your browser on a phone, a tablet or a computer, with nothing to download. The game starts with three pieces in a small box and adds a piece every few levels, until you fill a 5×12 box with all twelve pentominoes. After that come the other classic boxes: 6×10, 4×15, an 8×8 square with a hole in the middle, and the very hard 3×20.

How to play

Drag a piece from the tray into the box. When you let go, it snaps onto the squares under it if it fits. If it does not fit there, it slides back. To move a piece that is already in the box, drag it to a new spot. To take it out again, drag it off the box.

Tap a piece to turn it a quarter. The Flip button mirrors the last piece you touched, so you can try both its left- and right-handed versions. With a keyboard, Tab moves between pieces, R turns, F flips, Enter places the piece or takes it back, and the arrow keys move a placed piece.

If you leave a gap that no piece can ever fill, those squares turn red at once and the board shakes, so you never waste time on a box that cannot be finished. Hint places one piece the way a real solution would. Undo takes back your last move.

The twelve pentominoes

There are exactly twelve pentominoes, named after the letters they look like: F, I, L, N, P, T, U, V, W, X, Y and Z. Some are easy to fit anywhere, like the P, which is a 2×2 square with one extra square. Others are awkward. The X, a plus sign, only fits where four arms have room, and the U leaves a notch that only certain pieces can fill. The long I needs a straight run of five squares.

The F, L, N, P and Y can each lie in eight different ways: four turns and the mirror image of each. The T, U, V, W and Z have four, the I has two, lying and standing, and the X looks the same every way. That makes 63 ways in all.

How many solutions are there?

Pentomino boxes have been counted by computers. With all twelve pieces, a 6×10 box can be filled in 2,339 different ways, a 5×12 box in 1,010 ways, a 4×15 box in 368 ways, and a 3×20 box in only 2 ways. These counts treat a solution and its turned or mirrored copies as the same. An 8×8 square with a 2×2 hole in the middle has 65 solutions. Our own check script counts the 5×12 and 3×20 boxes again for every release.

The smaller boxes in the early levels often have only one or two solutions. That makes them good puzzles: there is a real answer to find, not just any arrangement.

Tips

Fill the corners and edges first, because only a few pieces fit there. Place the awkward pieces, the X, the U and the I, while you still have room. Keep an eye on gaps: every closed gap must hold a multiple of five squares, so a gap of four or six is already lost. And before you move a piece away, try all of its turns and its mirror image.

A short history

Puzzles with five-square pieces appeared in Henry Dudeney’s book The Canterbury Puzzles in 1907. The name pentomino was coined by the American mathematician Solomon Golomb in 1953, and his 1965 book Polyominoes made them famous. Arthur C. Clarke wrote pentominoes into his novel Imperial Earth, and they inspired the falling blocks of many video games.

More shape puzzles

If you like pentominoes, try Tangram, the ancient puzzle of seven pieces, Block Puzzle for quick shape fitting, or Klotski, where you slide blocks to free the big one.

How to play Pentomino

  1. Every level gives you a box and a set of pentominoes, pieces made of five squares joined edge to edge.
  2. Drag the pieces into the box. They snap into place where they fit.
  3. Tap a piece to turn it a quarter. The Flip button mirrors the last piece you touched.
  4. Fill every square of the box with no piece sticking out and no gaps. The pieces always fill it exactly.
  5. A gap that can never be filled turns red at once, so you know to move a piece.

Pentomino tips

Start in the corners

Corners and edges are the hardest squares to fill, because only a few pieces fit there. Fill them first and leave the easy middle for last.

Place the awkward pieces early

The X and the U are hard to fit anywhere, and the long I only fits along an edge or a long gap. Place them while there is still room, and keep the flexible L, N and Y for the end.

Count the squares in a gap

Every piece covers five squares, so every closed gap must be a multiple of five. A gap of three or seven squares can never be filled. The game tints those gaps red, but you can also spot them before you place a piece.

Turn and flip before you give up

Five pieces, F, L, N, P and Y, can lie in eight different ways, and most others in four. If a piece does not fit, try every turn and the mirror image before moving another piece.

Frequently asked questions

What is a pentomino?

A pentomino is a flat shape made of five equal squares joined edge to edge. There are exactly twelve different pentominoes if you count a piece and its turned or mirrored copies as the same shape. They are named after the letters they look like, F, I, L, N, P, T, U, V, W, X, Y and Z.

How do you play pentomino puzzles?

You get a box and a set of pentominoes whose squares add up to the size of the box. Drag the pieces in, turn and flip them, and fill the box completely with no gaps and no overlaps.

How many ways can you fill a 6×10 box with all twelve pieces?

There are 2,339 different ways, not counting the ones that are just the whole box turned or mirrored. A 5×12 box has 1,010 ways, a 4×15 box 368, and a 3×20 box only 2, which makes it the hardest of the classic boxes.

Is it good for children?

Yes. The first levels use only three or four pieces, which young children can solve by trying. Later levels need planning, so the game grows with them. It trains spatial thinking, the skill of turning shapes in your head.

What do the red squares mean?

They mark a gap that can never be filled, either because its size is not a multiple of five or because none of the pieces left has its exact shape. Move a piece or press Undo.

Who invented pentominoes?

The American mathematician Solomon Golomb gave them their name in 1953 and made them famous in his 1965 book Polyominoes. Puzzles with similar pieces were published earlier, by Henry Dudeney in 1907.

Add MindedGames to your home screen

  1. Tap Share
  2. Tap Add to Home Screen