It is not necessary to calculate the size of SegWit transactions as they are split between the transaction and the signature. A unit of weight is equivalent to 1/4,000,000 the max size of the block. An alternative form of weight is vbytes.

A Complete gamer and a Tech Geek. Brings out all her thoughts and love in writing blogs on IOT, software, technology etc