Prerequisite: Lattice signatures

Choosing a post-quantum signature for a chain usually comes down to a byte budget: block weight, calldata gas, a packet limit, or the size of a committee certificate. This guide puts the standardized schemes into those four budgets with numbers you can reproduce. Every size below was checked against the real encodings, and every verify time was measured on one stated machine. The script that produces all of them is open.

Sizes: what each signature costs in bytes

A chain usually pays for the signature on every transaction and for the public key at least once. When the key is not already stored on chain, it pays for the key on every spend too. The last column compares signature bytes with a 64-byte Ed25519 signature.

SchemePublic keySignatureSig + keySig vs Ed25519
Ed25519 (today)3264961×
ML-DSA-441,3122,4203,73237.8×
ML-DSA-651,9523,3095,26151.7×
ML-DSA-872,5924,6277,21972.3×
Falcon-512, padded8976661,56310.4×
Falcon-1024, padded1,7931,2803,07320.0×
SLH-DSA-SHA2-128s327,8567,888122.8×
SLH-DSA-SHA2-128f3217,08817,120267.0×

The ML-DSA, SLH-DSA and Ed25519 rows were measured by generating a key, signing and verifying with OpenSSL 4.0.3, then reading the raw key from the DER structure. All six match the tables in FIPS 204 and FIPS 205 exactly. OpenSSL does not include Falcon, so the Falcon rows use the specified sizes from PQClean. Compressed Falcon-512 signatures vary in length up to 752 bytes. The padded encoding fixes them at 666 bytes, which is easier to budget for in consensus rules. FIPS 204 · FIPS 205 · PQClean Falcon parameters · Falcon specification.

Verify time is not the bottleneck

Measured with openssl speed (OpenSSL 4.0.3, Apple M3 Max, one thread, two-second runs):

SchemeSignVerifyVerifies per second
Ed2551936 µs86 µs11,580
ML-DSA-44295 µs60 µs16,798
ML-DSA-65489 µs87 µs11,547
ML-DSA-87558 µs137 µs7,325
SLH-DSA-SHA2-128s77.7 ms82 µs12,233
SLH-DSA-SHA2-128f3.76 ms243 µs4,112

In this build, ML-DSA-44 verifies faster than Ed25519. That says more about OpenSSL's Ed25519 code than about the schemes: dedicated Ed25519 libraries with batch verification are considerably faster. Still, every post-quantum scheme here verifies in well under a millisecond on a native CPU. The real constraints are bytes and, on smart-contract chains, gas for verification inside a virtual machine. CPU microseconds do not predict that gas cost.

SLH-DSA is the reverse case. It is cheap to verify but slow to sign: 77.7 ms for the small variant. That is acceptable for a key that signs rarely, but not for a validator signing every block. Falcon was not measured here. Its signing uses floating-point arithmetic that is hard to make constant-time, so measure the implementation you would actually deploy.

Four budgets, one table

Each column applies one protocol constant to the sizes above. Multipliers compare with what the chain uses today.

SchemeBitcoin witness weight per inputEthereum calldata gas, sig + keyFits a 1,232 B Solana packet?19-signer certificate, bytes
ML-DSA-443,732 WU (58.3×)59,537 (57.4×)No: 2,420 > 1,23245,980
ML-DSA-655,261 WU (82.2×)83,929 (80.9×)No62,871
Falcon-512, padded1,563 WU (24.4×)24,935 (24.0×)Signature only, 566 B left12,654
Falcon-1024, padded3,073 WU (48.0×)49,024 (47.3×)No: 48 B over24,320
SLH-DSA-SHA2-128s7,888 WU (123.2×)125,838 (121.4×)No149,264
Classical baseline64 WU (Schnorr)1,037 (ECDSA)Yes (Ed25519)99 (BLS + bitmap)

Bitcoin: weight per input

Witness bytes weigh one unit each against a 4,000,000-unit block limit. A Taproot key-path spend reveals a 64-byte signature, since the key already sits in the output. A post-quantum spend that reveals its key adds both. Counting only witness data, a block could hold at most 62,500 Schnorr key-path inputs, 2,559 Falcon-512 inputs, or 1,071 ML-DSA-44 inputs. Real inputs also carry non-witness bytes, so actual counts are lower. BIP141 · BIP340 · Worked Bitcoin example.

Ethereum: calldata gas

Under EIP-2028, a nonzero calldata byte costs 16 gas and a zero byte costs 4. A signature is close to uniformly random, so the expected cost is about 15.95 gas per byte. An ECDSA signature costs about 1,037 gas to carry, because the key is recovered from it. Carrying an ML-DSA-44 signature and key costs about 59,500 gas before any verification work. If a transaction does little computation, EIP-7623 can raise the calldata price further through its floor. Verification gas depends on the contract or precompile and is not included here. EIP-2028 · EIP-7623.

Solana: the packet limit

A Solana transaction must fit in 1,232 bytes: the 1,280-byte IPv6 minimum MTU minus 48 bytes of IPv6 and UDP headers. Of the standardized schemes, only a Falcon-512 signature fits. Even then, 566 bytes remain, too few for its 897-byte public key, so the key has to be registered on chain beforehand. No ML-DSA or SLH-DSA signature fits in a single packet under this limit. Check the current limit before designing, since proposals to raise it exist. Solana transaction format.

Committees: the loss of aggregation

Bridges, light clients and proof-of-stake finality often prove that many signers agreed. With BLS12-381, any number of signatures aggregates into one 96-byte signature plus a bitmap of who signed. None of the standardized post-quantum schemes aggregates this way. Without aggregation, a certificate grows with each signer:

SignersBLS aggregate + bitmapFalcon-512ML-DSA-44SLH-DSA-128s
1999 B12.7 kB46.0 kB149 kB
100109 B66.6 kB242 kB786 kB
1,000221 B666 kB2.42 MB7.86 MB

A 19-member committee can afford raw Falcon signatures. A thousand-validator set cannot afford raw signatures from any of these schemes. The options are a succinct proof that the signatures verified (hash-based proofs over hash-based signatures, or newer lattice aggregation schemes) or a smaller signing committee. Each choice moves cost into proving time, trust assumptions or protocol complexity, and that trade-off is the design decision.

Reading the numbers

Reproduce every number

The script checks the measured encodings against the constants and prints each table above. It needs Python 3 and OpenSSL 3.5 or later for the measurement step.

curl -O https://www.lattices.io/examples/pq-signature-budgets.py
python3 pq-signature-budgets.py --measure
openssl speed -seconds 2 ML-DSA-44 ML-DSA-65 ML-DSA-87 \
  SLH-DSA-SHA2-128s SLH-DSA-SHA2-128f ed25519

Exercise: your own budget

Take a protocol with a 10,000-byte limit per message that must carry a certificate from 13 signers. Raw ML-DSA-44 needs 31,460 bytes, so it fails. Falcon-512 needs 8,658 bytes, so it fits, with 1,342 bytes to spare. Now raise the threshold to 16 signers and check whether Falcon still fits. It needs 10,656 bytes, so it no longer fits, and the design needs aggregation or a smaller threshold.