Actually, memory chips (NAND flash, DRAM) are usually specified in terms of bits, usually using a lowercase 'b' to denote 'bit'.
Online sellers have used this to their advantage, selling e.g. "1Gb" flash drives, with real 1 gigabit flash chips, which turn out to be ~128 megabytes.