SegWit and Taproot: block weight, virtual bytes and what they changed for miners

SegWit and Taproot are two major Bitcoin upgrades (soft forks) that changed how block size is measured and what signatures in transactions look like. SegWit (2017) separated signatures from the rest of the transaction and replaced the 1 MB limit with a block “weight” of 4,000,000 units. Taproot (2021) added shorter Schnorr signatures and made it possible to hide unused script conditions.
Summary
- Since SegWit, a block is measured not in bytes but in weight: max. 4,000,000 WU = 1,000,000 virtual bytes (vB).
- Signature data (witness) is “priced” four times lower, which is why today’s blocks are typically 1.4–1.9 MB.
- SegWit activated at block 481,824 (24 Aug 2017), Taproot at block 709,632 (14 Nov 2021).
- For miners: the coinbase transaction must contain a commitment to the witness data – the mining pool handles this for you.
- For users: SegWit and Taproot transactions are cheaper than old (legacy) ones – by roughly 30–40% for an ordinary payment.
Simple: SegWit and Taproot as a new way of weighing parcels
Imagine a post office that can load only a limited number of parcels into one van. In the past, only the size of the box counted – and a large part of every box was taken up by verification papers (signatures). SegWit introduced a new rule: the verification papers are packed separately and count for only a quarter. More parcels fit into the van without the van getting any bigger.
Taproot then made the papers even shorter. The signature is smaller, and when a parcel has complex conditions (for example “any two of three people may open it”), only the condition actually used is revealed. The others stay hidden.
- You send for less. The fee is paid according to the “weighted” size. An ordinary payment from a SegWit address (bc1q…) is more than a third smaller than one from an old address starting with 1.
- More payments fit into a block. That is why today’s blocks are larger than 1 MB, even though the limit “has not grown”.
- As a miner, you don’t need to configure anything. The mining pool prepares the block template and the required data in the reward. You only enter your payout address – ideally bc1q… or bc1p….
- Without SegWit there would be no Lightning Network. It relies on the fact that a transaction’s identifier does not change after signing.
Example as of 28 November 2026: at a fee of 4 sat/vB and a BTC price of 1,329,724 Kč, an ordinary payment from an old address costs about 12 Kč, from a SegWit address about 7.50 Kč and from a Taproot address about 8.20 Kč.
You will find the details with numbers and tables in the technical explanation.
What is SegWit (BIP 141)
Segregated Witness moved signatures and other input unlocking data into a separate witness structure. The transaction identifier (txid) is calculated only from the data without the witness, so it cannot change after signing. This is how SegWit eliminated so-called malleability – the possibility that someone alters the signature, and with it the txid, before confirmation. As a result, a follow-up transaction can safely be signed on top of an unconfirmed one – the Lightning Network is built on this.
BIP 143 also changed how the signed hash is calculated: previously, verification cost grew quadratically with transaction size (the BIP gives an example where verifying a 1 MB transaction takes roughly 25 s); now it grows linearly. The signature also commits to the input amount, which simplified hardware wallets.
Block weight and virtual bytes
The rule from BIP 141: weight = base size × 3 + total size, where base size is the transaction without witness data. A block may have at most 4,000,000 WU (weight units). A transaction’s virtual size is weight ÷ 4 (rounded up), and fees are now quoted in sat/vB.
| Data type | Weight per byte | Note |
|---|---|---|
| Non-witness data (inputs, outputs, tx header) | 4 WU | legacy transaction: vB = bytes |
| Witness data (signatures, keys, scripts) | 1 WU | 75% “discount” |
The original 1 MB limit therefore applies only to non-witness data. In practice the total block size is 1.4–2 MB; in theory it can approach 4 MB. Three blocks from 28 November 2026 according to mempool.space:
| Block | Size | Weight | Transactions |
|---|---|---|---|
| 977,883 | 1,418,545 B | 3,993,445 WU | 6,618 |
| 977,884 | 1,918,102 B | 3,992,926 WU | 1,581 |
| 977,885 | 1,638,656 B | 3,993,767 WU | 2,215 |
All three are full by weight (99.8%), yet each has a different size in bytes – depending on how much witness data it contains.
Our calculation: what the same payment costs from different addresses
A typical payment with 1 input and 2 outputs (recipient + change). Sizes according to the Bitcoin Wiki (Vsize) and Murch’s breakdown (Optech); individual sources differ by 1–5 vB depending on signature length and output types. BTC price 1,329,724 Kč as of 28 November 2026, 1 sat = 0.0133 Kč.
| Type (address) | Size | 1 sat/vB | 4 sat/vB | 10 sat/vB | 50 sat/vB | Payments per block |
|---|---|---|---|---|---|---|
| Legacy P2PKH (1…) | 226 vB | 3.01 Kč | 12.02 Kč | 30.05 Kč | 150.26 Kč | 4,424 |
| SegWit P2WPKH (bc1q…) | 141 vB | 1.87 Kč | 7.50 Kč | 18.75 Kč | 93.75 Kč | 7,092 |
| Taproot P2TR (bc1p…) | 154 vB | 2.05 Kč | 8.19 Kč | 20.48 Kč | 102.39 Kč | 6,493 |
For a simple payment, Taproot comes out slightly more expensive than SegWit v0 because a P2TR output is 43 B instead of 31 B. A Taproot input, on the other hand, is smaller, and the advantage grows with multisig and more complex scripts. Which address to use for mining pool payouts is covered in the article Bitcoin addresses.
What is Taproot (BIP 340, 341, 342)
- Schnorr signatures (BIP 340): a fixed length of 64 B instead of an ECDSA DER signature of up to 72 B; public key 32 B instead of 33 B. They enable batch verification and key aggregation (several signers look like a single key from the outside).
- Key-path spend: an ordinary spend contains just one signature and reveals no script.
- Script-path spend and MAST: the conditions are leaves of a Merkle tree. When spending, only the script used is revealed, along with a “control block” of 33 + 32 × m bytes (m = tree depth, max. 128).
- Tapscript (BIP 342): modified script rules in witness version 1, including a new way of counting signature operations.
How activation went
| SegWit | Taproot | |
|---|---|---|
| Mechanism | BIP 9, bit 1, 95% threshold out of 2,016 blocks | Speedy Trial (BIP 9 + min. height), bit 2, 90% threshold (1,815 of 2,016) |
| Course | signalling stalled; BIP 91 (bit 4, 269 of 336 blocks) forced pools to signal, which made BIP 148 (UASF) moot | threshold met at block 687,284 (12 Jun 2021), LOCKED_IN state from block 687,456 |
| Locked in | 8–9 Aug 2017 | June 2021 |
| Activation | block 481,824, 24 Aug 2017 | block 709,632, 14 Nov 2021 |
We cover signalling in general and the difference between a soft fork and a hard fork in the article Soft fork and hard fork.
What SegWit changed for miners
- Witness commitment in the coinbase: a block with SegWit transactions must have, in its coinbase transaction, an OP_RETURN output (min. 38 B, starting with the bytes 0x6a24aa21a9ed) containing the Merkle root of the witness data.
-
getblocktemplate (BIP 145): the template carries the weight limit (
weightlimit), the weight of each transaction and an adjusted signature operation limit. Bitcoin Core also returns adefault_witness_commitmentfield with a ready-made commitment; the client must include the “segwit” rule in its request. - The signature operation limit was quadrupled to 80,000 “sigop cost” (the same scale as weight).
- Transaction selection: the pool sorts transactions by sat/vB, i.e. by fee per unit of weight. A full block today is one with almost 4,000,000 WU.
When mining in a pool, all of this is done by the pool server. Only those who mine solo with their own node need to deal with it – see Bitcoin node.
How widespread SegWit and Taproot are
Exact figures vary by source. Public overviews state that roughly 85–90% of transactions spend at least one SegWit input, and Taproot’s share has fluctuated mainly because of inscriptions (Ordinals, Runes). You can find current charts at mainnet.observer. The full-weight blocks larger than 1 MB in the table above are a direct consequence of this adoption.
What next
- Bitcoin addresses: 1…, 3…, bc1q… and bc1p…
- Mempool and transaction fees
- Coinbase transaction
- All terms in the Mining wiki
Sources: BIP 141, BIP 143, BIP 145, BIP 340, BIP 341, Bitcoin Core – getblocktemplate, Bitcoin Wiki – Vsize, mempool.space (blocks 977,883–977,885). Prices and fees as of 28 November 2026.
Frequently asked questions
Why are Bitcoin blocks larger than 1 MB?
What is a virtual byte (vB)?
When did SegWit and Taproot activate?
Do I need to configure anything as a miner because of SegWit?
Is a Taproot address cheaper than SegWit?
This text was prepared with the help of AI. Facts, figures and procedures were checked by Yegor.