Post-Quantum Cryptography Size Calculator
NewFree PQC size calculator: compare classical vs ML-KEM, X25519MLKEM768, ML-DSA, SLH-DSA and Falcon sizes for TLS, JWTs, code signing, firmware and certificates.
Website / HTTPS handshake
How big the ‘hello, here is my key material’ part gets. Like comparing postcard vs parcel sizes for the secret handshake — not the whole webpage download.
| Algorithm | Public key | Payload | Note |
|---|---|---|---|
| X25519 only (today’s common choice) | 32 B | 32 B | Small postcard — but quantum-vulnerable later |
| ML-KEM-768 alone | 1,184 B | 1,088 B | New NIST key exchange |
| X25519MLKEM768 hybrid (recommended start) | 1,216 B | 1,120 B | Belt + suspenders — usual TLS migration |
| Old RSA-3072 key transport | 384 B | 384 B | Legacy — plan to leave behind |
Numbers are raw cryptographic sizes from NIST PQC parameter sets and common hybrids, not full protocol records. Pair this table with the live demos when you need sample bytes, not just budgets.
Processed on your device — nothing is uploaded.
How to use PQC Size Calculator
- 1Pick a scenario such as TLS key exchange or JWT signature.
- 2Read the comparison table of classical and NIST PQC sizes.
- 3Open the linked demos if you want to generate live keys next.
What this page covers
- Scenarios for TLS, JWTs, code signing, firmware and certificates
- Includes hybrid X25519MLKEM768 alongside pure ML-KEM
- ML-DSA, SLH-DSA and Falcon signature comparisons
- Plain-language notes on when sizes break token or packet budgets
- Runs entirely in the page with no network calls
About PQC Size Calculator
Post-quantum math is stronger against future quantum computers, but the ‘parcels’ (keys and signatures) are bigger than today’s postcards. Pick a scenario — website handshake, login token, firmware — and compare classical vs hybrid vs NIST sizes in plain numbers before you migrate.
Common uses
- Brief leadership on why a PQ TLS rollout increases handshake size.
- Check whether ML-DSA signatures fit inside your JWT or cookie limits.
- Size firmware update headers before choosing SLH-DSA versus Falcon.
- Feed concrete numbers into a migration design review.
Example
Input
tls-handshake
Result
X25519MLKEM768 hybrid: public key 1,216 B · ciphertext 1,120 B
Good to know
- Figures are raw cryptographic sizes from the standards and common hybrids, not full TLS records or ASN.1 certificates.
- Protocol framing, compression and certificate chains add more overhead in production.
- Pair this page with the live ML-KEM, hybrid and signature demos when you need sample bytes, not just numbers.
PQC Size Calculator FAQ
Are these sizes the full TLS handshake?
No. They cover the key-agreement public keys and ciphertexts (or signature fields) that change most under PQC. Certificates, extensions and application data add more.
Why is the hybrid bigger than X25519?
The hybrid sends classical and ML-KEM material together. You pay roughly X25519’s bytes plus ML-KEM-768’s bytes, which is the usual cost of a safer migration path.
Can I put an ML-DSA signature in a JWT?
Technically yes, but a multi-kilobyte signature often exceeds cookie and header budgets. Many systems keep opaque server-side sessions or use different proof formats instead.
Which signature is smallest among the PQ options here?
Padded Falcon-512 is much smaller than ML-DSA-65 or SLH-DSA-128s. ML-DSA remains the general-purpose FIPS 204 default; SLH-DSA trades size for a hash-based design.