1 byte = 8 bit

1 kb = 1024 byte

1 mb = 1024 kb

1 tb = 1024 mb

1 gb = 1024 tb

1 tb = 1024 pb


1 char = 1 byte = 8 bit

1 short = 2 byte = 16 bit

1 int = 4 byte \ 8 byte = 32 bit \ 64 bit

1 long = 4 byte = 32 bit

1 long long = 8 byte = 64 bit

1 float = 4 byte = 32 bit

1 double = 8 byte = 64 bit