Bitcoin Explained: How Bitcoin Works, the UTXO Model, Transactions and Confirmations

Blockchain Developer 55 min min read Updated: Nov 17, 2026 Beginner
Bitcoin Explained: How Bitcoin Works, the UTXO Model, Transactions and Confirmations
Beginner Topic 1 of 3

What Is Bitcoin?

  • The first blockchain, launched in January 2009 after the 2008 whitepaper
  • A peer-to-peer digital cash and store of value with no central bank
  • Uses proof of work. A new block is found about every 10 minutes
  • Maximum supply: 21 million BTC. The smallest unit is a satoshi (one hundred millionth of a bitcoin)

Accounts or Coins? The UTXO Model

Bitcoin does not keep account balances. It tracks unspent transaction outputs (UTXOs), like notes and coins in your pocket.

  • Your balance is the sum of UTXOs your keys can spend
  • A transaction spends whole UTXOs (inputs) and creates new ones (outputs)
  • You cannot tear a note in half, so you get change back as a new output

Worked Example

Asha holds one UTXO of 5 BTC. She wants to pay Ravi 2 BTC, with a fee of 0.001 BTC.

text INPUT : 5.000 BTC (Asha's old UTXO, signed with her key) OUTPUT : 2.000 BTC -> Ravi OUTPUT : 2.999 BTC -> Asha (change address) FEE : 0.001 BTC (inputs minus outputs, goes to the miner)
  • The old 5 BTC UTXO is now spent and can never be used again, which prevents double spending
  • Ravi now has a new UTXO of 2 BTC

Life of a Bitcoin Transaction

  1. Wallet builds the transaction and signs each input
  2. It is broadcast and waits in the mempool
  3. A miner includes it in a block, usually preferring higher fees
  4. The block is mined. You have 1 confirmation
  5. Each new block adds one more confirmation. Many wait about 6 for large amounts

Fees

  • Fees depend on the size of the transaction in bytes, not on the amount sent
  • When the network is busy, fees rise. Wallets suggest a fee level
  • Too low a fee may leave the transaction waiting for a long time

Coinbase Transaction

The first transaction in each block, created by the miner, creates the block reward and collects fees. It is the only way new bitcoin enters circulation.

Beginner Mistakes

  • Sending to a wrong or mistyped address (cannot be undone)
  • Not backing up the seed phrase
  • Believing transactions are fully anonymous. They are pseudonymous and public
  • Panic after a long wait. Check the transaction ID in a block explorer

Practice

  1. Draw the inputs and outputs when Ravi pays 1 BTC from a 3 BTC UTXO with 0.0005 fee
  2. What is change in a Bitcoin transaction?
  3. What is a coinbase transaction?

Conclusion

Bitcoin tracks unspent outputs. A transaction consumes inputs, creates outputs and leaves a fee for the miner. Confirmations grow with each new block.

Quick Summary: what; UTXO; example; life; fees; coinbase; mistakes.

Get Newsletter

Subscibe to our newsletter and we will notify you about the newest updates on Edugators