# Why is everything in computer science a power of $2$? [duplicate]

I have noticed this strange thing.All things related to Computers come in values which are powers of $2$.For eg. Rams come in $2,4,8$ or $16$ GB,pendrives and memory cards also come in similar values.Computers are $8,16$ or $32$ or $64$ bit values.

Everything remarkably a power of $2$.Why is everything $2^n$?

Why?Thanks for any help!!

• – GoodDeeds Feb 4 '17 at 8:24
• 1) That's not true. My PC has 10 USB ports. 2) Even if real computers were built as you propose, that says nothing about computer science. 3) Agreed, duplicate. This may also be relevant. – Raphael Feb 4 '17 at 10:51
• Also, you may want to check out the different definitions of, say, MB to avoid confusion. – Raphael Feb 4 '17 at 10:52
• My computer has 10 GB of RAM, 3 MB of cache, and about 1,100 GB of storage. No powers of two anywhere. – gnasher729 Feb 4 '17 at 23:45