How many space varchar 50 taken in Sql

varchar(50) means 50 bytes = 50*8 = 400 bits

1 bytes = 8 bits

each character use 1 bytes

so "dotnet" use 5 bytes = 5*8 = 40 bits in memory