Prime numbers lie flat
A 2, 3, 5, 7, 11 or 13 has no shape but a line one square wide. Against an edge or between other numbers it often has a single place left, like the 5 of the first technique below.
Shikaku is a grid with a few numbers that you cut into rectangles, one number in each, every number telling how many squares its rectangle covers. You start with numbers that fit only one way and squares only one number can reach, draw each rectangle you are sure of, and the choices of its neighbours shrink until every square is covered.
Making a puzzle book? Shikaku book generator
By Wisdom Effect · Updated
Shikaku is a logic puzzle of dividing and counting. A few squares of the grid hold numbers, and you cut the whole grid along its lines into rectangles, one number in each, so that every number counts the squares of its rectangle. Counting is all the arithmetic it takes; the shapes do the rest, since a 6 can only be a line of six or a block of two by three, either way round.
A few squares of the grid hold a number; the others start empty.
Draw lines along the grid so that every square lies in exactly one rectangle. A block of 2×2 or 3×3 squares is a rectangle as well.
Every rectangle holds exactly one number, in any of its squares.
A number tells how many squares its rectangle covers. A 6 is a line of six or two rows of three, either way round, and a 1 is a single square.
A good Shikaku can be solved in exactly one way, and logic finds it. There is never a need to guess.
A 5×5 Easy puzzle from our generator with eight numbers. The steps under the grid draw its rectangles one by one, in the order the logic finds them. Try it yourself first, then compare with the steps.
Drag from one corner of a rectangle to the opposite one, or tap both corners. Tap a rectangle to remove it. Keys: arrows move, Space picks a corner, Delete removes.
Step 1
5 is a prime number, so the 5 in row 5, column 5 is a line of five squares. Along row 5 it would hold the 3 in row 5, column 2, so it climbs instead and fills rows 1 to 5, column 5.
Step 2
Which numbers can reach row 1, column 2? Not the 2 in row 2, column 1, which stays in column 1 or row 2, nor the 2 in row 3, column 2, which climbs to row 2 at most. Only the 3 in row 1, column 3 can, lying along row 1, so the square is its. Where exactly the 3 lies is not settled yet.
Step 3
Row 2, column 3 is the next square only one number reaches. The 3 in row 1, column 3 would run into the 3 below it, and the 4 in row 3, column 4 could get there only as a 2×2 block with that 3 inside. So the 3 in row 3, column 3 climbs to it and fills rows 2 to 4, column 3.
Step 4
The 3 in row 4, column 1 could lie along row 4, columns 1 to 3, or down column 1, rows 3 to 5; any higher, it would meet the 2 in row 2, column 1. Row 4, column 3 now belongs to the 3 in row 3, column 3, so this 3 fills rows 3 to 5, column 1.
Step 5
Along row 5, the 3 in row 5, column 2 covers columns 1 to 3 or columns 2 to 4; up column 2 it would meet the 2 in row 3, column 2. Row 5, column 1 has just gone to the 3 above it, so it takes row 5, columns 2 to 4.
Step 6
The 4 in row 3, column 4 has a 3 on its left and the 5 on its right, so it cannot be a 2×2 block, and along row 3 it would meet other numbers. Down column 4 it fills rows 1 to 4 or rows 2 to 5, and row 5, column 4 now belongs to the 3 in row 5, column 2. That leaves rows 1 to 4, column 4.
Step 7
Row 1, column 4 went to the 4, so the 3 in row 1, column 3 takes row 1, columns 1 to 3. The 2 in row 2, column 1 can no longer go up, so it takes row 2, columns 1 to 2, and the 2 in row 3, column 2 takes rows 3 to 4, column 2, the last free square. Every square has its rectangle: solved.
A number has one shape for each way of writing it as rows times columns, and each shape can sit in as many places round the number as it has squares. Edges and other numbers take most of those places away, and that is where every Shikaku starts.
| The number | Its shapes | Places on an open grid |
|---|---|---|
| 2 | Two squares side by side, across or down | 4 |
| 3, 5, 7 | A line one square wide, across or down | 6, 10, 14 |
| 4 | A line of four, across or down, or a 2×2 block | 12 |
| 6 | A line of six, or two by three squares, either way round | 24 |
| 8 | A line of eight, or two by four squares, either way round | 32 |
| 9 | A line of nine, or a 3×3 block | 27 |
| 12 | A line of twelve, two by six or three by four squares, each either way round | 72 |
A 2, 3, 5, 7, 11 or 13 has no shape but a line one square wide. Against an edge or between other numbers it often has a single place left, like the 5 of the first technique below.
A 2 has four places on an open grid, one on each side of its square. On an edge it has three, and in a corner two, so the numbers along the edges are the first to look at.
Add the numbers of a Shikaku and you get the squares of its grid: 25 on the first puzzle of this page. When a few squares are left at the end, the numbers next to them must fill them exactly.
Every Shikaku, small or large, is solved in the same loop. Go down this list and start again from the top each time you draw a rectangle.
Draw the rectangles that fit only one way from the start: lines of a prime number against an edge, numbers boxed in by others.
After each rectangle, look at the numbers next to it: one with a single rectangle left takes it.
Ask of each empty square which numbers can still reach it, and give it to the number when only one can.
Stuck: for a number with a few rectangles left, claim the squares all of them cover.
Still stuck: cross out a rectangle that would leave a square, or another number, with no rectangle.
Last: take a rectangle in your head and follow the sure moves until a rule breaks.
From a number that fits one way to a rectangle followed to the end, in the order you need them. Each one is shown on a real puzzle from our Shikaku generator, at the moment the move applies.
Easy puzzles are solved with these three moves alone, and every harder Shikaku comes back to them after each other move. They ask two questions: how many rectangles can a number still take, and how many numbers can still reach an empty square?
Before anything is drawn, list the shapes a number can take and slide each one round its square. When the edges of the grid and the other numbers leave a single rectangle, draw it.
The 5 in row 2, column 4 has one shape, a line of five squares, since 5 is a prime number. Along row 2 the line would take in other numbers: four of them share that row. Down column 4, a line through row 2 covers rows 1 to 5 or rows 2 to 6, and rows 2 to 6 would hold the 1 in row 6, column 4. That leaves rows 1 to 5 of column 4, the only rectangle the 5 has.
Every rectangle you draw takes squares away from the numbers around it. When all of a number's rectangles but one would cover a square that is no longer free, the one left is its rectangle.
At the start the 6 in row 1, column 4 fits two ways: rows 1 and 2, columns 4 to 6, or rows 1 to 3, columns 4 and 5. Every other rectangle of six round it would hold another number, the 2 beside it in row 1, column 3 or, down column 4, the 3 in row 5, column 4. The 4 in row 6, column 5 has just taken column 5 from row 3 down, so the taller rectangle would overlap it. The 6 takes rows 1 and 2, columns 4 to 6.
Pick an empty square and ask which numbers have a rectangle over it that still fits. When only one does, the square is that number's, and every rectangle of it that misses the square is out.
Row 1, column 4 sits right above the 6 in row 2, column 4, yet no rectangle of six that climbs to row 1 is free of other numbers: each would take in the 5 in row 1, column 3, the 3 in row 2, column 5 or the 3 in row 5, column 4. The 3 in row 2, column 5 is a line through its own square, so it stays in row 2 or column 5, and the 2 in row 1, column 1 is too far away. Only the 5 in row 1, column 3 reaches the square, lying along row 1, columns 2 to 6. The square is the 5's, and the 5 can no longer run down column 3.
Hard puzzles add a test before a rectangle is drawn: what would it take away from the numbers and the squares around it? A rectangle that leaves nothing for one of them is crossed out.
Picture a number in one of its rectangles. If that would leave an empty square that no rectangle can cover, or another number with no rectangle that fits, the picture is wrong: cross that rectangle out.
Two rectangles reach row 1, column 4: the 5 in row 1, column 5 lying along row 1, columns 1 to 5, and the 6 in row 3, column 3 on rows 1 to 3, columns 3 and 4. Picture the 6 on rows 1 to 3, columns 2 and 3 instead. It would cover row 1, columns 2 and 3, so the 5 could not lie along row 1, and the 6 would no longer be over column 4. Row 1, column 4 would be left with nothing to cover it, so that rectangle of the 6 is crossed out.
Expert puzzles need a rectangle followed for several moves before something breaks. It is still logic: a rectangle is crossed out only when taking it breaks the rules.
Suppose a number takes one of its rectangles, then make every sure move that follows, as long as it takes. If a number ends up with no rectangle, or a square with no cover, the rectangle you supposed is wrong.
The 3 in row 1, column 5 can lie on row 1, columns 3 to 5 or columns 4 to 6. Suppose columns 3 to 5. The 6 in row 2, column 3 can then no longer run down column 3, so it fills row 2 from end to end, and the 5 in row 4, column 4, cut off from row 2, lies along row 4, columns 1 to 5. Now row 1, column 6 has no cover: the 3 stops at column 5, and the 6 in row 5, column 6 could only reach it up column 6, through row 2. So the 3 takes columns 4 to 6.
6 Shikaku puzzles from our generator, from Easy to Expert. Each is solved with the moves of this guide; the hint button names the number or the square where the next move is.
6×6 Easy with ten numbers. Twice, a square only one number can reach shows the way.
Drag from one corner of a rectangle to the opposite one, or tap both corners. Tap a rectangle to remove it. Keys: arrows move, Space picks a corner, Delete removes.
8×8 Easy, the size of an Easy page in our books. Three numbers fit one way from the start.
Drag from one corner of a rectangle to the opposite one, or tap both corners. Tap a rectangle to remove it. Keys: arrows move, Space picks a corner, Delete removes.
8×8 Medium. Once, it stops: find the number whose rectangles share squares.
Drag from one corner of a rectangle to the opposite one, or tap both corners. Tap a rectangle to remove it. Keys: arrows move, Space picks a corner, Delete removes.
10×10 Medium, the size of a Medium page in our books. Twice, the rectangles of a number share squares.
Drag from one corner of a rectangle to the opposite one, or tap both corners. Tap a rectangle to remove it. Keys: arrows move, Space picks a corner, Delete removes.
8×8 Hard. Once, a rectangle would leave a square bare.
Drag from one corner of a rectangle to the opposite one, or tap both corners. Tap a rectangle to remove it. Keys: arrows move, Space picks a corner, Delete removes.
8×8 Expert. It needs a rectangle followed to the end once.
Drag from one corner of a rectangle to the opposite one, or tap both corners. Tap a rectangle to remove it. Keys: arrows move, Space picks a corner, Delete removes.
Want more? Make a fresh page with the Free Shikaku Puzzle Generator and print it, with its answers.
A 4 can be a 2×2 block and a 9 a 3×3 one, not only a line. Rule a number down to one rectangle only after trying every shape it has.
A rectangle that takes in another number is wrong, whatever its size. Check every square inside it before you draw it.
Six squares in an L or a T make six, but they are not a rectangle. Only blocks with four straight sides count.
Every square needs a rectangle. Before you draw one, look at the empty squares beside it: if no number could reach one of them any more, the rectangle is wrong.
A rectangle can look right for a long time and still be wrong. Every Shikaku on this page is solved with the moves of this guide, and a what-if crosses out a rectangle only when taking it breaks a rule.
A bigger grid takes longer, but what sets the level is the logic a Shikaku needs. This is how our book generator makes its four levels, and the grid each one uses by default.
| Level | Numbers | Moves it needs |
|---|---|---|
| Easy 8×8 grid | 14 to 22 each up to 8 | Numbers with one rectangle, from the start or left over, and squares one number reaches. |
| Medium 10×10 grid | 13 to 27 each up to 12 | Those, then the squares every rectangle of a number shares. |
| Hard 12×12 grid | 18 to 28 each up to 16 | All of those, then rectangles that would leave a square bare. |
| Expert 14×14 grid | 21 to 37 each up to 16 | All of those, then a what-if followed to the end. |
The numbers are the fewest and the most in 30 puzzles of each preset; a 1 turns up only where nothing larger fits. The grid can be set from 7×7 to 17×17 at every level, Expert up to 15×15. Kids books keep to Easy and Medium on grids from 5×5 to 8×8, with numbers up to 6 on Easy and 8 on Medium; senior books go up to Hard on grids from 6×6 to 10×10.
Cut the grid along its lines into rectangles so that every square is in one rectangle, every rectangle holds exactly one number, and each number equals how many squares its rectangle covers. A block such as 2×2 counts as a rectangle, and a 1 is a rectangle of one square.
Look for numbers that fit only one way: a prime number such as 5 is a line one square wide, and against an edge or between other numbers it often has one place left. Then ask of the empty squares near the edges which numbers can still reach them. Each rectangle you draw takes room away from its neighbours and opens the next move.
Yes. Shikaku is the short form of the Japanese name Shikaku ni Kire, "divide into rectangles". In English the puzzle is also called Rectangles, Divide by Box (the name its publisher Nikoli uses) or Divide by Squares, and some books spell it Sikaku. The rule is always the same: divide the grid into rectangles, each holding one number that tells how many squares it covers.
Yes. A 4 can be a 2×2 block, a 9 a 3×3 one and a 16 a 4×4 one; the solved puzzle at the top of this page has a 2×2 block round the 4 in row 4, column 3. A 1 is a rectangle of a single square, and the same puzzle has one of those too.
Yes. Every square is in exactly one rectangle and every rectangle has one number that counts its squares, so the numbers add up to the squares of the grid: 25 on a 5×5 grid such as the first puzzle of this page. It makes a handy check at the end, when the squares left over have to match the numbers next to them.
No. A good Shikaku has one solution that logic reaches. Every puzzle on this page is solved with the moves of this guide, and our generator checks each puzzle with the same kind of moves before it goes into a book.
The logic it needs more than the size. Easy puzzles fall to numbers with one rectangle left and squares one number reaches; Medium ones need the squares every rectangle of a number shares; Hard ones a rectangle crossed out because it would leave a square bare, and Expert ones a what-if followed to the end.
Our books make grids from 7×7 to 17×17, with Expert up to 15×15, and kids books from 5×5 to 8×8. The default grids are 8×8 for Easy, 10×10 for Medium, 12×12 for Hard and 14×14 for Expert.
Press on a corner square and drag to the opposite corner, or tap one corner and then the other. A tap on a rectangle you drew removes it, and a new rectangle replaces any it overlaps. On paper you draw the rectangles along the grid lines, as the answer pages of our books do.
A puzzle page and its answer key page, as they come out of a Shikaku book.


Print-ready Shikaku puzzle books for Amazon KDP, Easy to Expert on grids up to 17×17, one solution per puzzle and an answer key with every rectangle drawn. Shikaku books are in the Pro and Publisher plans, and in the free trial.
Shikaku book generatorJust one page? Free Shikaku Puzzle Generator