How to play Calcudoku
rules · strategies · worked example

How to play Calcudoku

Fill an N×N grid with 1 to N — no repeats in a row or column — so every cage hits its target using its operation. Also known as Mathdoku, KenDoku, Calcu-doku.

▶ Play Calcudoku⊞ Open the solver∑ Combination calculator

The rules

  1. An N×N grid uses the digits 1 to N. Each row and each column contains each digit exactly once.
  2. Bold outlines group the cells into cages. Each cage shows a target and an operation: + − × or ÷.
  3. The digits in a cage must make the target with that operation. For − and ÷ the cage has two cells, and you take the larger number first (6 − 2 = 4, 6 ÷ 2 = 3).
  4. A one-cell cage simply gives you the digit.
  5. A digit may repeat inside a cage, as long as the copies are not in the same row or column (possible only in L-shaped or larger cages).

Playing Calcudoku on Puzzle Solvers

  1. Choose a grid size and a difficulty, then press Generate Puzzle.
  2. Click a cell and type a digit, or use the on-screen keypad. Notes switches to pencil marks.
  3. Undo steps back; Force places one digit that has only one possible value; Check marks mistakes in red without giving away the answer.
  4. Operators Hidden mode hides the operation in every cage — the hardest way to play.
  5. Stuck? Send to Solver opens the same puzzle in the step-by-step solver. Send to Slate opens it as a board on the Slate whiteboard, to solve in front of a class.

Open the Calcudoku game →

Using the Calcudoku solver

  1. ① Build puzzle: choose the grid size, select cells to make a cage, then set its operation and target.
  2. ② Check: the solver checks every cell is caged and the puzzle can be solved.
  3. ③ Solve: watch it solve cage by cage, with every deduction explained.
  4. Load the sample puzzle to try it first.

Open the solver →

A worked example

On a 4×4 grid, the first two cells of row 1 form a cage reading 3−. The only digits from 1–4 that differ by 3 are 1 and 4, so those two cells hold 1 and 4.

The other two cells of row 1 form a 6× cage. They must be the digits row 1 still needs — 2 and 3 — and indeed 2 × 3 = 6. Which way round each pair goes is decided by the columns: if column 1 already has a 4 lower down, the 3− cage reads 1, 4 from the left.

Strategies

Common mistakes

Where it comes from

The puzzle was invented in 2004 by Japanese maths teacher Tetsuya Miyamoto as a way to build arithmetic and logical thinking. It is published under several names, including Calcudoku and Mathdoku.

Frequently asked questions

Are Calcudoku, Mathdoku and KenDoku the same puzzle?

Yes — the same rules under different names. This site has a cage calculator under each name: Calcudoku, Mathdoku and KenDoku.

Which number comes first in a − or ÷ cage?

The larger. A 2÷ cage of 3 and 6 means 6 ÷ 3.

Can digits repeat inside a cage?

Only when the cage is bent so the repeated digits sit in different rows and different columns.

What is Operators Hidden mode?

A harder mode in the Calcudoku game where cages show only the target — you deduce the operation as well as the digits.

How do I see every combination for a cage?

Enter the grid size, operation, cells and target in the cage calculator, or browse the cage combinations tables.

Keep going

All guides: How to play every puzzle and game.