Sunday 6 December 2026

Bitcoin Transactions Explained: UTXOs, Fees and the Mempool

Bitcoin does not store balances. It tracks unspent outputs, like a wallet full of notes. This guide explains how bitcoin transactions work, why fees depend on size rather than amount, what happens in the mempool, and how to fix a stuck payment.

IntermediateLast reviewed
Hardware wallet on a desk at evening showing a confirmation tick on its screen

Key takeaways

  • Bitcoin tracks unspent transaction outputs (UTXOs), not account balances. Each payment spends whole outputs and creates new ones, usually including change back to you.
  • The fee is whatever is left over: inputs minus outputs. Miners rank transactions by fee per virtual byte (sat/vB), so a transaction’s size, not its value, decides the cost.
  • Unconfirmed transactions wait in the mempool. Fees were around 1 to 2 sat/vB at the time of writing, very low by historical standards.
  • A stuck transaction can usually be sped up with Replace-by-Fee (RBF) or Child-Pays-for-Parent (CPFP).

Bitcoin transactions work differently from a bank transfer, and the differences explain things that confuse many users: why a fee can be higher for a small payment than a large one, why your wallet shows a “change” address, and why a payment can sit unconfirmed for hours. This guide walks through the mechanics.

It helps to know the basics of blocks and mining first. See How Blockchains Work and How Bitcoin Mining Works.

UTXOs: bitcoin works like cash

Bitcoin’s ledger does not store a balance next to your name. It stores a list of unspent transaction outputs, or UTXOs. Each UTXO is a specific amount of bitcoin locked to a specific address, created by an earlier transaction. Your wallet’s balance is simply the total of all the UTXOs it can unlock.

Think of UTXOs as banknotes of odd sizes. If you have a 0.3 BTC note and a 0.5 BTC note and want to pay 0.6 BTC, you cannot tear a note in half. You hand over both, and receive change.

INPUTS (UTXOs YOU OWN)TRANSACTIONNEW OUTPUTS 0.3 BTCfrom an earlier payment0.5 BTCfrom another payment Signed by youspends both inputs in full 0.6 BTCto the recipient0.1998 BTCchange back to you Fee: 0.0002 BTCinputs minus outputs, to the miner
A typical payment. Inputs are spent in full, and the difference between inputs and outputs goes to the miner as the fee.

Inputs, outputs and change

  • Inputs point to the UTXOs being spent and include a signature proving you own them.
  • Outputs create new UTXOs: one for the recipient and usually one returning the change to a new address in your own wallet.
  • The fee is not written anywhere as a number. It is the gap between total inputs and total outputs, which the miner who includes the transaction collects.

Your wallet handles all of this automatically. The change address is why a block explorer may show your payment going to two addresses even though you only paid one person. Forgetting the change output in a manually built transaction is a classic way to accidentally pay a huge fee.

How fees are calculated

Blocks have limited space, measured in weight units, with a cap of 4 million per block. That works out at roughly 1 to 2 megabytes of data and a few thousand transactions. Miners fill this space with the transactions that pay the most per unit of space, so fees are quoted in satoshis per virtual byte (sat/vB). One satoshi is one hundred millionth of a bitcoin.

A simple payment with one input and two outputs from a modern SegWit address is about 140 virtual bytes. At 2 sat/vB that costs about 280 satoshis, roughly 23 US cents at today’s price. The amount being sent makes no difference. What does make a difference:

  • Number of inputs: paying from many small UTXOs makes the transaction bigger and more expensive.
  • Address type: newer formats are smaller to spend.
  • Network demand: when many people want to transact at once, the fee rate needed to get into the next block rises.
Address starts withTypeNotes
1Legacy (P2PKH)The original format; largest and most expensive to spend
3Script hash (P2SH)Often used for older multisig and wrapped SegWit
bc1qNative SegWitCheaper to spend; widely supported
bc1pTaprootNewest; efficient and better for privacy with complex scripts

The mempool

When you broadcast a transaction, nodes check it and hold it in their memory pool, or mempool, until a miner includes it in a block. Every node has its own mempool, so there is no single official one, but sites like mempool.space show a good approximation.

At the time of writing the mempool held about 49,000 transactions, and the fee needed for the next block was around 2 sat/vB. Recent blocks have even included transactions paying a fraction of a sat/vB, since the latest versions of Bitcoin Core lowered the default minimum relay fee. In busy periods, such as the 2023 and 2024 waves of Ordinals and Runes activity, fees have spiked above 100 sat/vB.

Fees from transactions are now a small part of miner income. The last few blocks paid between 0.008 and 0.035 BTC in total fees each, against a fixed subsidy of 3.125 BTC. How that balance shifts as the subsidy keeps halving is one of Bitcoin’s long-term questions.

Confirmations

A transaction is confirmed once it is in a block. Each new block on top adds another confirmation and makes reversing it harder. Blocks come about every ten minutes on average, but the gap can easily be 30 minutes or more.

  • 0 confirmations: broadcast but not in a block. Do not treat it as final for anything valuable.
  • 1 confirmation: fine for small amounts.
  • 3 to 6 confirmations: what most exchanges require for deposits. Six is the traditional standard for large sums.

Fixing a stuck transaction

If you paid too low a fee and the mempool filled up, your payment can wait for hours or days. Two tools help.

Replace-by-Fee (RBF)

You broadcast a new version of the same transaction spending the same inputs with a higher fee. Nodes replace the old one. Most wallets offer a “bump fee” or “speed up” button. Bitcoin Core now accepts replacements by default for any unconfirmed transaction, which means a zero-confirmation payment can be replaced; another reason to wait for a confirmation.

Child-Pays-for-Parent (CPFP)

The recipient, or you via the change output, spends the unconfirmed output in a new transaction with a high fee. Miners consider both together, so the generous child pulls the parent into a block.

If you do nothing, a low-fee transaction will eventually either confirm when demand falls, or be dropped from mempools, after which the funds show as spendable again.

Practical tips

  1. Check current rates on mempool.space before sending if your wallet does not set fees well.
  2. Use a SegWit or Taproot wallet.
  3. Consolidate many small UTXOs into one when fees are low, like now, so future payments are cheaper. Consolidation does link those UTXOs together publicly.
  4. Avoid reusing addresses; it makes your history easier to trace. Good wallets create a new one each time.
  5. Check the recipient address carefully. Bitcoin transactions cannot be reversed once confirmed.

For faster, cheaper small payments, many wallets now use the Lightning Network, a second layer covered in a separate guide.

Sources: mempool.space: live fees and blocks, Bitcoin Developer Guide: Transactions, Bitcoin Optech: Replace-by-fee, Bitcoin Optech: CPFP, Bitcoin Core release notes

Not financial advice. This article is for information only. Crypto assets are volatile; do your own research before making any investment decision.

Guides Desk

Writes plain-English explainers, how-to guides and analysis for readers who want the bigger picture.

Researched and drafted with AI assistance and reviewed by our editors. How we work

All stories from the Guides Desk →

Follow us on Facebook

The day’s top crypto stories and a new plain-English guide every day, straight in your feed.

Follow Crypto Coin Week

The week in crypto, in your inbox

One email a week with the stories that moved the market. No spam, unsubscribe anytime.

We’ll email you a link to confirm your subscription. Unsubscribe anytime with one click. Privacy policy