Dice · 20,000,000 simulated games

What is the chance of six of a kind with 6 dice in three rolls?

Roll 6 dice. Keep every die showing your most common face and re-roll the rest, up to three rolls in all. How often do you end with all 6 the same?

2.045%exactly 33,391,127 in 1,632,586,752
simulated: 2.0426% ± 0.0062% (95%), 408,516 of 20,000,000 games

The chance of rolling six of a kind with 6 dice in three rolls (keeping your most common face between rolls) is 2.045%. Worked out exactly and confirmed by 20,000,000 simulated games that you can replay on this page.

What the computer did

Games
20,000,000 (1,000 chunks of 20,000, in 1 segment)
Compute
0.05 CPU-hours; 0.00 hours on arm64, 16 cores, Darwin 25.5.0
Engines
Python 3.14.8; every segment is spot-checked by replaying chunks in the other language
Ran
2026-10-31T14:45:19Z to 2026-10-31T14:45:31Z
Seed
4235892683 (from this page's address); chunk k uses xoshiro128** seeded by splitmix32(seed ⊕ k·0x9E3779B1)
Exact method
Markov chain over every possible roll
Code
sims/rng.py sha256 b81126f5f114cdf1…
sims/kinds/dice.py sha256 8eb1c4cbdc0ad59a…
site_src/sims.js sha256 5cd91ae0e3f8246e…
All 1 segments of this run
#ChunksChunk sizeGamesEngineFinishedCode (sha256)
00–99920,00020,000,000Python2026-10-31b81126f5 8eb1c4cb 5cd91ae0

Three checks your browser runs

·

The totals add up. Adding up every published chunk…

·

It agrees with the exact answer. Your browser is working out the exact answer by a separate method…

3

The chunks are real. Pick chunks below and your browser replays them from the published seed. Each must match to the last game.

Replay any chunk

The run is split into 1,000 chunks of 20,000 games. Each chunk has its own random stream, built from the seed and the chunk number, so any one of them can be replayed alone. Your browser picks which ones at random, so the run could not have been prepared for your choice.

replayed by youreplayed by other readersnot replayed yet

No chunks replayed yet. Each cell above is a chunk; replayed ones turn solid.

What your replays rule out

Suppose someone had made up a share of the chunks instead of running them. These are the chances your replays so far would have landed on at least one made-up chunk.

–if half the chunks were made up
–if 1 in 10 were
–if 1 in 100 were

Breakdown against the exact answer

OutcomeSimulatedExactOff by (std. errors)
All 6 the same on roll 10.0128%0.0129%-0.16
All 6 the same on roll 20.3899%0.3920%-1.50
All 6 the same on roll 31.6399%1.6405%-0.20
Ended with a best group of 513.6848%13.6770%+1.01
Ended with a best group of 434.3741%34.3846%-0.98
Ended with a best group of 338.7732%38.7644%+0.81
Ended with a best group of 211.1250%11.1284%-0.48
Ended with a best group of 10.0003%0.0004%-1.34

Independent simulations by local models

Each model below was given only the rules of this family of questions, in plain English, and asked to write its own simulation. It never saw our code. Its program was run in a sandbox on two test cases and compared with the exact answers.

See the code each model wrote

What a match proves, and what it doesn't

Related questions