Memories are described as words × bits per word. A 16K × 4 memory holds 16K words, each 4 bits wide. That pair of numbers is the memory's organization.
Everything follows from it:
- First number (words) → address bits: log₂(words). 16K = 2¹⁴ → 14 address lines.
- Second number (word size) → data lines: equal to it. 4 data lines.
- Product → memory capacity: 16K × 4 = 64K bits = 8 KiB.
In this notation K = 2¹⁰ = 1024, M = 2²⁰ and G = 2³⁰, because memory sizes are powers of 2.
Two memories with the same capacity can be organized differently. 4K × 8 and 8K × 4 both store 32K bits, but the first needs 12 address and 8 data lines, the second 13 address and 4 data lines. When you build a system from chips, the organization tells you how to arrange them: width expansion fixes the second number, depth expansion the first.
The same notation sizes a ROM used as a lookup table: an n-input, m-output function needs a 2ⁿ × m ROM.