Learn › How Bitcoin Works (High school and up)
How a Bitcoin Transaction Works
12 minute lesson · then a 4-question quiz
Add this lesson to a curriculum for a student, a group or a team.
Coins are unspent outputs
Bitcoin does not keep account balances. It tracks unspent transaction outputs, usually called UTXOs. Think of each as a bill of a specific amount that can be spent by whoever can sign with the right key. Your balance is the sum of the outputs your keys can spend.
Making a payment
To pay someone, your wallet builds a transaction. It chooses one or more outputs you own as inputs, and creates new outputs: one for the person you are paying, and often one back to yourself as change, like paying with a large bill and getting change. The difference between inputs and outputs is the fee, which goes to the miner who includes the transaction. You sign the transaction with your private key and broadcast it to the network.
Fees depend on the size of the transaction in data, not on the amount sent, and they rise when many people compete for limited space in blocks.
Confirmation
Nodes check the transaction: the signature must be valid, and the inputs must be unspent. Valid transactions wait in a pool called the mempool until a miner includes them in a block. That is the first confirmation. Each later block on top adds another. For small payments, one or a few confirmations may be enough. For large ones, many people wait for more, a common rule of thumb being six, because the chance of reversal falls with each block.
Key ideas
- Bitcoin tracks unspent outputs, not account balances.
- A payment spends inputs and creates outputs, including change.
- The fee is the gap between inputs and outputs.
- More confirmations mean greater confidence.
Try it with the free tools: The CFO Dad book
Watch
Videos that go with this lesson. Nothing loads from YouTube until you press play. Videos from other channels are credited and are not made or checked by CFO Dad.
Explaining Bitcoin Addresses - The Van Wirdum Sjorsnado - Bitcoin Magazine
From Bitcoin Magazine
Quiz
Get 75% or better to finish this lesson. You can try as many times as you like.
Educational only. Not tax, legal, or investment advice. Numbers and rules change, so check current sources.
