Minesweeper Probability Calculator
Reconstruct the position you see — click to mark numbers and drop flags — and the calculator computes the exact mine probability of every hidden cell, using the same solver as Learn Mode in Meathill Minesweeper. Flags are treated as your own guesses, not facts.
Last updated:2026-09-03
Flagged 0 · Mines left 10 Flagged mines exceed the total — adjust the count.
Click a cell to cycle: hidden → 🚩 → number 1–8; right-click cycles backwards. The percentage on each hidden cell is its mine probability (green low → red high).
* Large regions are approximate (forced mines / safe cells stay exact).
How to use the calculator
- Pick a difficulty preset or set custom rows, columns and total mines.
- Click cells to cycle states: hidden → 🚩 (your flag) → number 1–8; right-click cycles backwards, until the board matches what you see.
- Every hidden cell — flagged or not — shows its live mine probability (%), green low → red high. Flags never change the odds; they just mark where you think mines are.
- Stuck? Play the lowest percentage — that is the best expected-value move.
How the probabilities are computed
Every opened number is a constraint: “exactly number mines among my hidden neighbors”. Flags are ignored —
they may be wrong, so trusting them could poison the result. 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 total 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.