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

Flagged 0 · Mines left 10

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

How to use the calculator

  1. Choose a difficulty preset from the dropdown or set custom rows, columns and total mines.
  2. Click cells to cycle states: hidden → 🚩 → blank (0) → number 1–8; right-click cycles backwards (or focus a cell and press 0–8 / F).
  3. 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.
  4. 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.

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?

Yes by default: when “Count 🚩 as known mines” is checked, flagged cells are treated as confirmed mines and subtracted from adjacent numbers and the remaining mine count. Uncheck that toggle anytime to verify uncertain flags — the solver will ignore flags and show each flagged cell’s true probability.