BIP 141 defines a transaction's virtual size, measured in vbytes, as its transaction weight divided by 4 and rounded up to the next integer.
Sources and checks
T1BIP 141, Segregated Witness (Consensus layer)BIP, says this directly
/ 4 (rounded up to the next integer).
Specification, Transaction size calculations, read 2026-11-20
Checked at block 976,753, 20 Nov 2026, 16:42 UTC: quotes 1/1
History
Nothing is edited silently; every revision keeps what it replaced.
- 20 Nov 2026, 16:42 UTCblock 976,753
Published Revision 1, run 2026-11-20-seed-segwit