Thresholds and the price of protection
A code helps only if the hardware is good enough. Where the break-even lies in the lab, and what the threshold theorem adds.
9 min read · reviewed December 2026
Break-even in the lab
A code’s logical error rate is a polynomial in the physical error rate p. At small p the higher-order polynomial wins and the code helps. At large p it loses to the unencoded qubit. The crossing point is the break-even, which the table reports for each code.
| Code | p = 0.1% | p = 1% | p = 5% | Leading term |
|---|---|---|---|---|
| No code | 0.100% | 1.00% | 5.00% | p |
| 3-qubit repetition | 0.200% | 1.98% | 9.51% | 2·p^1 |
| 5-qubit code | 9.98e-6 | 9.78e-4 | 2.23% | 10·p^2 |
| Steane 7-qubit code | 1.63e-5 | 0.158% | 3.44% | 16.333333333333332·p^2 |
| Shor 9-qubit code | 1.30e-5 | 0.126% | 2.81% | 13·p^2 |
What these numbers are not
They assume perfect gates and perfect syndrome measurement. In a real machine the checks are circuits that can themselves fail, so the true break-even is much lower. These are not the thresholds quoted in the literature.
The threshold theorem
The threshold theorem says that if the physical error rate is below a certain value, a quantum computer can be made to run arbitrarily long computations by nesting or scaling up codes, at a cost that grows only slowly. Below the threshold, bigger codes get better. Above it, they get worse. The value depends on the code, the noise model and the decoder, and so there is no single number.
Bigger is better only below threshold
The Bigger is better? tab shows the effect in its simplest form, with independent bit flips: a larger repetition code wins whenever p is below one half. Real codes face more kinds of error and unreliable checks, so their thresholds sit far below that.
| Qubits | p = 1% | p = 5% | p = 10% | p = 20% |
|---|---|---|---|---|
| 1 (no code) | 1.00% | 5.00% | 10.00% | 20.00% |
| 3 | 2.98e-4 | 0.725% | 2.80% | 10.40% |
| 5 | 9.85e-6 | 0.116% | 0.856% | 5.79% |
| 7 | 3.42e-7 | 1.94e-4 | 0.273% | 3.33% |
| 9 | 1.22e-8 | 3.32e-5 | 8.91e-4 | 1.96% |
The cost
The price is overhead. A logical qubit needs many physical ones, and the number grows as the target error rate falls. The site’s surface-code overhead calculator lets you set your own assumptions and see the physical qubits that result.
Try it
Questions
What is the surface-code threshold?
Estimates in the literature are around one percent for simple noise models and decoders. Check the original papers, since the value depends on the assumptions.
Why is break-even in the lab higher than real thresholds?
Because the lab assumes the checks never fail. Real checks fail too.
Is the threshold the same as hardware quality needed for useful algorithms?
No. Being below threshold means improvement is possible. Useful algorithms need far lower logical error rates, which requires large codes.
Read next
Sources and further reading
- P. W. Shor, “Scheme for reducing decoherence in quantum computer memory” (1995)
- A. M. Steane, “Error correcting codes in quantum theory” (1996)
- D. Gottesman, “Stabilizer codes and quantum error correction” (PhD thesis, 1997)
- Google Quantum AI, “Quantum error correction below the surface code threshold”
- M. Nielsen and I. Chuang, Quantum Computation and Quantum Information, chapter 10
Check the original sources for exact citations.