<p>There is no practical maximum number of outputs in a transaction. The number of transactions can be up to 2<sup>64</sup>-1, or 18446744073709551615. The transaction fee would be more than the total bitcoins to ever exist.</p>

CC BY-SA 3.0
2014-01-28T20:50:49.480Z
The maximum block size is 250,000 bytes (https://en.bitcoin.it/wiki/Transaction_fees).  txin is approximately 148 bytes, a txout is about 34 bytes. Assuming 1 txin then max_txout ~= 7348. However, I believe that calculation is also limited by the max sigop limit.
user789235
CC BY-SA 3.0
2014-10-29T22:30:28.543Z
@GeorgeKimionis: The number of transactions is stored in the Bitcoin block as a [Variable length integer](https://en.bitcoin.it/wiki/Protocol_specification#Variable_length_integer), which has a maximum range of 2^64-1.
Greg Hewgill
CC BY-SA 3.0
2014-01-28T17:06:22.563Z
2014-01-28T17:06:22.563Z
Greg Hewgill
<p>I know the maximum transaction size is 500Kb. </p>

<p>I also know there is a maximum for sigop in a transaction (20,000?).</p>

<p>What I'm interested in is what is the maximum number of txouts you could include in a single transaction.</p>

<protocol>
What the maximum number of txout in a transaction?
user789235
# What the maximum number of txout in a transaction?

(Asked by: username_0 on 2014-01-28)

I know the maximum transaction size is 500Kb.

I also know there is a maximum for sigop in a transaction (20,000?).

What I'm interested in is what is the maximum number of txouts you could include in a single transaction.

**Tags:** protocol


---

## 1 answers

### Answer by username_1 on 2014-01-28. Score: 3

There is no practical maximum number of outputs in a transaction. The number of transactions can be up to 264-1, or 18446744073709551615. The transaction fee would be more than the total bitcoins to ever exist.

> **Comments:**
> **username_0**: The maximum block size is 250,000 bytes (https://en.bitcoin.it/wiki/Transaction_fees).  txin is approximately 148 bytes, a txout is about 34 bytes. Assuming 1 txin then max_txout ~= 7348. However, I believe that calculation is also limited by the max sigop limit.  
> **username_1**: @GeorgeKimionis: The number of transactions is stored in the Bitcoin block as a [Variable length integer](https://en.bitcoin.it/wiki/Protocol_specification#Variable_length_integer), which has a maximum range of 2^64-1.  

---

