So, I'm trying to put some RAM into my SupraDrive 500XP.
The manual says it can take 256k×4 or 1M×4 DRAM chips.
The two numbers are like the dimensions of the grid inside the chip.
To convert ram size to bytes you multiply the two numbers together, this gives you the number of bits.
To convert that number to bytes you then divide by 8.
1Mx4 is 512 kilobytes (0.5 of a megabyte) so for 1 megabyte you need 2.
256kx4 is 128k kilobytes (0.125 of a megabyte) so for 1 megabyte you need 8.