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

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).

How to use the calculator

  1. Pick a difficulty preset or set custom rows, columns and total mines.
  2. Click cells to cycle states: hidden → 🚩 (your flag) → number 1–8; right-click cycles backwards, until the board matches what you see.
  3. 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.
  4. 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.

Frequently asked questions

How accurate is the Minesweeper probability calculator?

Frontier cells (hidden cells next to numbers) are computed by exact enumeration over all consistent mine placements, so those are true mathematical probabilities. Isolated cells share the remaining mines evenly. Very large components fall back to forced-mine/safe detection plus approximation, and the page says so.

How is this different from Learn Mode in the game?

Learn Mode updates live during a game, scores every decision and supports post-game replay. The calculator is a static analysis tool for any board — replaying your own losses or studying someone else’s position. Both use the same solver.

What board sizes are supported?

Three presets (Easy 9×9·10, Medium 16×16·40, Hard 16×30·99) plus custom rows, columns and mine counts. Components larger than 28 cells switch to approximation to stay fast.

Do flags affect the calculation?

No. Flags are only your own marks and might be wrong, so the solver ignores them completely: every hidden cell — flagged or not — gets its probability purely from the opened numbers and the total mine count. A wrong flag can never poison the result, and flagged cells show their probability right next to the flag.