Each address line doubles the number of locations you can address. With n address lines, you can address 2n unique locations.
n address lines → 2n addressable locations
Mental Math Shortcuts
①
Anchor on 10 = 1K. This is your starting point. Every 10 additional lines multiplies by 1,000 (roughly).
②
The K-M-G-T ladder: 10→1K, 20→1M, 30→1G, 40→1T
③
Quick adjustments: Each additional line doubles the size. So 11 lines = 2K, 12 lines = 4K, 13 lines = 8K.
④
Why 32 bits = 4 GB: 32 = 30 + 2, so that's 1G × 4 = 4G. This is why 32-bit systems maxed out at 4 GB RAM.
⑤
Working backwards: Need 256 locations? That's 28, so 8 address lines. Need 1 million? That's ~220, so 20 lines.