Minesweeper Probability Calculator
Reconstruct the position you see — click to mark flags, blank (0) squares, and numbers 1–8 — and the calculator computes the exact mine probability of every hidden cell using the same solver as Learn Mode in Meathill Minesweeper.
Last updated: 2026-10-30
Click a cell to cycle: hidden → 🚩 → blank (0) → number 1–8; right-click cycles backwards (or press 0–8 / F on a focused cell). Percentages show mine odds (green low → red high).
* Large regions are approximate (forced mines / safe cells stay exact).
How to use the calculator
- Choose a difficulty preset from the dropdown or set custom rows, columns and total mines.
- Click cells to cycle states: hidden → 🚩 → blank (0) → number 1–8; right-click cycles backwards (or focus a cell and press
0–8/F). - Every hidden cell shows its live mine probability (%), green low → red high. Flags count as known mines by default; uncheck “Count 🚩 as known mines” to audit uncertain flags.
- Stuck? Play the lowest percentage — that is the best expected-value move.
How the probabilities are computed
Every opened square (including blank 0 cells) creates an exact constraint over its unopened neighbors, deducting adjacent flags when known-mine mode is active. The solver splits
connected constraints into independent components and enumerates each exactly with pruning, counting how
often each cell is a mine across all valid placements; isolated cells share the remaining mines evenly. Components
larger than 28 cells switch to forced-mine/safe detection plus approximation, clearly marked on the page.
When is it useful?
- Coin-flip moments: intuition says “about the same”; the numbers say 30% vs 70%.
- Post-game replay: rebuild the losing position and check whether that click was right.
- Training intuition: compare your gut feeling against the heatmap until they agree.