<p>In addition to the reward, the miner may spend all transaction fees to himself when he discovers the block.</p>

<p>Transaction fees are what's left of a transaction's input after subtracting the outputs.</p>

<pre><code>   Input                 Output
   1 BTC --------------&gt; 0.99 BTC
                               ---&gt; Transaction Fee = 0.01 BTC
</code></pre>

<p>The sum of all transaction outputs <strong>on the whole block</strong> must be smaller or equal than the sum of all transaction inputs on the whole block plus reward.</p>

CC BY-SA 3.0
2015-12-14T22:35:33.703Z
2015-12-14T22:35:33.703Z
Murch
<p>The extra 0.25058085 BTC is the sum of the transaction fees on the block (each transactions fee is the difference between the value of the transaction's inputs and the transaction's outputs).</p>
<p>As you can see, <a href="https://btcscan.org/block/000000000000042f7c236a243e2d84bec12210dd2dd5abbeaaf55024898ac70f" rel="nofollow noreferrer">this block</a> which had no transactions on it, and therefore no transaction fees, had a coinbase transaction whose sum of outputs was exactly equal to the reward (50 btc at the time).</p>

CC BY-SA 4.0
2015-12-14T17:49:47.723Z
2023-10-18T19:58:04.287Z
2023-10-18T19:58:04.287Z
Antoine Dahan
<p>If the sum of the coinbase transaction's outputs must be less than or equal to the current reward (25 btc currently), why in practice do blocks have a slightly higher coinbase transaction output (for example <a href="https://blockchain.info/block/000000000000000006f4fbd1cb7393fd7437ba9c07ae75dd7596682e302fd3db" rel="nofollow">this block</a> has a <a href="https://blockchain.info/tx/05f8871ec7a25e744d75b59541c004cbf06ccd5dbaea1162f5a6656fbeba04cf" rel="nofollow">coinbase transaction</a> with an output value of 25.25058085 BTC.</p>

<transaction-fees><block><mining-reward><coinbase-transaction>
Why are coinbase transaction outputs greater than reward?
Roy Hu
# Why are coinbase transaction outputs greater than reward?

(Asked by: username_0 on 2015-12-14)

If the sum of the coinbase transaction's outputs must be less than or equal to the current reward (25 btc currently), why in practice do blocks have a slightly higher coinbase transaction output (for example [this block](https://blockchain.info/block/000000000000000006f4fbd1cb7393fd7437ba9c07ae75dd7596682e302fd3db) has a [coinbase transaction](https://blockchain.info/tx/05f8871ec7a25e744d75b59541c004cbf06ccd5dbaea1162f5a6656fbeba04cf) with an output value of 25.25058085 BTC.

**Tags:** transaction-fees, block, mining-reward, coinbase-transaction


---

## 2 answers

### Answer by username_2 on 2015-12-14. Score: 6 | Accepted answer

The extra 0.25058085 BTC is the sum of the transaction fees on the block (each transactions fee is the difference between the value of the transaction's inputs and the transaction's outputs).

As you can see, [this block](https://btcscan.org/block/000000000000042f7c236a243e2d84bec12210dd2dd5abbeaaf55024898ac70f) which had no transactions on it, and therefore no transaction fees, had a coinbase transaction whose sum of outputs was exactly equal to the reward (50 btc at the time).


---

### Answer by username_1 on 2015-12-14. Score: 2

In addition to the reward, the miner may spend all transaction fees to himself when he discovers the block.

Transaction fees are what's left of a transaction's input after subtracting the outputs.

```
   Input                 Output
   1 BTC --------------> 0.99 BTC
                               ---> Transaction Fee = 0.01 BTC

```

The sum of all transaction outputs **on the whole block** must be smaller or equal than the sum of all transaction inputs on the whole block plus reward.


---

