Text size
Guides

How Bitcoin Transactions Work: UTXOs, Fees in sat/vB and What "Confirmations" Mean

A beginner-friendly walkthrough of a Bitcoin transaction: UTXOs and change, how fees are priced in sat/vB, the mempool, confirmations, and fixing a stuck payment.

Not financial advice. This article is for general information and education only. It is not a recommendation to buy, sell or hold any asset. Crypto assets are volatile and you can lose money; do your own research.

Sending bitcoin looks simple in a wallet app: paste an address, type an amount, press send. Underneath, a lot happens that explains common surprises — why your fee depends on your wallet's history rather than the amount you send, why a payment can sit "unconfirmed" for hours, and why exchanges make you wait for several confirmations. This guide walks through a Bitcoin transaction from start to finish.

Coins are not stored as a balance

Your wallet shows a single balance, but Bitcoin does not track account balances the way a bank does. Instead, it tracks unspent transaction outputs, or UTXOs. Each time you receive bitcoin, you get a new UTXO — think of it as an individual banknote of a particular size. Your "balance" is just the sum of all the UTXOs your keys can spend. The Bitcoin developer guide describes this model in detail.

When you spend, your wallet picks one or more UTXOs as inputs, and creates new outputs:

  • one output to the person you are paying, and usually
  • a change output back to an address you control, for whatever is left over.

For example, if you hold a single 0.05 BTC UTXO and pay someone 0.01 BTC, the transaction spends the whole 0.05 BTC note, sends 0.01 BTC to the recipient and returns roughly 0.04 BTC (minus the fee) to you as change. Wallets handle this automatically, which is why you may see a new address appear in your history after you send a payment.

The fee is simply the difference between the total inputs and the total outputs. There is no separate fee field; whatever is not assigned to an output goes to the miner.

Why fees depend on size, not amount

Each block has limited space, so miners prioritize transactions by fee rate: how much they pay per unit of block space. Since the SegWit upgrade (BIP 141) activated in 2017, space is measured in virtual bytes (vB), and fees are quoted in satoshis per virtual byte (sat/vB). One satoshi is one hundred-millionth of a bitcoin.

That leads to a counterintuitive result: sending 10 BTC can cost less than sending 0.001 BTC. What matters is how many bytes the transaction takes, which mostly depends on how many inputs and outputs it has and what address types they use. A wallet holding many tiny UTXOs — for example from years of small purchases or mining payouts — creates larger transactions that cost more to spend.

Some practical consequences:

  • Modern address types are cheaper. Native SegWit (addresses starting "bc1q") and Taproot ("bc1p") inputs take up less space than old legacy ("1...") inputs.
  • Consolidating small UTXOs when fees are low can save money later. Be aware this links those coins together on-chain, which reduces privacy.
  • Very small UTXOs can become uneconomic. If spending a UTXO costs more in fees than it is worth, it is effectively stuck until fees fall.

The mempool and fee markets

When you broadcast a transaction, it goes to the mempool — the waiting room of unconfirmed transactions held by nodes across the network. Miners build each new block from the mempool, usually choosing the highest fee rates first. Public dashboards such as mempool.space show the current backlog and suggested fee rates for fast, medium or slow confirmation.

When demand is low, a very low fee rate can be confirmed in the next block. When demand spikes — during sharp market moves or popular token-inscription events, for instance — fee rates can rise many times over in hours. Your wallet's suggested fee is an estimate based on the current mempool, not a guarantee.

Blocks and confirmations

Bitcoin targets one new block about every 10 minutes. The network adjusts mining difficulty every 2,016 blocks (about two weeks) to keep that average steady as mining power changes, but individual blocks can arrive seconds or more than an hour apart.

When your transaction is included in a block, it has one confirmation. Each further block added on top adds another. Why wait for more than one? In rare cases, two miners find blocks at almost the same time and the network briefly has two competing versions of the latest block. One is eventually abandoned, and transactions only in that block return to the mempool. Each additional block makes reversal exponentially harder — the probability analysis appears in section 11 of the Bitcoin whitepaper.

Conventions vary: many services treat a payment as final after a handful of confirmations, and six confirmations (about an hour) is a long-standing rule of thumb for large amounts. Exchanges set their own requirements, which is why deposits may show as "pending" even after the first confirmation.

Fixing a stuck transaction

If you set a fee rate too low and fees rise, your payment can sit unconfirmed. Two standard techniques can help, if your wallet supports them:

  1. Replace-by-fee (RBF). You broadcast a new version of the same transaction with a higher fee, which replaces the original in the mempool. The original rules are described in BIP 125; many wallets show this as "bump fee" or "speed up".
  2. Child-pays-for-parent (CPFP). You spend the unconfirmed change output in a new transaction with a high fee. Miners who want that fee must include both transactions, pulling the stuck one in with it. The recipient can also do this with their output.

If you do nothing, a transaction with a very low fee may eventually confirm when the mempool clears, or nodes may drop it, in which case the coins simply stay in your wallet and you can try again.

Where miners' income comes from

Miners earn the block subsidy — new bitcoin created in each block — plus all the fees in that block. The subsidy has been 3.125 BTC since the April 2024 halving and will halve again at the next one, which The Block estimates for around April 2028. With more than 20 million of the 21 million bitcoin already mined, fees are expected to become a larger share of miners' income over time — one reason the fee market matters for Bitcoin's long-term security. Our mining and staking guide covers how miners operate.

Safe-sending checklist

  • Check the address carefully. Malware can swap copied addresses. Confirm the first and last several characters, and use your hardware wallet's screen where available.
  • Send a small test first for large or first-time payments.
  • Choose a fee rate deliberately. If it is not urgent, a lower rate is fine; if it is, use the wallet's "fast" estimate.
  • Make sure the recipient expects Bitcoin on the Bitcoin network. Wrapped BTC on other chains is a different asset and needs a compatible address.
  • Be patient with "unconfirmed". It does not mean the funds are lost.

Our wallets guide and security essentials cover backups and scam awareness in more depth.

The bottom line

A Bitcoin transaction spends existing UTXOs, creates new outputs (usually including change) and pays a fee equal to whatever is left over. Fees are priced per virtual byte, so transaction size — not the amount — sets the cost. Transactions wait in the mempool until a miner includes them, and each new block adds a confirmation that makes reversal harder. Knowing these mechanics helps you pay sensible fees, read your wallet history and stay calm when a payment takes longer than expected.

Sources: Bitcoin developer guide — Transactions; Bitcoin whitepaper; BIP 141; BIP 125; mempool.space; The Block, Mar. 9, 2026.

#bitcoin#btc#transactions#fees#utxo#mempool

Spotted an error? Tell us and we will correct it. See also our disclaimer and beginner guides in Learn.

Related articles

← All articles