Foundations · Bitcoin Knowledge Center
Fees & Block Space
Bitcoin blocks have limited room, so transactions compete for it by offering fees. The fee depends on a transaction's data size, not on the amount being sent.
Why it matters
Sending bitcoin costs a fee, and that fee can be tiny one day and many times larger the next. To someone used to fixed bank charges this looks arbitrary. It is the visible result of a simple arrangement: a fixed amount of space, sold to whoever offers the most for it.
Fees also matter for the system as a whole. They are part of what pays miners now, and they are scheduled to become the main part as new issuance declines.
How it works
- Fixed roomEach block has a maximum weight.
- BidsEvery transaction carries a fee.
- RankingMiners sort by fee per unit of size.
- Cut-offThe block fills from the top. The rest wait.
A block can hold only a limited amount of data, and a new block arrives about every ten minutes. When more transactions are waiting than fit, something must decide which go first. Bitcoin leaves that decision to a market.
Each transaction includes a fee, paid to the miner who puts it in a block. Miners want the most revenue per block, so they rank waiting transactions by fee rate, meaning the fee divided by the transaction’s size. They fill the block from the top of that ranking. Everything below the cut-off stays in the mempool.
In plain words
Picture a courier van that leaves every ten minutes with a fixed amount of shelf space. Each parcel carries a tip. The driver loads parcels by tip per centimetre of shelf, because a small parcel with a decent tip earns more than a bulky one with the same tip. What is inside the parcel, cheap or valuable, makes no difference to the driver.
How a fee is calculated
fee = transaction size (vB) x fee rate (sat/vB)The fee is not stated in the transaction. It is the difference between the total of the inputs and the total of the outputs.Two points set Bitcoin apart from familiar payment systems.
The amount sent does not matter. A transaction moving 0.001 bitcoin and one moving 1,000 bitcoin cost the same if they occupy the same space.
Size depends on structure. As the UTXO model explains, a transaction lists inputs and outputs. Each input adds data, so a payment that gathers many small pieces is larger and dearer than one spending a single piece. The address type matters too, because newer formats use space more efficiently.
Size is measured in virtual bytes (vB). An upgrade called SegWit, activated in 2017, changed the accounting so that signature data counts for less. The block limit is now expressed as 4,000,000 weight units, which equals at most 1,000,000 virtual bytes.
Two hypothetical payments on the same dayHypothetical illustration
Assume the going fee rate is 20 sat/vB. All figures are invented.
Payment A spends one input and creates two outputs. Size: 150 vB.
- Fee: 150 x 20 = 3,000 satoshis (0.00003 BTC).
Payment B sends the same amount, but the wallet has to combine ten small inputs. Size: 750 vB.
- Fee: 750 x 20 = 15,000 satoshis (0.00015 BTC).
The amount delivered is identical. B costs five times as much because it uses five times the space.
Now suppose each payment delivers 30,000 satoshis. A’s fee is 10% of the payment and B’s is 50%. For a payment of 30,000,000 satoshis, the same fees would be 0.01% and 0.05%. A flat cost per unit of space weighs heavily on small payments and lightly on large ones.
Going deeper
Why fees change so much
The supply of block space is almost perfectly fixed. Demand is not. When many people want to transact at once, the only thing that can adjust is the price. Fee rates can therefore multiply within hours and fall back just as quickly.
Wallets estimate a suitable rate from recent blocks and current mempools. The estimate is a forecast and can be wrong in either direction: too low and the transaction waits, too high and the sender overpays.
Why the space is limited
The limit is deliberate. Larger blocks would carry more transactions but would make the blockchain grow faster and blocks slower to spread, raising the cost of running a node. The limit trades capacity for cheap independent verification.
This choice has always been contested. It was at the centre of a multi-year dispute that led to a network split in 2017, and people still disagree about where the balance should lie. One result is that scaling efforts have focused on layers above the base chain, such as the Lightning Network.
Fees and the security budget
Miners earn the block subsidy plus fees. Each halving cuts the subsidy, so the design relies on fees carrying more of the load over time. High fees are a cost to users and, from the miners’ side, a source of the revenue that funds proof of work. Those two interests pull in opposite directions.
Network fees and other fees
A Bitcoin network fee goes to a miner. It is different from an exchange’s withdrawal charge, which the exchange sets itself, and from gas on other networks, which is calculated differently.
What it does NOT mean
- A fee is not a percentage of the amount. It is a price for space.
- A high fee does not make a payment safer. It affects how soon the transaction enters a block. Security after that comes from confirmations.
- Fees do not go to developers or a company. They are collected by whichever miner includes the transaction.
- A low fee does not mean the transaction fails. It may simply wait, and may be dropped from mempools if it waits too long.
- Cheap fees today say nothing about tomorrow. Fee rates follow demand, which nobody controls.
Common misunderstandings
- Expecting small payments to be cheap. Fees ignore the amount, so they can exceed the value of a very small payment.
- Collecting many tiny amounts without considering the cost of spending them. Each becomes a separate input later.
- Confusing an exchange’s withdrawal charge with the network fee. They are set by different parties.
- Reading wallet fee estimates as exact. They are predictions about a market that changes block by block.
Limits and open questions
- Low base-layer capacity. A few transactions per second is far below the volume of major payment networks.
- Unpredictable cost. Fee volatility makes the base layer awkward for small, routine payments.
- Long-term funding of security. It is not known whether fee revenue will be large and steady enough once the subsidy becomes negligible.
- Competing uses. Different kinds of activity bid for the same space, and whether some uses deserve priority is disputed.
Key takeaway
Bitcoin block space is limited, and fees are the price transactions pay to use it. The fee depends on size and on current demand, never on the amount sent.
Sources and further reading
- Mastering Bitcoin, Andreas M. Antonopoulos. Covers transaction fees, fee estimation and block construction
- Transactions (Bitcoin Developer Guide) (opens in a new tab), Bitcoin Project. Transactions pay fees based on their byte size, and the full value of the inputs must be spent or given to a miner as a fee; the byte-size wording predates weight units
- BIP 141: Segregated Witness (Consensus layer) (opens in a new tab), Bitcoin Improvement Proposals. Defines block weight and the 4,000,000 weight limit used for block space
- Bitcoin: A Peer-to-Peer Electronic Cash System (opens in a new tab), Satoshi Nakamoto (2008). Section 6 describes fees as part of the miner's incentive