Quantum Resource Estimator
Free · No signup · Open methodology

What will your quantum algorithm actually cost to run?

Estimate logical qubits, surface-code distance, physical qubits, magic-state factories and wall-clock runtime for fault-tolerant quantum algorithms - in your browser, using published scaling models from Fowler, Gidney-Ekerå, Litinski and others.

Results update live. Every number is an order-of-magnitude planning estimate - read the methodology before quoting it.

Physical qubits (total)
Estimated runtime
Code distance
Surface-code rounds of redundancy
Data-block physical qubits
2 × logical × d²
T-gate count
4 T per Toffoli (standard decomposition)
Physical per logical
Error-correction overhead factor

Where the qubits go

Highlighted share: magic-state factories. Distillation factories often dominate the machine - they make the T states every non-Clifford gate consumes.

Why resource estimation matters

Quantum computing has moved from lab demos to roadmaps. More than 300 companies are piloting quantum applications, and the enterprise market is projected to grow from $4.8B (2025) to $18.5B (2030). The question every roadmap hits is the same: how many physical qubits, and how long, does a useful algorithm actually need? Resource estimation answers it before the hardware exists - it is how Microsoft sizes its Azure Quantum targets, how Google framed its RSA-2048 studies, and how an entire research workshop series (QRE) stays busy.

What this tool does

Frequently asked questions

Is this a replacement for Microsoft's Azure Quantum Resource Estimator?
No. Microsoft's tool compiles your actual program through Q#/Qiskit and models specific hardware profiles. This tool is the fast, web-scale version: literature presets and standard scaling formulas for planning, teaching and sanity-checking. Use ours to get oriented; use theirs when you have code.
Why do my numbers differ from paper X?
Published estimates differ by orders of magnitude because they assume different error rates, cycle times, distillation schemes and gate synthesis tricks. Gidney-Ekerå needed 20 million qubits for RSA-2048 in 2019; Gidney's 2025 update cut that below 1 million. Change the physical error rate here from 0.1% to 0.01% and watch the same effect.
Can I estimate my own algorithm?
Yes - choose Custom and enter your logical qubit count, Toffoli count and T-depth. Getting those three numbers from your algorithm is the hard part; typical sources are your compiler's resource report or the paper the algorithm came from.
What does "above threshold" mean?
If the physical error rate is worse than the surface code's ~1% threshold, adding redundancy makes things worse, not better. No code distance saves you - the hardware has to improve first.