Free to use, no account

Tower of Hanoi

Free, browser-based tool. Enter your values and get a result on this device.

The minimum number of moves is 2ⁿ−1 for n disks. The move counter records your moves; it does not automatically solve the puzzle.

Puzzle board

How does this tool work?

Choose 3 to 8 disks and start a game. Select a rod with a top disk, then select a destination rod. The board supports mouse, touch, and keyboard controls.

Frequently asked questions

How does this tool work?

Choose 3 to 8 disks and start a game. Select a rod with a top disk, then select a destination rod. The board supports mouse, touch, and keyboard controls.

Is my input uploaded?

No. Processing runs in this browser. Your input is not uploaded or saved by this tool.

Is Tower of Hanoi free to use?

Yes. It is free in your browser and does not require an account. Device memory and browser support still apply.

How accurate is this result?

The minimum number of moves is 2ⁿ−1 for n disks. The move counter records your moves; it does not automatically solve the puzzle.