How to Solve a Logic Grid Puzzle

A logic puzzle gives you a story and a few clues. You work out the answer by proving what cannot be true until only one thing is left. This page solves one small puzzle with you, one step at a time, then shows the two extra ideas the harder puzzles need.

Print the one-page handout Print blank grids

The puzzle

Ava, Ben and Mia each have one pet: a cat, a dog and a fish. Who has which pet?
  1. Ava does not have the dog.
  2. Ben does not have the dog.
  3. Ben does not have the cat.

Solve it in six steps

In each picture the newest marks are orange.

1Read the story and look at the grid

Three friends, Ava, Ben and Mia, each have one pet: a cat, a dog and a fish. The names go down the side and the pets go across the top. Every box asks one question. The top left box asks: does Ava have the cat?

PetcatdogfishNameAvaBenMia

2Mark an ✕ for every "no"

Clue 1 says Ava does not have the dog, so put an ✕ where Ava meets dog. Clue 2 says the same about Ben, so put an ✕ where Ben meets dog.

PetcatdogfishNameAvaBenMia

3One box left means "yes"

Look down the dog column. Two boxes are crossed out and one is empty. Somebody has the dog, so it has to be Mia. Put a ● there.

PetcatdogfishNameAvaBenMia

4A ● crosses out its row and column

Mia has the dog, so she cannot also have the cat or the fish. Cross out the rest of Mia's row. Do this every time you place a ●.

PetcatdogfishNameAvaBenMia

5Use the next clue and repeat

Clue 3 says Ben does not have the cat. Mark the ✕. Now Ben's row has one empty box, so Ben has the fish. Put the ● and cross out the rest of the fish column.

PetcatdogfishNameAvaBenMia

6Finish and check

Ava's row has one box left, so Ava has the cat. Every row and every column now has exactly one ●. Read each clue once more against your answer to make sure none is broken.

PetcatdogfishNameAvaBenMia

The answer: Ava has the cat, Ben has the fish and Mia has the dog.

The two rules that do most of the work

A ● crosses out its row and column. Each person has one pet and each pet has one owner, so one yes makes every other box in that row and column a no.

One empty box left is a ●. Every row and every column needs exactly one yes. If all the other boxes are crossed out, the last one is it.

Most of a puzzle is these two rules, used again and again after each new clue.

No grid? Draw your own

Puzzles in books and on tests often come with only the story and the clues. You can rule the grid yourself in a minute.

  1. Count the people. For three people, draw a square and split it into three rows and three columns.
  2. Write the names down the left side, one beside each row.
  3. Write the choices across the top, one above each column.
  4. Leave the boxes big enough for a clear ✕ or ●.
Choices go herecatdogfishNames go hereAvaBenMia
Names down the side, choices across the top. Graph paper makes this quick.

If you would rather not rule lines, print the blank grids or use a sheet of graph paper.

Puzzles with three grids

Bigger puzzles ask two things about each person, such as a pet and an age. That takes three grids joined in an L shape: names against pets, names against ages, and pets against ages. Some clues never mention a name at all: "The dog's owner is not 9."

The new idea is carrying. A ● says two things belong together, so whatever is true of one is true of the other. Suppose you know Mia has the dog, and a clue says the dog's owner is not 9. Then Mia is not 9, and you can mark that ✕ in the names-and-ages grid even though no clue said it.

PetcatdogfishAge789NameAvaBenMiaAge789
Mia has the dog, and the dog's owner is not 9. Carry the ✕ across: Mia is not 9 (orange).

Every time you place a ●, look along both of its lines into the other grids and copy the marks across.

When you are stuck: try it and see

In the hardest puzzles you reach a point where no clue gives you another mark. There is still a way forward, and it is not a lucky guess.

  1. Find an either/or clue, such as "Either Ava has the dog or Ben is 9, but not both."
  2. Suppose the first half is true. Mark it lightly in pencil and keep solving as usual.
  3. Watch for a dead end: a row or column where every box is crossed out, or two ●s in one line.
  4. A dead end proves the first half was false. Rub out the light marks, put an ✕ on it, and mark the second half as true.
  5. If you solve the whole puzzle with no dead end, the first half was true, and you are done.
PetcatdogfishNameAvaBenMia
A dead end: Mia's row has no box left. Whatever you supposed to get here was false.

Scientists and programmers use the same move. When you cannot see the answer directly, test an idea, and let a failure tell you something true.

Now try one

Start with a starter puzzle, which uses only the six steps above. The medium puzzles add carrying, and the hard puzzles each need one try-it-and-see step.