Block weight
Block weight caps every block at 4,000,000 units, about one million virtual bytes.
Block weight is the sum of the weights of the transactions in a block, and it is what the consensus size limit applies to. A block may weigh at most 4,000,000 weight units (WU). Dividing by four gives the equivalent limit of 1,000,000 virtual bytes.
How it works
Weight comes from the formula in BIP141: base size times three plus total size. Bytes outside the witness count as 4 WU each, witness bytes count as 1. The constants, MAX_BLOCK_WEIGHT of 4,000,000 and a witness scale factor of 4, appear in Bitcoin Core’s source.
A block made only of transactions without witness data could hold 1,000,000 bytes, the old limit. A block full of witness-heavy transactions can carry more raw bytes than that, because witness bytes are cheaper, while staying within the same weight cap. The limit is therefore on weight, not on raw size.
Where you see it
Block explorers list the weight of each block, often alongside its size in bytes and the number of transactions. A block is nearly full when its weight is close to 4,000,000, and a block weighing well under that was not filled, either because miners had few transactions to include or for other reasons of their own.
Block weight is also the reason that fees are quoted in virtual bytes. Capacity is counted in weight, so price is quoted in a unit proportional to it. A relay policy cap on single transactions, 400,000 WU, is separate and is a policy matter, as explained in the guide on mempool policy and relay rules.
Common confusions
- A four-megabyte block. The cap is 4,000,000 weight units, not four megabytes. Real blocks stay well below four megabytes of raw data.
- Size versus weight. A block’s raw size and its weight are different measures. Weight is the one that binds.
- Weight is chosen by miners. Miners choose which transactions to include, but the cap is a consensus rule.
The context is on the network hub. This entry is not financial advice.
Sources
- BIP141: Segregated Witness (consensus layer) · Bitcoin Improvement Proposals
- Bitcoin Core consensus.h · Bitcoin Core
Educational data only. Not financial, investment or tax advice; no licence is claimed. Bitcoin Prime publishes no forecasts, targets or trading signals.