Skip to content
MINESWEEPER

What Do the Numbers Mean in Minesweeper?

Every number is a count of the mines touching that square. Learn to read all eight of them, and their colors, and the board starts telling you where the mines are.

A number in Minesweeper tells you how many mines are hidden in the squares touching it: the eight squares around it, diagonals included. A 1 means exactly one of those squares is a mine, a 3 means three are. A blank open square is a 0, so none of its neighbours is a mine. Numbers run from 1 to 8 and each has its own color: 1 blue, 2 green, 3 red, 4 navy, 5 maroon, 6 teal, 7 black, 8 gray.

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.

A finished board with its mines shown. The outlined 3 touches eight squares, and three of them are mines.

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:

Minesweeper number colors
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.

Share of safe squares showing each number, by difficulty
Number BeginnerIntermediateExpert
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%
neverunder 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.

The 2 touches two hidden squares, so both are mines.

Corners make this rule fire often. The 3 in the corner below has only three neighbours, so all three are mines:

A 3 in a corner: all three neighbours 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.

The 1 already has its mine, so a and b are safe.

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.

Minesweeper Numbers FAQ

What do the numbers mean in Minesweeper?

A number tells you how many mines are hidden in the squares touching it, counting all eight neighbours including the diagonals. A 1 means exactly one of them is a mine, a 2 means two, and so on up to 8. An open square with no mines around it shows no number at all.

What do the colors of the numbers mean?

Nothing beyond the number itself: each value has its own color so you can tell them apart at a glance. The classic Windows colors, which this site uses, are 1 blue, 2 green, 3 red, 4 navy, 5 maroon, 6 teal, 7 black and 8 gray.

What does a blank square mean in Minesweeper?

A blank open square is a 0: none of its eight neighbours is a mine. Because all of them are safe, the game opens them for you, which is why a single click can clear a whole area.

What is the highest number in Minesweeper?

8, because a square has at most eight neighbours. An 8 means the square is completely surrounded by mines. It is very rare: in our simulation 1 in 1,100 Expert boards had an 8, and not one of 1,000,000 Beginner boards did.

Do the numbers count flagged squares?

They count mines, whether or not you have flagged them. The number never changes when you place or remove a flag. That is why a misplaced flag is dangerous: the number still counts the real mine somewhere else.

How do I use the numbers to find mines?

Compare each number with the hidden squares around it. If it touches exactly as many hidden squares as its value, they are all mines. If it already touches that many flagged mines, its other hidden neighbours are safe. When neither rule settles a number on its own, compare it with a neighbouring number, which is what patterns such as the 1-2-1 do.

Keep learning