Edit: Looks like it's 1,048,576
You just need to remember that you need to multiple by 1,024 instead of 1,000.
So 1 kilobyte is 1,024 bytes, 1 megabyte is 1,024 kilobytes so 1,024x1,024 = 1,048,576 bytes, 1 gigabyte is 1,024 megabytes, etc.
But, somehow, at some point I believe that hard drive manufacturers started to use "GB" as meaning 10^9 bytes and the confusion started from there.
Do you buy 64 GB of RAM for a new computer? Or is it 68.719476736 GB?
It was only the hard drive manufacturers that wanted to inflate their numbers, and started pushing the 10^n scheme.
This is coming from someone who grew up with the SI system, which makes a ton of sense for physics and mechanics. Not so much for computer memory.
I believe that where the disconnect has occurred, is that when home computing started - RAM is pretty much all you had. We didn't have megabit networking, we didn't have harddrives, if we were lucky we had cassettes. So the binary prefixes were absorbed in isolation.
It made a big stir when they reached GB range and changed to powers of 10. I remember it.
For example, https://www.ebay.com/itm/225315397038
The label of this drive gives us CHS figures for three different models:
cyl * h * s * B
127MB = 919 * 16 * 17 * 512 = 127,983,616B (124MiB)
170MB = 1011 * 15 * 22 * 512 = 170,818,560B (162MiB)
340MB = 1011 * 15 * 44 * 512 = 341,637,120B (325MiB)
So we're at 127MB and they're already base10.For some reason everyone remembers it, but no-one's been able to show me.
"bits per second" is what it always has been for computer communication.
When I got started, I got a 300 bits/second modem, which later got upgraded to 1200/75 bits/s and then 2400 bits/second.
Later on, we had 57,6 kbit/second modems, 64 kbit/s ISDN lines, 2 Mbit/s ADSL, etc.
All the speedtest websites I've seen also use Mbit/s.
But sure, if I'm downloading the latest Ubuntu distro, I want to know the current speed in Megabytes/s.
It's more about tradition. And sometimes a sprinkle of marketing lies (it's cheaper to make 1024 GB SSD than 1 TiB SSD).
Disk /dev/nvme0n1: 953.87 GiB, 1024209543168 bytes, 2000409264 sectors