A memory chip's data lines carry the word being read or written, one wire per bit. In a 2ᵏ × n memory there are n data lines, usually named D(n − 1) down to D0.
So the second number in the 2ᵏ × n notation tells you the data lines directly, while the first number tells you the address lines through log₂:
- 2K × 8: 11 address lines, 8 data lines
- 64K × 16: 16 address lines, 16 data lines
- 1M × 1: 20 address lines, 1 data line
On most RAM chips the data lines are bidirectional: inputs during a write, outputs during a read, and high impedance when the chip isn't selected. On a ROM they are outputs only.
Data lines connect the chip to the system's data bus. When several chips sit side by side for width expansion, each chip's data lines go to its own slice of the bus.