Interactive tool for understanding memory addressing
Total Bytes
4M
4,194,304
Bytes per Word
2
16 bits
Memory Locations
2M
2,097,152
Address Lines
21
2²¹ locations
Calculation Breakdown
💡The number of address lines determines how many unique memory locations can be addressed. With n address lines, you can address 2ⁿ locations. We use the ceiling of log₂ to ensure we have enough lines to address all locations.