What is a Bitcoin transaction fee?
The fee is the difference between what a transaction spends and what it creates. Every Bitcoin transaction consumes some previous outputs as inputs and creates new outputs. Whatever the inputs add up to beyond the outputs is left for the miner who includes the transaction in a block. There is no separate fee field; the fee is simply the unclaimed remainder, and wallets calculate it for you.
Because a block has a limited size, the network cannot include every pending transaction at once. The fee is what you offer to be included. Miners earn the block subsidy plus all fees in the block, so they naturally prefer transactions that pay more for the space they take.
Why is the fee about size, not amount?
Sending a large payment costs the same as sending a small one, if the transactions are the same size. What you pay for is the block space your transaction uses, measured in virtual bytes (vbytes). A transaction that spends five small inputs is larger than one that spends a single input, so it costs more even if the payment amount is identical. This is why consolidating many small UTXOs when fees are low can save money later.
Virtual size comes from the weight system introduced with SegWit. BIP 141 defines transaction weight as the non-witness size multiplied by three plus the total size, and virtual size as weight divided by four, rounded up. In effect, signature (witness) data counts at a quarter of the weight of other data, so SegWit and Taproot spends take less space than legacy ones. BIP 141 also caps block weight at 4,000,000 weight units, which is roughly one million vbytes of space shared by everything in a block.
How do I calculate a fee?
Fee equals vbytes multiplied by the rate in sat/vB, where one satoshi is one hundred-millionth of a bitcoin. Here is an illustration. Suppose your transaction is 140 vbytes and the going rate is 10 sat/vB. The fee is 140 times 10, which is 1,400 satoshis. If the rate doubles to 20 sat/vB, the same transaction costs 2,800 satoshis. The size is the same; only the market price per vbyte moved. These numbers are examples to show the arithmetic, not a forecast.
Your wallet shows the size and the rate before you confirm. To get a rate, use the Bitcoin fee calculator, which shows current recommended rates for different confirmation targets, and the satoshi converter to translate satoshis into bitcoin. If you pick a slower target, you pay a lower rate and accept a longer wait.
What decides how long a transaction waits?
Unconfirmed transactions wait in each node's mempool. Miners build a block by taking transactions from their mempool in order of fee rate, highest first, until the block is full. If your rate sits above the rate that the last transaction in recent blocks paid, you will usually be confirmed in the next block or two. If it sits below, you wait until demand drops or until blocks clear the higher-paying backlog.
The Bitcoin mempool tool shows how many transactions are waiting and what rates they offer. A deep mempool with many transactions at high rates means a low-rate transaction may wait a long time. Nodes also have a minimum relay rate and a size limit for their mempool; a transaction paying too little can be dropped from some nodes, which is why a very low-fee transaction can seem to vanish from explorers.
Fee rates vary from block to block, and no one can promise an exact confirmation time. Estimates are based on recent blocks and are usually a good guide, not a guarantee.
Why is my transaction stuck?
In nearly every case the rate you offered was lower than the rate needed at that moment. Look up the transaction ID in a block explorer to see its size, fee rate and status. Compare the rate with what the fee calculator currently recommends. If the transaction is far below it, you have three options.
- Wait. If the mempool is draining, your transaction may confirm without action. Many nodes eventually drop unconfirmed transactions, and your wallet will then show the coins as spendable again.
- Replace it. If the transaction signalled replaceability, your wallet can rebroadcast it with a higher fee, using the replace-by-fee (RBF) rules in BIP 125. The replacement must pay a higher absolute fee than the original and also pay for its own size at or above the minimum relay rate.
- Add a child. If you control one of its outputs, such as change coming back to you, you can spend that unconfirmed output in a new transaction with a high fee. Miners judge the two together, so a high-paying child can pull a low-paying parent into a block. This is called child pays for parent (CPFP), and some wallets offer it as a button.
How can I pay less?
The honest answer is to be patient and be small. If you are not in a hurry, choose a low-priority target and send when the mempool is quiet. Check the live numbers rather than assuming any time of day is cheaper.
Make the transaction smaller. Native SegWit (bc1q) and Taproot (bc1p) addresses produce smaller spends than legacy 1 and 3 addresses for the same payment. Avoid spending many tiny inputs at once when rates are high. Batch payments if you pay many people, since one transaction with several outputs is smaller than several separate transactions.
Receiving does not cost you the fee; the sender pays it. But the size of the outputs you receive affects what it costs you to spend them later, so receiving many tiny payments can create dust that costs more to move than it is worth.
What is the difference between fees and the block reward?
Each block pays its miner a subsidy of newly created bitcoin plus the fees of every transaction in it. The subsidy halves every 210,000 blocks, and after the April 2024 halving it is 3.125 BTC per block. Over time, fees are expected to make up more of a miner's income as the subsidy shrinks, which is one reason fee markets matter for long-term network security. Our guide on how Bitcoin mining works explains how that income is earned.
This guide is general information and not financial advice, and fees quoted above are illustrations rather than predictions.