Interactive Calculator · Security and Networks
Post-Quantum Key and Signature Size Calculator
See how much bigger a TLS handshake gets with post-quantum algorithms, when it spills into an extra round trip, and what it costs in daily bandwidth.
Leaf plus intermediates. Root certificates are not sent.
Certificate transparency timestamps and OCSP staples carry signatures too.
Handshake size
27.3 KB
15.4× today's 1.78 KB
Server flight
25.8 KB
Exceeds the 14.6 KB initial window
Extra round trips
1
50 ms added at 50 ms RTT
Extra bandwidth per day
25.5 GB
for 1,000,000 connections
Key and signature material
Client key share: 1.22 KB
Server key share: 1.12 KB
Public key: 1.95 KB, signature: 3.31 KB
Server flight size by signature scheme (your key exchange and chain)
Blue bars are classical schemes, purple bars are post-quantum. The model adds about 300 bytes of metadata per certificate and 300 bytes of other handshake messages per side.
Choose a key exchange and a signature scheme, set the certificate chain, and compute handshake size, the server flight against the TCP initial window, added round trips, and extra bandwidth per day compared with today's X25519 and ECDSA.
What this calculator does
Post-quantum cryptography replaces elliptic curves and RSA with algorithms whose keys, ciphertexts, and signatures are much larger. Speed is rarely the problem: ML-KEM runs about as fast as elliptic curve key exchange. Size is. A classical X25519 key share is 32 bytes while a post-quantum ML-KEM-768 share is 1,184 bytes, and a classical ECDSA signature is 64 bytes while an ML-DSA-65 signature is 3,309 bytes. Every TLS handshake sends several keys and signatures, so the sizes multiply, and the first flight of the server can exceed the number of packets the sender may transmit before waiting for an acknowledgment. That produces an extra network round trip, which users feel as latency.
This calculator lets you assemble a handshake from the standardized building blocks and see the consequences. Pick a key exchange, from classical X25519 to ML-KEM and the hybrid X25519 plus ML-KEM-768 used by browsers today. Pick a signature scheme, from classical ECDSA and RSA to the NIST standards ML-DSA and SLH-DSA and the forthcoming Falcon-based standard. Set the number of certificates the server sends and the number of extra signed objects, such as certificate transparency timestamps and OCSP staples. It reports the total handshake size, the server flight against the TCP initial congestion window, the extra round trips and latency, and the bandwidth added per day for the number of connections you enter.
How to use it
Begin with the preset Today, which uses X25519 and ECDSA P-256. With two certificates and three extra signatures, the model gives a handshake of about 1.8 kilobytes. Now choose Hybrid key exchange only. The handshake grows to about 4.0 kilobytes, a factor of 2.3, and still fits the initial window of ten packets, about 14.6 kilobytes. That is why the hybrid key exchange could be deployed in browsers in 2024 with little visible effect, and why it protects against harvest-now-decrypt-later attacks at modest cost.
Next choose Full post-quantum with ML-DSA-65. The server flight jumps to about 25.8 kilobytes, the total handshake to 27.3 kilobytes, 15 times the classical size, and the server flight no longer fits in one window, adding a round trip. At a 50 millisecond round trip that is 50 milliseconds of extra latency per new connection, and for a service with a million new connections a day it is 25 gigabytes of extra traffic. Now try Compact signatures with Falcon-512: the handshake falls to about 9.3 kilobytes and fits the window, at the price of an implementation that needs care because of floating-point sampling. The hash-based preset, SLH-DSA-128s, has tiny public keys of 32 bytes but 7.9 kilobyte signatures, and the model shows a handshake of 50 kilobytes with four flights.
The bar chart at the bottom compares the server flight for every signature scheme at your current settings. It makes plain that signature size, repeated across a certificate chain and several signed objects, dominates the cost, not the key exchange. This is why researchers are working on ways to shrink the signature load, such as Merkle tree certificates, which would replace the chain of signatures with compact inclusion proofs, and why client-side caching of intermediate certificates helps.
Reading the result
The sizes of keys and signatures come from the NIST standards for ML-KEM (FIPS 203), ML-DSA (FIPS 204), and SLH-DSA (FIPS 205), and from the Falcon specification. The hybrid key exchange sizes follow from concatenating a 32-byte X25519 share with the ML-KEM-768 encapsulation key or ciphertext. The model charges 300 bytes of metadata per certificate and 300 bytes of other handshake messages per side, which are rough but typical. The TCP initial congestion window of ten packets of 1,460 bytes follows RFC 6928, and the calculator treats the server flight as needing as many round trips as it needs windows.
Added latency matters more than added bytes for interactive traffic, while bytes matter for large fleets and constrained networks such as satellite links and low-power wide-area networks. A device on a link that carries a few hundred bytes per message may be unable to run a full post-quantum handshake at all, which is why embedded systems are the long tail of the migration.
Assumptions and limits
This is a simplified model of TLS 1.3. Real handshakes vary with the number of extensions, certificate compression, session resumption, which avoids most of the cost for returning clients, and the congestion window the server actually uses. The extra-signature count is an assumption. Post-quantum signatures will probably be deployed together with certificate compression and new certificate designs that change the arithmetic. Use the numbers to understand the scale of the change and the reasons for design choices, not to predict the latency of a specific site.
The formulas behind it
Certificate size
c = |pk| + |sig| + 300 bytes
Public key, issuer signature, and metadata for each certificate.
Client flight
F_client = |share_client| + 300
Key share plus other client handshake messages.
Server flight
F_server = |share_server| + n_cert · c + |sig| + n_extra · |sig| + 300
Key share, certificate chain, handshake signature, and extra signed objects.
Initial window
W = initcwnd × 1,460 bytes
Data the server may send before waiting for an acknowledgment. Ten packets is about 14,600 bytes.
Round trips
⌈F_server / W⌉ − 1
Extra round trips needed when the server flight exceeds the window.
Worked examples
Today's handshake
- X25519 and ECDSA P-256, two certificates, three extra signatures.
- Client flight 332 bytes and server flight 1,444 bytes.
ResultA total of 1,776 bytes, with no extra round trip.
Full post-quantum with ML-DSA-65
- Hybrid X25519 plus ML-KEM-768 and ML-DSA-65.
- Server flight = 1,120 + 2 × (1,952 + 3,309 + 300) + 3,309 + 3 × 3,309 + 300 = 25,778 bytes; client flight 1,516.
ResultTotal 27,294 bytes, 15.4 times today's, with one extra round trip and about 25.5 GB of extra traffic per day at a million connections.
Compact signatures
- Hybrid key exchange with Falcon-512 and the same chain.
- Server flight = 1,120 + 2 × (897 + 666 + 300) + 666 + 3 × 666 + 300 = 7,810 bytes.
ResultTotal 9,326 bytes, 5.3 times today's, and still inside the initial window.
Frequently asked questions
Why are post-quantum signatures so large?
Lattice and hash-based signature schemes need more data to achieve security, so signatures run from about 0.7 to 17 kilobytes compared with 64 bytes for ECDSA.
Is the key exchange or the signature the bigger problem?
The signatures. Key exchange adds about a kilobyte or two, while signatures repeated through a certificate chain add tens of kilobytes.
What reduces the cost?
Hybrid key exchange only, certificate compression, session resumption, caching intermediates, Falcon where implementation risk is acceptable, and new certificate designs.
References
- National Institute of Standards and Technology (2024). FIPS 203, FIPS 204, and FIPS 205: Module-lattice-based key-encapsulation, module-lattice-based digital signature, and stateless hash-based digital signature standards.
- Fouque, P.-A., et al. (2020). Falcon: Fast-Fourier lattice-based compact signatures over NTRU. NIST post-quantum cryptography submission.
- Rescorla, E. (2018). The Transport Layer Security (TLS) Protocol Version 1.3. IETF RFC 8446.
- Chu, J., Dukkipati, N., Cheng, Y., & Mathis, M. (2013). Increasing TCP's Initial Window. IETF RFC 6928.
- Sikeridis, D., Kampanakis, P., & Devetsikiotis, M. (2020). Post-quantum authentication in TLS 1.3: A performance study. NDSS Symposium 2020.
- Bernstein, D. J., & Lange, T. (2017). Post-quantum cryptography. Nature, 549, 188-194.
Keep exploring
- Term: Post-Quantum Cryptography
- Myth: Post-quantum cryptography and quantum cryptography are the same thing
- Forecast: Migrating to Post-Quantum Cryptography: The Engineering Reality
- Forecast: Quantum Computing and the Future of Cybersecurity
These calculators use simplified, published models for education and planning. Real devices and systems differ, so treat results as estimates. They are not engineering, investment, legal, or security advice.