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.

Logical error rate under depolarizing noise at three physical error rates, with perfect checks.
Codep = 0.1%p = 1%p = 5%Leading term
No code0.100%1.00%5.00%p
3-qubit repetition0.200%1.98%9.51%2·p^1
5-qubit code9.98e-69.78e-42.23%10·p^2
Steane 7-qubit code1.63e-50.158%3.44%16.333333333333332·p^2
Shor 9-qubit code1.30e-50.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.

Repetition code with independent bit flips: exact logical error rate for each number of qubits.
Qubitsp = 1%p = 5%p = 10%p = 20%
1 (no code)1.00%5.00%10.00%20.00%
32.98e-40.725%2.80%10.40%
59.85e-60.116%0.856%5.79%
73.42e-71.94e-40.273%3.33%
91.22e-83.32e-58.91e-41.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

Check the original sources for exact citations.