Minesweeper Probability Solver
Stuck on a minesweeper board where every click looks like a coin flip? Rebuild the position — grid size, total mine count, the numbers you can see and any mines you already know — and the solver computes the exact probability that each hidden cell is a mine. It groups the revealed numbers into independent constraint regions, enumerates every mine layout consistent with each region, then weighs those layouts by how many ways the remaining mines can fall on the cells no number touches. The result is a color-coded heatmap: green cells are proven safe, red cells are certain mines, and everything in between shows its true percentage — so when you must guess, you guess where the odds are best, not where your gut points.
Runs 100% in your browser — your puzzles never leave your device.
Read the full guide to this tool
Notes
- The math is exact, not simulated: connected groups of number constraints are enumerated completely, and the counts are combined with the binomial weight of placing the leftover mines on unconstrained cells, so the percentages are true posterior probabilities given the total mine count.
- 0% and 100% cells are logical certainties — click every green cell and flag every red one before considering any guess.
- Cells far away from every number are not "free": they carry the leftover-mine density, which is often lower than the frontier probabilities — sometimes the best move is a random-looking click into open territory.
- Very large connected constraint regions (over 40 linked cells) are refused with a warning instead of freezing the page; real game positions almost never reach that size.
- Runs 100% in your browser — your words and puzzles never leave your device.