Arduino 24LC128 eeprom location

I am using a 24LC128 eeprom (128kbit, 16kbyte). So with 16k space, the location to read/write should be between 0 and 15999? 1 and 16000? What is it? Thanks!

128k is actual 131070bits so you divide that by 8 and -1 to start at 0, with a 2 byte address it should be 0 to 16382.

Be sure to check the write delay needed between cycles, probably 5ms, or there will be a lot of missing writes.

128k is 217, which is 131072 bits.
Divide by 8 (bits per byte) gives 16384.
Addresses run from zero, so the address range is 0..16383, or 0x0000..0x3FFF.

Oops, thanks for the correction, I forgot I already counted the 0 as a digit.