Guides / Run / Fees and UTXO housekeeping
Operations

Bitcoin fees and UTXO housekeeping

Fees depend on size, not amount. How inputs, outputs and fee rates add up, and when tidying small coins saves money.

Education onlyUK and USChecked 31 Oct 2026

Last checked 31 October 2026. Fee rates change block by block. The figures in the example are for illustration only. If anything here conflicts with the linked source, the source wins.

Every bitcoin transaction pays a fee to the miner who includes it in a block. The fee does not depend on the amount sent. It depends on the size of the transaction in virtual bytes (vB) and on the fee rate, in satoshis per virtual byte, that the sender chooses. When many people want to transact, the rate needed to confirm quickly goes up.

Fee = size in vB x fee rate in sat/vB

Size depends mostly on the number of inputs (the coins being spent) and outputs (the payments and change).

Source: Bitcoin BIPs: BIP 141: Segregated Witness (consensus layer), Bitcoin developer documentation: Transactions guide: public keys, private keys and signatures, Bitcoin Optech: Topic: fee estimation.

Coins are UTXOs

A wallet does not hold one balance. It holds separate unspent outputs, or UTXOs, one for each payment received and each piece of change. To pay someone, the wallet spends one or more UTXOs as inputs. In a 2 of 3 multisig each input carries two signatures and the script, so each input is several times larger than an output. A wallet holding many small UTXOs pays more to spend them.

Source: Bitcoin developer documentation: Transactions guide: public keys, private keys and signatures, Bitcoin BIPs: BIP 11: M of N standard transactions (multisig), Bitcoin Optech: Topic: coin selection.

Interactive example

Example only

Fee for a 2 of 3 multisig payment

Assumes native SegWit 2 of 3 multisig inputs (about 104.5 vB each), 43 vB outputs and about 10.5 vB of fixed overhead. Real sizes vary by a few bytes; other wallet types differ. Check with your wallet before sending.

Example only

Consolidate now or spend later?

Compares spending many small UTXOs in one payment later, against combining them first at a low fee rate and then spending a single input.

See the formulas on GitHub

Source: Bitcoin Optech: Transaction size calculator.

Consolidation

Consolidation means sending many small UTXOs to a new address in your own wallet when fee rates are low, so that later payments need fewer inputs. Bitcoin Optech published a 2018 field report from a bitcoin company that consolidated about 4 million UTXOs while fees were low, to prepare for the next time fees spiked. The same report notes that if fees do not rise, consolidating costs slightly more than doing nothing. The trade-offs:

Source: Bitcoin Optech: Field report: UTXO consolidation (30 July 2018), Satoshi Nakamoto: Bitcoin: A Peer-to-Peer Electronic Cash System (white paper, 31 October 2008, PDF).

If a payment is stuck

A transaction with too low a fee rate can wait unconfirmed. Two tools exist: replace by fee, where the sender signs a replacement paying a higher fee, and child pays for parent, where the recipient or the sender spends the unconfirmed change with a high fee so miners take both. Your wallet's support for each varies.

Source: Bitcoin BIPs: BIP 125: Opt-in full replace-by-fee signalling, Bitcoin Optech: Topic: child pays for parent (CPFP).

Fee budgeting

Source: mempool.space: REST API documentation: block height, hash rate, difficulty adjustment and fee estimates, IRS: Digital assets, eCFR: 26 CFR 1.1001-7(b)(1)(ii): digital assets used to pay transaction costs are a disposition.

Read next

Sources

Primary sources only. Each link was checked on 31 October 2026. Rules change, so confirm the current version with your adviser.

  1. Bitcoin BIPsBIP 141: Segregated Witness (consensus layer)
  2. Bitcoin developer documentationTransactions guide: public keys, private keys and signatures
  3. Bitcoin OptechTopic: fee estimation
  4. Bitcoin BIPsBIP 11: M of N standard transactions (multisig)
  5. Bitcoin OptechTopic: coin selection
  6. Bitcoin OptechTransaction size calculator
  7. Bitcoin OptechField report: UTXO consolidation (30 July 2018)
  8. Satoshi NakamotoBitcoin: A Peer-to-Peer Electronic Cash System (white paper, 31 October 2008, PDF)
  9. Bitcoin BIPsBIP 125: Opt-in full replace-by-fee signalling
  10. Bitcoin OptechTopic: child pays for parent (CPFP)
  11. mempool.spaceREST API documentation: block height, hash rate, difficulty adjustment and fee estimates
  12. IRSDigital assets
  13. eCFR26 CFR 1.1001-7(b)(1)(ii): digital assets used to pay transaction costs are a disposition
Free by email

One email. The whole library.

Policy checklist, board paper, recovery drill record, document pack and the rest, in one send. Then one short Thursday lesson for small companies in the UK and the US.

Free. One email with the whole template library, then one short lesson each Thursday. Unsubscribe at any time. See our privacy notice.

Education, not advice.

This is general information and education only. It is not financial, investment, tax, accounting, legal or regulatory advice, and it is not a recommendation to buy, sell or hold bitcoin or any other asset. It does not take account of your circumstances or those of your company. You must obtain your own official professional advice to confirm this information is correct before acting on it.

Rules change. This information is correct to our understanding at the last-reviewed date, but it may be incomplete or out of date, and official sources take precedence. Bitcoin is volatile. A company that buys it could lose some or all of the money it puts in.

Using this site does not create an adviser or client relationship. IoT Financial is not authorised or regulated by the Financial Conduct Authority (FCA) and is not registered with the US Securities and Exchange Commission (SEC) as an investment adviser. Read the full disclaimer.