Skip to content
Basis Desk
Bitcoin · 7 min read Last reviewed November 28, 2026

Bitcoin Block Size vs Block Weight: vBytes and Weight Units, Explained

Bitcoin no longer caps blocks strictly at one megabyte. Instead, the network measures data in weight units, discounting signature data by 75 percent and pricing transaction fees by virtual bytes.

Editorial oversight: Julian Mercer, Chief Editor
Neutral
Bitcoin Block Size vs Block Weight: vBytes and Weight Units, Explained

Key points

  • Bitcoin blocks are constrained by a 4,000,000 weight unit (WU) ceiling rather than a 1 MB limit.
  • SegWit discounts cryptographic witness data by 75 percent relative to base transaction data.
  • Virtual bytes (vBytes) equal transaction weight divided by four, standardizing fee calculations.
  • Transactions utilizing native SegWit or Taproot pay significantly lower network fees for equivalent transfers.

Live Prediction Odds (Polymarket)

All Crypto Odds →

Bitcoin blocks are not governed by a simple one-megabyte data cap. Since the activation of the Segregated Witness upgrade in 2017, the protocol has measured block capacity using a metric called block weight, enforced at an absolute ceiling of 4,000,000 weight units 1. This structural change altered how node operators validate transactions and how senders calculate network fees using virtual bytes (vBytes) 2.

Understanding this mechanism requires stepping past the historical shorthand of the "1 MB limit" 1. The distinction between raw byte size, weight units, and virtual size directly governs transaction throughput, mempool prioritization, and user costs.

The Historical 1 MB Constraint

In 2010, Bitcoin creator Satoshi Nakamoto added a 1,000,000-byte limit to the Bitcoin client software 1. The change served as a basic defense mechanism against denial-of-service vectors. At that stage of development, an attacker could cheaply construct and broadcast massive blocks to the peer-to-peer network, exhausting node memory and storage.

For several years, this cap had little direct impact on users because transaction volume remained well below the capacity ceiling. As global adoption expanded, blocks regularly filled to capacity. Because the network targets a new block roughly every 10 minutes, the fixed space created a competitive auction among users seeking confirmation 2. Senders attach transaction fees to incentivize miners to include their transactions in upcoming blocks. When space ran short, transaction fees rose rapidly.

Altering this ceiling directly via a hard fork—a non-backward-compatible rules change—threatened to fracture the network into competing chains. The developer community sought an upgrade path that would safely increase data throughput without forcing every node operator to immediately upgrade or risk falling out of consensus.

Segregated Witness and the Split Architecture

The breakthrough arrived with Bitcoin Improvement Proposal 141 (BIP 141), known as Segregated Witness or SegWit, activated in August 2017 1. SegWit separated a transaction's structural base data from its cryptographic authorization data 1.

Base data includes the explicit ledger instructions: the transaction version, the list of spent transaction outputs (inputs), the destinations and amounts for new outputs, and the locktime 1. This information modifies the ledger and dictates account balances permanently on the unspent transaction output set, as detailed in our guide on Bitcoin Runes and BRC-20 Tokens.

Witness data, conversely, contains the cryptographic proof of ownership. This includes ECDSA signatures, Schnorr signatures, public keys, and script redemption conditions 1. Once a node confirms that a transaction conforms to consensus rules, that node rarely needs to re-evaluate the signatures during routine operations, even though it stores them for initial block verification 2.

SegWit re-engineered block validation so that non-upgraded nodes continued to see blocks that adhered strictly to the historical 1 MB constraint. Upgraded nodes parsed an extended structure that housed witness data outside the legacy serialization format 1.

The Mechanics of Weight Units and the Discount

To balance the structural demands that different data types impose on the network, BIP 141 introduced weight units (WU) 1. Every transaction and block is measured by its cumulative weight rather than raw byte count alone. The maximum permitted weight for any Bitcoin block is fixed at 4,000,000 WU 1.

The protocol calculates block weight through a straightforward weighting rule:

Weight = (Base Data Bytes × 4) + (Witness Data Bytes × 1)

Base transaction bytes carry four times the weight of witness bytes 1. This mathematical structure grants witness data an effective 75 percent discount relative to base data 2. The architectural rationale centers on full node resource consumption. Base data permanently occupies the UTXO set, requiring fast, random-access memory storage to ensure swift validation of future payments. Witness data, once checked, does not bloat the active UTXO cache 1. Incentivizing senders to move signatures into the witness structure encourages cleaner ledger hygiene.

Because base data is scaled by a factor of four, a block composed entirely of legacy non-witness data can never exceed 1,000,000 bytes: 1,000,000 multiplied by four equals the 4,000,000 WU consensus ceiling 1. Conversely, if a hypothetical block contained only witness data, it could theoretically reach nearly 4 MB in raw size while staying within the 4,000,000 WU cap. In normal conditions, real-world Bitcoin blocks contain a mix of base and witness data, typically yielding blocks between 1.3 MB and 2.5 MB in raw file size 2.

Virtual Bytes: A Fee Measurement Tool

Software interfaces and fee estimators rarely display raw weight units because users traditionally reason in bytes. To bridge this conceptual gap, the developer ecosystem standardized virtual size (vsize), measured in vBytes 2.

A transaction's virtual size is derived by dividing its weight by four, rounding up to the nearest integer:

vBytes = ceil(Weight / 4)

Because of this definition, one base byte consumes four weight units, which equals exactly one vByte. One witness byte consumes one weight unit, which equals 0.25 vBytes 2.

Miners construct blocks to maximize aggregate transaction fees while remaining under the 4,000,000 WU ceiling. Because 4,000,000 WU divided by four equals 1,000,000 vBytes, miners effectively manage an inventory of 1,000,000 vBytes per block. As a result, network transaction fees are quoted and settled in satoshis per virtual byte (sat/vB) rather than satoshis per raw byte 2. Senders can track how individual satoshi units relate to underlying bitcoin balances using our explainer on What Is a Satoshi?.

A Worked Example: Legacy vs. SegWit

To see how the witness discount reduces costs, consider a standard payment transaction spending one input to produce two outputs (a recipient destination and change returned to the sender). In this scenario, assume an active market fee rate of 20 sat/vB.

First, consider the transaction constructed with legacy (non-SegWit) addresses. A typical legacy transaction of this type requires roughly 148 bytes for the input and its embedded signature script, alongside 68 bytes for the two outputs and 10 bytes of overhead, totaling approximately 226 raw bytes. Because legacy transactions locate signatures inside the base data, all 226 bytes are classified as base bytes:

Weight = (226 × 4) + (0 × 1) = 904 WU

vBytes = 904 / 4 = 226 vBytes

At a fee rate of 20 sat/vB, the legacy sender pays: 226 vBytes × 20 sat/vB = 4,520 satoshis.

Next, examine the exact same payment spending from a native SegWit (Bech32) address. The base data contains the input references, output scripts, and protocol headers, amounting to roughly 82 base bytes. The cryptographic signature and public key are moved entirely to the witness section, accounting for approximately 107 witness bytes. The raw size of this transaction is 189 bytes (82 + 107):

Weight = (82 × 4) + (107 × 1) = 328 + 107 = 435 WU

vBytes = ceil(435 / 4) = 109 vBytes

At the identical fee rate of 20 sat/vB, the native SegWit sender pays: 109 vBytes × 20 sat/vB = 2,180 satoshis.

Even though the transaction completed the identical economic action—spending one balance and creating two new outputs—the native SegWit transaction consumes approximately 52 percent fewer vBytes. The sender achieves a corresponding fee reduction of over 50 percent purely by exploiting the witness discount structure 2.

Taproot and Further Efficiency

The introduction of Taproot via BIP 341 and BIP 342 in November 2021 built directly upon this architectural foundation 3. Taproot addresses introduce Schnorr signatures and Merkelized Alternative Script Trees (MAST) 3.

Under Taproot, complex multi-signature transactions and spending conditions look identical on the blockchain to single-signature payments when executed via the primary cooperative path 3. Furthermore, Schnorr signatures occupy slightly fewer witness bytes (typically 64 bytes compared to approximately 71 to 72 bytes for legacy ECDSA signatures) 3. Because all Taproot spend data utilizes witness storage, complex contracts gain massive cost reductions, paying the 75 percent discounted rate on scripts that previously would have burdened base data 3.

Common Misconceptions

  1. "Bitcoin's block limit is still strictly 1 MB." The 1 MB metric is an obsolete baseline. Nodes enforce a limit of 4,000,000 weight units 1. Raw block files regularly reach 1.5 to 2.5 MB depending on how many transactions use SegWit or Taproot inputs 2.

  2. "A smaller transaction in raw bytes always pays a lower fee." Raw byte size does not determine fee priority. A legacy transaction with fewer raw bytes can have a larger virtual size than a SegWit transaction containing more raw bytes, because the SegWit witness payload is discounted by 75 percent 2. Fee competition is strictly measured against virtual bytes.

  3. "The witness discount makes signatures less secure." Weight units reflect data storage and validation costs for the node network; they have no connection to cryptographic security margins. An ECDSA or Schnorr signature validated in witness space undergoes the identical mathematical validation routine as one validated in legacy script space [1, 3].

How This Connects to the Market

Block weight mechanics dictate the operational efficiency of the entire Bitcoin fee market. During periods of heavy transaction competition, wallet providers that have failed to implement modern address formats—such as Native SegWit (P2WPKH) or Taproot (P2TR)—force their users to pay substantially higher absolute fees for the exact same block priority 2.

For institutional custodians, automated trading desks, and mining operations, weight accounting is directly tied to profitability. Mining pools construct block templates by prioritizing transactions that deliver the highest fee per weight unit, rather than absolute fee amounts 2. How pools balance these financial calculations alongside hardware efficiency is explored further in our review of Solo Bitcoin Mining vs Pool Mining.

Additionally, protocols that store auxiliary data directly inside the Bitcoin chain rely heavily on the witness discount. Protocols such as Ordinals embed arbitrary content within the witness envelope of a Taproot spend 3. Because witness space is discounted by 75 percent relative to base data, storing non-financial data inside the witness structure is significantly cheaper in fee terms than writing data to traditional transaction outputs 2. This economic disparity ensures that block weight rules will remain central to debates surrounding network capacity, validator resource requirements, and transaction prioritization 1.

Questions this story raises

Why was the block size limit changed to block weight?
Block weight was introduced via Segregated Witness to safely scale transaction capacity without breaking backward compatibility, while incentivizing users to minimize data that bloats the permanent UTXO set.
Can a Bitcoin block ever be larger than 4 MB?
No. Under consensus rules, 4,000,000 weight units is the hard maximum. Even if a block were filled almost entirely with discounted witness data, it could not exceed 4 MB.
How do miners choose which transactions to include?
Miners prioritize transactions with the highest fee rate measured in satoshis per virtual byte (sat/vB) or fee per weight unit, maximizing revenue within the 4,000,000 WU block limit.
What is the formula to convert weight units to vBytes?
Virtual size in vBytes is calculated by dividing total weight units by four and rounding up to the nearest integer: vBytes = ceil(Weight / 4).

References

  1. [1] Bitcoin Core Developer Documentation: Transactions — Bitcoin Core
  2. [2] BIP 341: Taproot: SegWit version 1 spending rules — Bitcoin Core Developers
  3. [3] BIP 141: Segregated Witness (Consensus layer) — Bitcoin Core Developers

Evergreen explainer written by Basis Desk's system and checked by an independent model pass for factual errors and advice language. Figures, fees and rules change — the references above are where to verify current specifics. Market figures marked "at the time of writing" come from live exchange data. Report an error: corrections@basisdesk.news · corrections policy.

The Daily Brief, in your inbox at 07:00 ET

Five stories, the numbers that moved, what to watch. Three minutes. No hype, no advice, unsubscribe in one click.

Not financial advice. Basis Desk publishes information, not recommendations. Crypto assets are volatile and you can lose what you invest.