Asset Ledger Daily

How to read a Bitcoin transaction: inputs, outputs, fee and confirmations

Sources checked: November 2026

Paste any transaction ID into a block explorer and you get a page of inputs, outputs and numbers. Here is what those parts mean, using the Bitcoin developer documentation.

Inputs and outputs

The documentation says each transaction has at least one input and one output. Each input spends an earlier output. Each output then waits as an unspent transaction output (UTXO) until a later input spends it. When a wallet shows a balance, it is the total of the UTXOs your keys can spend.

An input points to an earlier output with a transaction identifier (txid) and an output index number (often called "vout"). The first output has index 0.

Why there is often a change output

A UTXO can only be spent once, and it must be spent in full. According to the documentation, the full value of the inputs must be spent or given to a miner as the fee. Few people hold a UTXO that exactly matches what they want to pay, so most transactions include a change output that sends the remainder back to the sender. When you read a transaction with two outputs, one is often the payment and the other is change. The explorer cannot always tell you which is which.

The fee

The fee is what is left over: total input value minus total output value. The documentation says fees are based on the byte size of the signed transaction, not on the amount sent, and fees per byte rise as demand for block space rises. The fee goes to the miner who includes the transaction.

Quick check: if the inputs add up to 0.0100 BTC and the outputs add up to 0.0098 BTC, the fee is 0.0002 BTC.

Confirmations

A transaction gains one confirmation for each block added on top of the block that contains it, as the documentation describes. Its guidance on what the numbers mean:

The confirmation guidance comes from the payment processing section of the developer guide and includes a note dated March 2014 about attack cost. Treat the six-block figure as a convention, which the guide itself calls somewhat arbitrary.

A short checklist when you look up a transaction

  1. Copy the txid from your wallet or exchange withdrawal record.
  2. Check the number of confirmations.
  3. Match the receiving address and amount to one of the outputs.
  4. Compute the fee from inputs minus outputs and compare it with what your wallet said.

Sources