What a Minesweeper Number Counts
Every open square looks at its neighbours: the squares directly above, below, left and right of it, and the four on the diagonals. The number it shows is how many of those eight squares hold a mine. Nothing else goes into it.
The board above is finished, with every mine shown, so you can check any number against it. Pick a square, count the mines in the ring around it, and you get its number. The corner square at the bottom left shows nothing because none of its three neighbours is a mine.
Edges and corners have fewer neighbours
A square in the middle of the board has eight neighbours, a square on an edge has five, and a square in a corner has three. The count only covers squares that exist, so a number near the edge has fewer places for its mines. A 3 on a corner square means every one of its neighbours is a mine; a 5 on an edge means the same. In the middle of the board it takes an 8 to say that.
Blank squares are zeros
An open square with no number is a 0. Since none of its neighbours can be a mine, the game opens all of them for you, and any of those that is a 0 opens its own neighbours too. That chain reaction is why a single click sometimes clears a large area, and why the border of every opened area is lined with numbers.
Minesweeper Number Colors
Each number has its own color so you can read the board at a glance instead of reading digits. This site uses the colors of the classic Windows Minesweeper, the same in the light and the dark theme:
| Number | Color | Hex | Means |
|---|---|---|---|
| Blue | #0000FF | 1 mine around it | |
| Green | #008000 | 2 mines around it | |
| Red | #FF0000 | 3 mines around it | |
| Navy (dark blue) | #000080 | 4 mines around it | |
| Maroon (dark red) | #800000 | 5 mines around it | |
| Teal | #008080 | 6 mines around it | |
| Black | #000000 | 7 mines around it | |
| Gray | #808080 | 8 mines around it |
The colors carry no extra meaning: a red 3 is no more dangerous than a 3 in any other color would be. They are worth learning anyway. After a few games you stop reading the digits and start seeing shapes, a blue 1 next to a green 2, which is how experienced players spot patterns such as the 1-2-1 without counting.
Tip: 1 and 4 are both blue, and 3 and 5 both red. If two numbers look alike at a glance, trust the digit, not the color.
How Often Each Number Appears
Low numbers are everywhere and high ones are rare, because a high number needs many mines packed around one square. These shares come from 1,000,000 simulated boards per difficulty, the same run as the Minesweeper statistics page, and count every safe square of each board.
| Number | Beginner | Intermediate | Expert |
|---|---|---|---|
| Blank (0) | 41.8% | 29.9% | 18.9% |
| 39.1% | 38.4% | 34.2% | |
| 15.4% | 22.3% | 28.2% | |
| 3.2% | 7.5% | 13.6% | |
| 0.4% | 1.6% | 4.2% | |
| 0.0284% | 0.2% | 0.8% | |
| 0.0011% | 0.0182% | 0.1% | |
| under 0.0001% | 0.0009% | 0.0076% | |
| never | under 0.0001% | 0.0002% |
On Expert, 18.9% of the safe squares are blank and 34.2% show a 1. An 8 turned up on 1 in 1,100 Expert boards, and not once in 1,000,000 Beginner boards, where ten mines rarely crowd together.
How to Use the Numbers to Find Mines
A number on its own says how many mines are around it, not where. You find out where by comparing the number with the hidden squares it touches. Two rules do most of the work.
When the number equals its hidden squares, they are all mines
If a number touches exactly as many hidden squares as its value, every one of them is a mine. The 2 below sits against the left edge of the board and has only two hidden neighbours, so both are mines. Flag them.
Corners make this rule fire often. The 3 in the corner below has only three neighbours, so all three are mines:
When the number already has its mines, the rest are safe
If a number already touches as many flagged mines as its value, it is satisfied and every other hidden square around it is safe. The 1 below touches one flag, so a and b can be opened. You can open them one by one, or click the satisfied 1 to open them all at once, which is called chording.
When one number is not enough, compare two
Often no single number settles anything, but two neighbouring numbers do. Two 1s side by side share most of their hidden squares; if the first 1 can only put its mine in squares the second 1 also touches, the second 1 has no mine left for its other squares, so they are safe. Comparisons like this are what Minesweeper patterns are, and the pattern guide works through the 1-1, 1-2, 1-2-1 and 1-2-2-1 on board diagrams.
Common Ways to Misread the Numbers
- Counting only four neighbours
- The diagonals count. A number covers the whole ring of eight squares around it, not just the squares above, below, left and right.
- Thinking the number counts flags
- The number is fixed when the board is dealt and only ever counts real mines. Your flags do not change it, and a wrong flag does not make it wrong.
- Thinking the number is about its own square
- A numbered square is always safe: it is open. The number describes its neighbours, never the square it sits on.
- Forgetting the edge
- Off the board there is nothing to count. A square on an edge has five neighbours and a corner square three, so the same number is far more telling there.
New to the game? The Minesweeper beginner's guide plays a whole opening move by move with these rules, and the Beginner board, 9×9 with 10 mines, is the place to practise them.