<p>On <a href="https://bitcoincore.org/en/2016/10/28/segwit-costs/" rel="nofollow noreferrer">bitcoincore.org</a>:</p>
<blockquote>
<ul>
<li><p>The segwit transaction formats (see BIP 141 - witness program) have the following impact when serialised:</p>
</li>
<li><p>Compared to P2PKH, P2WPKH uses 3 fewer bytes (-1%) in the scriptPubKey, and the same number of witness bytes as P2PKH scriptSig.</p>
</li>
<li><p>Compared to P2SH, P2WSH uses 11 additional bytes (6%) in the scriptPubKey, and the same number of witness bytes as P2SH scriptSig.</p>
</li>
<li><p>Compared to P2PKH, P2WPKH/P2SH uses 21 additional bytes (11%), due to using 24 bytes in scriptPubKey, 3 fewer bytes in scriptSig than in P2PKH scriptPubKey, and the same number of witness bytes as P2PKH scriptSig.</p>
</li>
<li><p>Compared to P2SH, P2WSH/P2SH uses 35 additional bytes (19%), due to using 24 bytes in scriptPubKey, 11 additional bytes in scriptSig compared to P2SH scriptPubKey, and the same number of witness bytes as P2SH scriptSig.</p>
</li>
</ul>
</blockquote>
<p>And &quot;How much does it affect block size?&quot;</p>
<blockquote>
<ul>
<li><p>A witness commitment is included in the coinbase transaction, adding between 38 and 47 bytes, or about 0.005% of a block. (See BIP 141 - commitment structure)</p>
</li>
<li><p>A new transaction serialisation that includes the segregated witness data is defined (see BIP 141, or BIP 144). This adds an overhead of 2 bytes per transaction to allow the serialisation formats to be easily distinguished, and an overhead of 1 byte per input for the count of witness items for each input. These combine to about 1% per transaction.</p>
</li>
</ul>
</blockquote>

CC BY-SA 3.0
2017-10-09T06:01:16.290Z
2017-10-09T06:01:16.290Z
2020-06-16T11:10:03.350Z
MCCCS
<p>I know that SegWit transactions are bigger than normal transactions. But how much? 10% or 15% or..?</p>

CC BY-SA 3.0
2017-09-01T11:07:14.113Z
It would also be interesting to know how the transaction size is affected for different types of transactions, not just for standard transactions.
sanket1729
<transactions><segregated-witness>
How much does SegWit affect transaction size?
MCCCS
# How much does SegWit affect transaction size?

(Asked by: username_0 on 2017-09-01)

I know that SegWit transactions are bigger than normal transactions. But how much? 10% or 15% or..?

**Tags:** transactions, segregated-witness

> **Comments:**
> **username_1**: It would also be interesting to know how the transaction size is affected for different types of transactions, not just for standard transactions.  

---

## 1 answers

### Answer by username_0 on 2017-10-09. Score: 1 | Accepted answer

On [bitcoincore.org](https://bitcoincore.org/en/2016/10/28/segwit-costs/):

> * The segwit transaction formats (see BIP 141 - witness program) have the following impact when serialised:
> * Compared to P2PKH, P2WPKH uses 3 fewer bytes (-1%) in the scriptPubKey, and the same number of witness bytes as P2PKH scriptSig.
> * Compared to P2SH, P2WSH uses 11 additional bytes (6%) in the scriptPubKey, and the same number of witness bytes as P2SH scriptSig.
> * Compared to P2PKH, P2WPKH/P2SH uses 21 additional bytes (11%), due to using 24 bytes in scriptPubKey, 3 fewer bytes in scriptSig than in P2PKH scriptPubKey, and the same number of witness bytes as P2PKH scriptSig.
> * Compared to P2SH, P2WSH/P2SH uses 35 additional bytes (19%), due to using 24 bytes in scriptPubKey, 11 additional bytes in scriptSig compared to P2SH scriptPubKey, and the same number of witness bytes as P2SH scriptSig.

And "How much does it affect block size?"

> * A witness commitment is included in the coinbase transaction, adding between 38 and 47 bytes, or about 0.005% of a block. (See BIP 141 - commitment structure)
> * A new transaction serialisation that includes the segregated witness data is defined (see BIP 141, or BIP 144). This adds an overhead of 2 bytes per transaction to allow the serialisation formats to be easily distinguished, and an overhead of 1 byte per input for the count of witness items for each input. These combine to about 1% per transaction.


---

