Minesweeper

Guides

Minesweeper probability

When logic runs out, a good guess is a number you can calculate.

Short answer

Use the number of remaining mines divided by the remaining unknown cells as a rough baseline, assuming every flag is correct. Nearby numbers can change a cell's chance. A 1 with four interchangeable unknown neighbors gives each a 1 in 4 chance only when there is no other information.

The global density

Subtract only mines you have correctly identified, then divide by the covered cells that are still unknown, excluding those confirmed mines. This is a baseline, not the exact chance for every cell. Initial densities are 10/81 (about 12%), 40/256 (about 16%) and 99/480 (about 21%); the remaining density changes as you open cells.

Local chances from a number

Subtract confirmed neighboring mines from the displayed number. If the remaining count is 1 and there are four interchangeable unknown neighbors with no other constraints, each has a 1 in 4 chance. With two such neighbors it is 1 in 2. Compare with the current remaining density, rather than the starting density. A far-away cell is not automatically safer.

Worked example

Suppose one 1 touches unknown cells A, B and C, and another 1 touches B, C and D, with all other neighbors already resolved. The local possibilities are a mine in B, a mine in C, or mines in both A and D. They are not necessarily equally likely: each must be weighted by how many complete board layouts match the remaining mine count and all other numbers. Counting these three local possibilities alone does not establish the safest cell.

Practical rules

Frequently asked questions

Is guessing always a mistake?

No. Some boards require it. The aim is to guess only when no certain move is left, and to pick the lowest chance.