KenKen / Calcudoku Generator screenshot

KenKen / Calcudoku Generator

Generate a KenKen with arithmetic cages and a Latin-square solution the solver proves unique.

Privacy First
0 Runs
Updated 2026-11-22
Runs in your tab
No upload
Proven answer
Print and text download

What this page makes

Builds a 4×4, 5×5 or 6×6 KenKen: a Latin square cut into connected cages, each labelled with a target and an operation, with one proved solution.

How to use it

Choose the grid size and difficulty, then press Generate. Each cage shows its target and operation in its top-left cell; a cage with no operation is a single cell and simply holds that digit. Every row and column must contain 1 to N exactly once, and each cage must reach its target.

Worked example: 5×5, medium difficulty, seed kenken-demo becomes a cage grid with one proved Latin-square solution and the operation on every cage.

What it proves

A Latin square is filled from shuffled digit, row and column orders, then partitioned into connected cages. Each cage's target is computed from the fill with the operation printed on it (+, −, ×, ÷, or a bare digit for a single cell). The solver adds cage arithmetic to the Latin-square search and counts solutions up to two; a layout that is not unique is discarded and another is grown.

What it refuses

A seed that cannot reach a unique cage layout inside the node budget and forty layouts is refused with the cap named.

Where it runs

The puzzle is generated and solved in this tab: there is no upload, no network request, no stored seed and no model, so nothing you type leaves your device. The same seed and options rebuild the same puzzle exactly.

The rest of the family

The other puzzle generators are listed under Tabletop & Game Tools: killer sudoku, kakuro, KenKen, futoshiki, nonograms, slitherlink, Hashi, word search, crossword, magic squares and buzzword bingo.

Builds a 4×4, 5×5 or 6×6 KenKen: a Latin square cut into connected cages, each labelled with a target and an operation, with one proved solution.

A Latin square is filled from shuffled digit, row and column orders, then partitioned into connected cages. Each cage's target is computed from the fill with the operation printed on it (+, −, ×, ÷, or a bare digit for a single cell). The solver adds cage arithmetic to the Latin-square search and counts solutions up to two; a layout that is not unique is discarded and another is grown. Every puzzle is generated, solved or checked in this tab: there is no upload, no network request, no stored seed and no model, so nothing you type leaves your device.

Worked example: 5×5, medium difficulty, seed kenken-demo becomes a cage grid with one proved Latin-square solution and the operation on every cage.

Before the puzzle is shown, the same solver is run over it: the answer, the solution count and the node cap are printed under the board, so the proof is checkable rather than promised.

How to use the kenken / calcudoku generator

Choose the grid size and difficulty, then press Generate. Each cage shows its target and operation in its top-left cell; a cage with no operation is a single cell and simply holds that digit. Every row and column must contain 1 to N exactly once, and each cage must reach its target.

Every puzzle is generated, solved or checked in this tab: there is no upload, no network request, no stored seed and no model, so nothing you type leaves your device.

  • Grid size — one of 4, 5, 6
  • Difficulty — one of easy, medium, hard
  • Seed (blank draws one) — typed text

What the page proves

Builds a 4×4, 5×5 or 6×6 KenKen: a Latin square cut into connected cages, each labelled with a target and an operation, with one proved solution.

A Latin square is filled from shuffled digit, row and column orders, then partitioned into connected cages. Each cage's target is computed from the fill with the operation printed on it (+, −, ×, ÷, or a bare digit for a single cell). The solver adds cage arithmetic to the Latin-square search and counts solutions up to two; a layout that is not unique is discarded and another is grown.

  • Domain: 4×4, 5×5 and 6×6 Latin squares; subtraction and division cages only use their two-cell form.
  • The seed is printed with the puzzle and rebuilds it exactly: the same seed and options always produce the same grid.
  • A generation that cannot prove its answer inside the stated node cap is refused with the seed kept, rather than printed with an unchecked answer.

What it refuses, and what it leaves out

A seed that cannot reach a unique cage layout inside the node budget and forty layouts is refused with the cap named.

  • Not the right page for: a KenKen with negative numbers or a non-Latin variant
  • Not the right page for: a puzzle that uses exponentiation cages

What to Expect

Best for

  • an arithmetic puzzle for a classroom
  • a smaller grid than sudoku
  • a printable cage worksheet

Not ideal for

  • a KenKen with negative numbers or a non-Latin variant
  • a puzzle that uses exponentiation cages

What this tool keeps

  • every cage target and operation
  • the one-solution proof
  • the Latin-square solution

What may need cleanup

  • printing before opening the answer key
  • choosing 6×6 when the page width is tight

Common errors

  • a cage division must be exact
  • a subtraction cage target is the positive difference

Example use cases

  • a primary-school maths challenge
  • a puzzle break
  • a printed homework sheet

Sample input

5×5, medium difficulty, seed kenken-demo

Sample output

a cage grid with one proved Latin-square solution and the operation on every cage

Who this is for

  • Students
  • Teachers
  • Puzzle players

Frequently asked questions

Is my data sent anywhere?

Every puzzle is generated, solved or checked in this tab: there is no upload, no network request, no stored seed and no model, so nothing you type leaves your device.

What can I download or print?

Print shows the puzzle and, if you open it, the answer key. Download writes a plain text file with the seed, the facts the page proved and the answer key; both are produced in this tab and neither is uploaded.

Why does the page print a seed?

So a puzzle can be rebuilt exactly. The same seed and the same options give the same puzzle on any machine, because the only randomness is a hash of the seed. Leave the field blank for a fresh one; the seed that was used is written back into the field.

How is the target of a cage chosen?

The page computes it from the printed solution: the sum, product, positive difference or exact quotient of the cage's digits. It then solves the puzzle again from the targets alone, so a target that did not describe the solution would fail generation.

Why is division only in two-cell cages?

The standard rule is that a division cage has two cells, so the target is the larger digit divided by the smaller. Allowing longer division cages would need an order convention the page does not print.

Can two cages overlap?

No. Every cell belongs to exactly one cage, which is what makes the printed borders and the solution unambiguous.

Developer program

Build custom tools for your store

Join the SDK program to create useful ecommerce utilities for your store.