Home › Fun & Games › Calcudoku Math Puzzle

Calcudoku Math Puzzle

Fill the grid so every row and column uses each number once and every outlined cage hits its target with the given operation. Puzzles are generated on the spot and checked to have exactly one solution.

Last updated:

Loading… 0:00

Advertisement
Advertisement

How to use the Calcudoku Math Puzzle

  1. Pick a size, difficulty and operations, then press New puzzle. A 4×4 Easy grid is a good first game.
  2. Select a cell and tap a number on the pad or type it. Each row and column must contain 1 to N exactly once.
  3. Respect the cages: the numbers in each bold cage must produce the target in its corner with the shown operation (for − and ÷, take the larger number first).
  4. Use Notes (or hold Shift while typing) to pencil in candidates, and read the cage helper under the grid for possible digit sets.
  5. Check answers or take a hint when stuck. The puzzle is solved when every cell is correct.

Calcudoku rules and cage examples

Cage labelCellsMeaningPossible digits (4×4 grid)
31Given number3
7+2The two numbers add up to 73 and 4
1−2Larger minus smaller is 11&2, 2&3, 3&4
2÷2Larger divided by smaller is 21&2, 2&4
12×2The product is 123 and 4
6×3 (L-shape)The product is 61, 2 and 3 in some order

Subtraction and division cages always have two cells. Addition and multiplication cages can have any size, and a number may repeat in a cage only if the repeated cells are in different rows and columns.

Solving techniques

  • Row and column totals: every row and column of an N×N grid adds up to N×(N+1)÷2 (10 for 4×4, 21 for 6×6, 45 for 9×9) and multiplies to N! (24 for 4×4). If all but one cell of a row is inside known cages, the last cell is fixed.
  • Unique combinations: small sums and large products often have only one digit set. In a 6×6 grid, 11+ in two cells must be 5 and 6, and 30× in two cells must be 5 and 6.
  • Prime numbers: a product that contains a prime such as 5 or 7 tells you that digit must be in the cage.
  • Naked pairs: if two cells in a row can only be {2, 4}, no other cell in that row can be 2 or 4.
  • Parity: an odd sum over two cells needs one odd and one even number; an odd product means every digit in the cage is odd.

How the puzzles are made

Each puzzle starts from a random Latin square (rows, columns and symbols shuffled). The grid is split into random connected cages of the size allowed by the difficulty, and every cage gets an operation and the matching target. A solver that combines cage-combination filtering with row and column elimination then counts solutions; if it finds two, the cage that separates them is reshaped and the check repeats. Only puzzles with exactly one solution reach you.

Frequently asked questions

What is Calcudoku?

Calcudoku (also called Mathdoku, and similar to the KenKen puzzles) is a logic puzzle on an N×N grid. Each row and column must contain the numbers 1 to N exactly once, like a Latin square, and the grid is divided into outlined cages that show a target number and an arithmetic operation.

How do subtraction and division cages work?

Subtraction and division cages always have exactly two cells. Take the larger number minus or divided by the smaller one: a cage marked 2− could hold 3 and 1 or 4 and 2 in any order, and a cage marked 3÷ could hold 3 and 1, 6 and 2, or 9 and 3.

Can a number repeat inside a cage?

Yes, as long as the two equal numbers are not in the same row or column. For example an L-shaped 3-cell cage marked 5+ could hold 2, 1 and 2 when the two 2s sit in different rows and columns.

Does every puzzle have only one solution?

Yes. After generating a random Latin square and cages, the tool runs a constraint-propagation solver that searches for a second solution. If one exists, it changes the cages and checks again, so you only get puzzles with a single, logically reachable answer.

What is a good way to start?

Fill single-cell cages first, because they are given numbers. Then look for cages with only one possible digit set, such as 3+ in two cells (1 and 2) or a large product like 20× in two cells of a 5×5 grid (4 and 5). Use the rule that each row of an N×N grid adds up to N×(N+1)÷2.

What do the difficulty levels change?

Easy uses cages of up to two cells and more given numbers, Medium uses cages of up to three cells, and Hard uses cages of up to four cells with very few givens, which means fewer obvious starting points.

Is my progress saved?

Yes. Your current puzzle, entries, notes and best times are saved in your browser's local storage on this device, so you can close the page and continue later. Nothing is uploaded.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Killer SudokuPlay generated killer sudoku puzzles with cage sums, pencil marks, a cage combo helper and hints.Kakuro PuzzlePlay generated cross-sum kakuro puzzles in several sizes with pencil marks and a combination helper.Sudoku OnlinePlay free Sudoku with 4 difficulty levels, notes, hints and a timer.Nonogram PuzzlePlay unlimited nonogram (picross) puzzles from 5×5 to 15×15, each with one unique solution.SolitairePlay classic Klondike Solitaire with Draw 1 or Draw 3 and undo.Spider SolitairePlay Spider Solitaire online with 1, 2 or 4 suits, hints, unlimited undo and a timer.Play Chess vs ComputerPlay chess online against the computer at 8 difficulty levels.Connect FourPlay Connect 4 online against the computer or a friend.Snake GamePlay classic Snake online with speeds, wall modes and high scores.Tic Tac ToePlay tic tac toe against an unbeatable AI or a friend.Block Puzzle GameClassic falling blocks puzzle game with levels and high score.MinesweeperPlay classic Minesweeper: 3 difficulties, flags, timer and a safe first click.2048 GamePlay 2048 online with swipe controls, undo and best score.Word Guess GameGuess the hidden five-letter word in six tries. Unlimited games, stats and hard mode.HangmanClassic friendly hangman word game with categories, hints and difficulty levels.Memory Card GameFlip cards and match emoji pairs on 4×3 to 6×6 grids, with moves, timer and best scores.Flappy GameTap to flap a round chick through bamboo gaps and beat your high score.Dino Runner GameJump cacti and duck buzzing beetles in an original endless desert runner.Typing GameType the falling words before they land; level up and track your WPM and accuracy.Math Quiz GameTimed mental math rounds with four operations, five levels, streaks and high scores.Flag QuizGuess the flags of all 196 countries in four modes, from multiple choice to timed.Map QuizFind countries on a clickable world map or name the highlighted one, by continent.Periodic Table QuizLearn all 118 elements: quiz symbols, names and atomic numbers or click them on the table.Spelling Bee GameMake words from 7 honeycomb letters, always using the center letter. New daily puzzle.Jigsaw PuzzleTurn a sample picture or your own photo into a 12 to 150 piece jigsaw puzzle and solve it.Sliding PuzzlePlay the 15 puzzle and 3×3 to 6×6 sliding tile puzzles with numbers or your own photo.Mahjong SolitaireMatch pairs of free tiles to clear the Turtle and two smaller layouts, with hints, shuffle and undo.Scrabble Word FinderFind the highest-scoring words from your rack, with blank tiles, patterns and bingo bonus.Wordle SolverEnter your guesses and colours to see every possible answer and the best next guess.Crossword SolverFind words that fit a crossword pattern like c?t from the length and the letters you know.Word Search GeneratorMake a word search puzzle from your words, play it online or print it with an answer key.Pong GamePlay classic Pong online against the computer on 3 levels or with a friend, first to 11.Breakout GameClassic brick breaker game with levels, power-ups and lives. Play with mouse, touch or keyboard.Whack-a-MoleWhack the moles before they hide in 30 or 60 second rounds. Speed increases, best score saved.Simon Says GameRepeat the growing color and sound sequence. Classic memory game with strict mode and high score.CheckersPlay checkers online against the computer or a friend, with kings, undo and hints.ReversiPlay Reversi (Othello rules) online vs a 3-level computer or a friend, with move hints.GomokuGet five in a row on a 15×15 board against a smart computer or a friend.Forehead Guessing GameHeads-up style party game: hold the phone to your forehead, tilt down if correct, up to pass.Fruit Merge GameDrop fruits into the box and merge matching ones into bigger fruit, all the way to a watermelon.Fruit Slice GameSwipe to slice tossed fruit, dodge the rocks and chain combos. Three lives, mouse or touch.Conway's Game of LifeDraw cells and watch them evolve: play, step, change speed, load gliders and guns, import RLE.Online Game Show BuzzerQuiz buzzer for 2–8 teams on one device: first key or tap locks out the rest with sound.Games for CatsFull-screen mice, laser dot, fish and bugs for cats to chase on a tablet, with squeaks and a tap counter.Kids General Knowledge QuizFun quiz for kids aged 5–12 on animals, space, geography and science, with read-aloud and stars.Go FishKid-friendly Go Fish card game vs the computer: ask for ranks, make books of four, voice prompts.Go Game (Baduk)Play Go on 9×9, 13×13 or 19×19 vs a simple AI or a friend, with ko, scoring and SGF export.Higher or Lower GameIs the next one higher or lower? Compare country populations, areas, buildings and mountains.Imposter Word GamePass-the-phone party game: everyone gets the secret word except the imposter. Clue, vote, reveal.Logic Grid PuzzlesSolve Einstein-style deduction puzzles with clues and an ✗/✓ grid, from easy to hard.Math Equation Guess GameNerdle-style math puzzle: find the hidden 8-character equation in six tries. Daily and unlimited.Maze Chase GameArcade maze game: eat every dot, grab power pellets and dodge four ghosts. Levels, lives and high score.Mini Golf GamePlay 18 holes of top-down mini golf: drag to putt past windmills, water and sand, with a scorecard.Connect the Dots Flow PuzzleDraw lines to join matching colored dots and fill the whole board without crossings. 5×5 to 12×12.Car Parking PuzzleSlide the blocking cars and trucks to free the red car. 120 graded levels with hints.Peg SolitaireJump pegs over each other until only one is left. English, European and triangle boards with hints.Pipes PuzzleRotate pipe tiles to connect every pipe to the source with no leaks. 5×5 to 15×15, wrap mode, timer.Pop It GameVirtual pop-it fidget toy with pop sounds, shapes and colors, plus a two-player last-pop game.Rebus PuzzlesPicture-word brain teasers like MIND over MATTER, with hints, answers and printable sets.Road Crossing GameFrogger-style arcade: hop across busy roads and a log-filled river, grab coins and fill all 5 homes.SokobanPush every box onto a goal in this warehouse puzzle. 60 levels, undo, swipe and custom levels.Spend a Billion Dollars GameSpend a billion (or any fortune) on houses, jets and good causes, then save your receipt.Spot the DifferenceFind 5 to 10 differences between two illustrated pictures, with new scenes every game.US States Visited MapClick US states to mark visited, lived or want to go, see your count out of 50 and save a PNG.Taboo Word Game CardsDescribe the word without saying the forbidden ones: 100+ cards, timer and team scores.Tangram PuzzleDrag, rotate and flip 7 tangram pieces to fill 58 silhouettes, with snapping, hints and kids mode.Ultimate Tic Tac ToePlay 9 nested tic-tac-toe boards vs a Monte Carlo AI or a friend, with a rules guide.US Map PuzzleDrag the 50 states onto the US map. Snapping, timer, labels toggle, regions and an easy kids mode.
See all 141 Online Games →