Coin Casino Atlas

Independent and unofficial. Stake does not run this site.

Sign up at Stake
AD DISCLOSUREOpen a Stake account through a link here and the publisher may be paid a commission. Not one table, figure or sentence in the sheets moves because of it.Read the referral terms

Why a casino waits for confirmations

A deposit that is one block deep can, in principle, be undone by someone who quietly builds a longer chain. The Bitcoin paper gives the exact odds. This sheet runs them.

  • Instrument sheet
  • Tool: catch-up calculator
  • Updated 28 Nov 2026
Short answer

Each extra confirmation makes reversal far less likely, as long as the attacker controls less than half of the hash power. With 10% of it, the chance of catching up from five blocks behind is under 0.1%. With 30% you need 24 blocks for the same safety, and at 50% or more no number of confirmations is enough.

Catch-up calculator
Chance of catch-up against the number of confirmations, log scale

The race the formula describes

Picture a casino that credits you after z confirmations. A dishonest player sends coins to the casino and, at the same time, secretly mines a different chain in which those coins go back to themselves. If the secret chain ever becomes longer than the public one, the network switches to it, and the deposit vanishes from history after the casino has already let the player gamble or withdraw.

The paper models the honest network and the attacker as two miners racing, with p and q the chances that the next block is found by each (p + q = 1). While the casino waits for z blocks, the attacker's expected progress is λ = z·q/p blocks; from there, the chance of ever closing a gap of size k is (q/p)^k. Adding these up gives:

P(catch up) = 1 − Σ (k = 0 … z)  [ λ^k e^(−λ) / k! ] · [ 1 − (q/p)^(z − k) ]     with  λ = z · q / p

The calculator above is a direct transcription of the C function printed in §11 of the paper. Its output reproduces the paper's own tables to the seventh decimal place, which is how the code on this page is tested.

The paper's tables, recomputed

Probability that the attacker ever catches up. Left: q = 0.1 at z = 0…10. Right: q = 0.3 at five times the depth, matching the paper's second table.
Depth (q = 0.1)P, q = 0.1Depth (q = 0.3)P, q = 0.3
z = 01.0000000z = 01.0000000
z = 10.2045873z = 50.1773523
z = 20.0509779z = 100.0416605
z = 30.0131722z = 150.0101008
z = 40.0034552z = 200.0024804
z = 50.0009137z = 250.0006132
z = 60.0002428z = 300.0001522
z = 70.0000647z = 350.0000379
z = 80.0000173z = 400.0000095
z = 90.0000046z = 450.0000024
z = 100.0000012z = 500.0000006
Confirmations needed to push the catch-up chance below 0.1% (the paper's table) and below one in a million (computed here).
Attacker sharez for P < 0.1%z for P < 0.0001%
q = 0.1511
q = 0.15815
q = 0.21121
q = 0.251531
q = 0.32449
q = 0.354185
q = 0.489184
q = 0.45340704

Reading these odds as a casino customer

The numbers explain why confirmation counts exist, and why a chain on which one party could plausibly hold a large share of the hash power calls for many more of them: read down the right-hand column of the table. They do not tell you how fast a particular casino credits you, and they say nothing about whether the casino will pay you later. The deposit sheet turns a confirmation count into a waiting time.

Limits of the model. It assumes block discovery follows a Poisson process and the attacker's share stays fixed. It does not cover proof-of-stake chains, where reversal of a finalized block is ruled out by a different mechanism, or attacks that do not involve out-mining the network.

Where these facts come from

  • Bitcoin: A Peer-to-Peer Electronic Cash System (S. Nakamoto, 2008), §11 "Calculations", including its C code and the two probability tables, read via the Internet Archive on 27 Nov 2026.

Finished reading the route?

Stake is one of the places where the deposits, seeds and confirmations mapped here are used. Coin Casino Atlas stands apart from it as its own small imprint; pressing the button applies code SSCZNVYh, which can earn the imprint a fee if you open an account.