Minesweeper Solver: Safe Moves, Logic & Probability
See how Minesweeper solvers turn visible number clues into proven safe moves, mine deductions, and useful probability estimates.
What a Minesweeper solver actually does
A Minesweeper solver analyzes the visible part of the board and works out which hidden squares must be safe, must contain mines, or remain uncertain. It cannot see beneath covered tiles. Instead, it translates each revealed number into a rule about neighboring squares, then checks which arrangements satisfy all of those rules at once.
Think of each covered square as an unknown variable: it is either a mine or it is not. A clue constrains the variables around it. If every valid arrangement puts a mine in the same square, that square is logically certain; if every arrangement leaves a square clear, it is a proven safe move. A solver can only be as accurate as the board information entered into it. Screenshot-reading tools can save time, but a misread digit or flag can change the answer.
How number clues prove a move
Every number counts mines in the eight surrounding squares, including diagonals. A 1 means exactly one of its still-covered neighbors is a mine, after accounting for any mines already confirmed. Solvers compare clues that share neighboring squares to find deductions a single number cannot show on its own.
A solver compares the remaining covered neighbors of related clues. The worked example below shows how one extra mine can be located even while two squares remain uncertain.
The same comparison can prove a square safe. If two clues require the same total number of mines among A and B, but one clue also touches C, then C cannot be a mine. A solver repeats deductions like these, including more complex combinations, until it finds a safe move, a forced mine, or no further certainty.
Certain deductions versus probability
A deterministic solver reports only conclusions that follow from the visible clues. It may mark a square safe or a mine with certainty, but sometimes the board has no logically forced move. Several different mine layouts can then fit every clue you have uncovered. The puzzle may require a guess even when the board is entered perfectly.
A probability solver also counts the valid layouts that remain and calculates how often each covered square contains a mine under its model. If a square is mined in 1 out of 4 valid layouts, its mine probability is 25%. That count is exact for the assumptions used, but it cannot promise what one click will reveal. Different board-generation rules can change which layouts are valid.
When a solver shows both a safe move and percentages, take the proven move first. When every option has risk, compare the full constraints rather than choosing a square just because its number looks small. A low-risk move can still lose, and a higher-risk move can sometimes open more of the board.
How to use an online Minesweeper solver
Most online solvers ask you to recreate the current board in a grid. Some let you enter numbers and confirmed mines by clicking cells; others can read a screenshot. The controls vary, but careful input matters more than speed. A solver reasons from your model of the board, not from the live game behind the page.
- Choose the same board dimensions and mine count as your game, if the solver asks for them.
- Enter every revealed number in the correct square and mark only mines you have actually confirmed.
- Check the edges and corners: diagonal neighbors count, and one missing clue can change the result.
- Ask the solver to analyze the board, then read its explanation as well as its suggested move.
- Make one move in the game and update the solver before asking again; a new clue may change the safest choice.
Why a solver may show no safe move or an error
“No safe move” usually means the revealed clues do not force any remaining square to be clear. It does not automatically mean you entered the board incorrectly. If the solver offers probabilities, use them to compare the remaining risks; otherwise, you may need to guess or use another clue already available on the board.
An inconsistent-board warning usually points to an input problem. Check whether a guessed flag was entered as a confirmed mine, a number was placed one square away, or a revealed cell was left marked as covered. Recount diagonal neighbors and confirm the board size and total mine count. If you used screenshot recognition, verify every detected number before trusting the analysis.
What a solver cannot know
A solver cannot reveal the actual contents of a covered square when multiple layouts still satisfy the clues. It can prove what is forced by the information you provide and estimate risk when its model supports that calculation, but it cannot turn uncertainty into certainty. A displayed 0% risk is meaningful only if the board was entered correctly and the solver's assumptions match the game.
A solver also cannot infer a hidden generator rule it was never told about. Some games guarantee a safe first click; others may use different rules. If those rules affect which layouts are possible, the solver needs to model them to give matching probabilities. Treat unexplained percentages as estimates, and use the clue-based explanation to understand why a move is recommended.
Use a solver to learn, not just to click
The most useful habit is to pause before opening the solver. Write down what you think the clues prove, then compare your reasoning with the solver's explanation. When they differ, look for an overlooked shared neighbor, a diagonal, or a mine count that has already been accounted for. After a loss, review the last uncertain choice and ask whether a safer deduction was available elsewhere.
Mine-Sweeper Arcade now includes an interactive browser-based solver. Open the solver tool to enter the board, inspect proven safe moves and confirmed mines, and compare exact probabilities under the entered clues and total mine count. It runs in your browser and does not submit board data to the leaderboard.
Common questions
Can a Minesweeper solver tell me exactly where every hidden mine is?
Only when the visible clues and valid board rules logically determine those squares. If several hidden layouts still fit, the solver cannot know which one is real; it can only compare possibilities or probabilities.
Does a solver always find a safe move?
No. Some positions have no move guaranteed safe by the clues revealed so far. That can be a genuine guess, even when the board is entered correctly.
Are solver probability percentages guaranteed?
No. They describe risk under the solver's model and assumptions. They help compare options, but cannot guarantee the outcome of an individual move.
Do I have to flag mines before using a solver?
It depends on the tool. Some solvers accept confirmed mines; others infer them from the number clues. If you enter flags, make sure they are deductions rather than guesses, or the solver may treat a wrong flag as fact.
Can a solver read a Minesweeper screenshot?
Some tools offer image recognition, but it can confuse small numbers, flags, or covered squares. Check the reconstructed board before relying on the result.
Does Mine-Sweeper Arcade have an interactive solver?
Yes. Open the interactive solver to enter a board, reveal proven safe moves and mines, and compare exact probabilities when no safe move is guaranteed. It analyzes the board in your browser and does not read screenshots.
READY FOR A RUN?