Broken Calculator

About this tool

A four-function calculator has lost most of its keys. The class must make the display show the target number using only the working keys and as few presses as possible. Three packs with 25 levels move from missing digits to very few keys, and every level is guaranteed solvable because a solver found its best count. Each press counts, Undo gives the press back and Clear counts as one. A button reveals a shortest solution. The level maker lets you choose any target and any working keys, and it tells you clearly when a level cannot be solved. The rules are shown beside the calculator.

Classroom ideas

  • Show a level and ask the class to predict the fewest presses before anyone touches a key.
  • Compare two different solutions with the same number of presses and discuss why both work.
  • Make a level whose target uses a digit that is switched off and let groups compete to solve it.

Related tools