Bandwidth-Based Fee

Charging for the bytes a transaction occupies rather than a flat amount per action, which is how Bitcoin fees really work.

Basically

Bitcoin fees depend on how much data your transaction uses, not how much bitcoin you send. You do not pay a flat charge per transaction.

Key Takeaways

  • Bitcoin fees are bandwidth-based: you pay per virtual byte (vbyte) of block space your transaction consumes, not per dollar amount transferred or per computation performed.
  • The SegWit witness discount prices witness data at 75% less than non-witness data, effectively reducing fees for transactions that use SegWit or Taproot address types.
  • You can optimise costs through transaction batching, UTXO consolidation and choosing the right address format.

What Is a Bandwidth-Based Fee?

A bandwidth-based fee is a transaction pricing model where the cost depends on the amount of data, measured in bytes or virtual bytes, that a transaction adds to a shared resource, rather than on the value being transferred or the computational work required. Bitcoin transactions compete for limited block space, and miners rank them by fee rate: the number of satoshis paid per virtual byte (sat/vB).

A transaction sending 0.001 BTC costs the same as one sending 1,000 BTC under this model, provided both consume the same number of virtual bytes. The fee is a function of data footprint, not economic value. The model contrasts with percentage-based pricing common in traditional payment networks and computation-based pricing used by Ethereum's gas fee model.

How It Works

Bitcoin's fee calculation follows a simple formula. Your fee depends on the transaction's data size and fee rate.

A typical native SegWit (P2WPKH) transaction with one input and two outputs is roughly 140 vBytes. At a fee rate of 10 sat/vB, that transaction costs 1,400 satoshis, approximately $1.40 at $100,000/BTC. Miners select transactions by fee rate rather than total fee because they want to maximise revenue per unit of block space consumed.

Weight Units and Virtual Bytes

Transaction size was measured in raw bytes and blocks were capped at 1 MB before SegWit. SegWit, activated in August 2017, replaced the raw byte limit with a weight unit system that differentiates between two types of transaction data.

The block limit became 4,000,000 weight units, which translates to approximately 1,000,000 virtual bytes. Virtual bytes are calculated by dividing weight by 4.

The witness discount means that signature data, which does not need to be stored permanently by all nodes after validation, costs 75% less than the rest of the transaction. The discount incentivised SegWit adoption without requiring a hard fork.

Transaction Size by Address Type

Different address formats produce different transaction sizes for the same operation. The comparison uses a standard single-input, two-output transaction.

Upgrading from legacy to Taproot addresses reduces the per-input cost by over 60%, directly lowering fees. For multisig wallets, the savings are even larger: MuSig2 key aggregation makes a Taproot multisig spend indistinguishable from, and the same size as, a single-signature spend.

Fee Estimation

Fee estimation algorithms analyse the mempool to recommend an appropriate fee rate. Bitcoin Core groups historical transactions into fee rate buckets and tracks how quickly transactions in each bucket confirm. For a given target, such as confirmation within 2 blocks, the algorithm finds the lowest fee rate at which at least 95% of past transactions confirmed within that window.

Third-party estimators like mempool.space offer real-time projections based on current mempool state. Most wallets present simplified tiers: fast (next block), medium (within a few blocks) and slow (within an hour or more).

Bitcoin vs. Ethereum: Bandwidth vs. Computation

Bitcoin and Ethereum use two fundamentally different approaches to transaction pricing. Bitcoin prices bandwidth, while Ethereum prices computation.

An ERC-20 token transfer costs 45,000 to 65,000 gas and a Uniswap swap costs 150,000 to 185,000 gas in Ethereum, even though both produce similar amounts of on-chain data. The difference reflects computational complexity. In Bitcoin, fees scale purely with data footprint: a transaction with a larger script costs more because it takes up more block space, not because the script is more computationally intensive.

Transaction Batching

Bandwidth-based fees make ten individual transactions far more expensive than one batched transaction with ten outputs. Each individual transaction carries fixed overhead, including version, locktime, SegWit marker and input data, while batching amortises that overhead across all recipients. Ten individual native SegWit payments total roughly 1,400 vBytes, whereas one batched payment to ten recipients is approximately 420 vBytes, a 70% reduction, so exchanges and payment processors batch withdrawals to significantly reduce their on-chain fee burden.

UTXO Consolidation

UTXO consolidation combines many small UTXOs into fewer larger ones during periods of low fee rates. Each input adds 57 to 148 vBytes depending on address type, so a transaction with 50 inputs during high congestion could cost more in fees than some of the UTXOs are worth. Consolidating when fees drop to 1 to 5 sat/vB prepares wallets for future spending at a fraction of the cost and is especially important for preventing dust accumulation.

Address Format Selection

Choosing modern address formats is a direct fee optimisation. Migrating from legacy P2PKH to native SegWit P2WPKH reduces input size from 148 to 68 vBytes, a 54% reduction, and Taproot P2TR further shrinks inputs to 57 vBytes. For applications processing many transactions, this difference compounds into significant savings over time.

Fee Bumping

Bandwidth-based fees interact with two fee bumping mechanisms when transactions are stuck in a congested mempool: Replace-By-Fee (RBF) replaces the original transaction with a higher-fee version, while Child-Pays-For-Parent (CPFP) creates a child transaction that raises the effective fee rate of the entire package. Both strategies require you to account for the bandwidth cost of the additional or replacement data. The fee bumping guide provides a detailed comparison.

Why It Matters

Bitcoin's bandwidth-based fee model has several implications for users, developers and the network as a whole. The model links transaction costs directly to block space use.

The research article on Bitcoin fee market dynamics examines how fee dynamics shape block space demand. You can read it for a deeper analysis.

Minimum Relay Fee Reduction

Bitcoin Core 29.1 (September 2025) lowered the default minimum relay fee from 1 sat/vB to 0.1 sat/vB, a 90% reduction. The policy change, not a consensus rule, reflects the fact that Bitcoin's rising price means a lower BTC-denominated threshold still provides adequate DoS protection.

Cluster Mempool

Cluster mempool, merged in November 2025 and expected to ship with Bitcoin Core 31.0, replaces the legacy ancestor-feerate transaction sorting with a cluster-based framework. Related unconfirmed transactions are grouped into clusters capped at 64 transactions, enabling more accurate fee rate evaluation and better block template construction. The change is estimated to recover 2% to 5% of previously missed miner revenue through improved transaction ordering.

Package Relay

Package relay allows nodes to evaluate groups of related transactions by their aggregate fee rate rather than individually. It solves a problem for CPFP fee bumping: previously, a low-fee parent transaction could be rejected by the mempool before its high-fee child could reference it. A parent can even have a fee rate below the minimum relay fee with package relay, as long as the parent-child package meets the threshold.

Fee Volatility

The pure auction fee market can push fee rates dramatically higher during periods of high demand. Events like new token protocol launches, exchange outflows during market volatility or inscription waves have historically pushed fee rates above 500 sat/vB. Users who do not monitor mempool conditions may overpay, while those who set fees too low may wait hours or days for confirmation.

Dust Economics

Bandwidth-based fees create a floor below which UTXOs become uneconomical to spend, making a UTXO effectively dust if the fee to include an input exceeds its value. At 100 sat/vB, a legacy P2PKH input costs roughly 14,800 satoshis just in fees, so any UTXO smaller than that becomes stranded until fee rates drop. UTXO management therefore becomes a practical necessity for frequent users.

Privacy Tradeoffs

Fee optimisation techniques like batching and consolidation can compromise privacy. Batching reveals that all inputs belong to the same entity and lets all recipients in a batch observe each other's output amounts, while consolidation links multiple addresses to a single owner. Users must weigh cost savings against the privacy implications of these bandwidth-efficient strategies.

Estimation Uncertainty

Fee estimation algorithms extrapolate from historical data and current mempool state, but cannot predict sudden demand spikes. A fee rate that would have confirmed in the next block five minutes ago may now be stuck behind a wave of higher-paying transactions. Time-sensitive applications, such as Lightning force-close transactions, must account for this uncertainty by using generous fee rates or relying on fee bumping mechanisms.

The glossary entry is for informational purposes only and does not constitute financial or investment advice. You should always do your own research before using any protocol or technology.

0

← All 1876 glossary terms