system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: How is 32 bit able to handle 4gb of ram, if 4,294,967,296 is the number of bits?

4294967296/8 = 536870912 bytes

536870912/1024 = 524288 KB

524288/1024 = 512 MB

512/1024 = 0.5 GB

If you divide it directly by 1024, you do get 4GB, but that number is the amount of data you can have in 32 BITS, so wouldn't you need to convert it to bytes first.
gpt
32 bits is able to handle 4294967296 Bytes not Bits.

The issue is being able to write down a unique address for each Byte in just 32 bit of ram.

The CPU needs to address each byte in memory with a unique 'name' and it has only 32 digits to write down the name.

It is a bit like writing down your street address and only having enough room for two digits for your street number. That would mean you only could differentiate between 99 different houses per street. If you have 3 digits for the street number you could have up to 999 different houses per street and so on.

You don't need to address each individual bit in a byte in memory anymore than you would put down the room the person you are writing a letter to sleeps in (unless you send them a message per owl of course).