blocksize can be used to obtain the block size the kernel uses when accessing a specific device:
blockdev --getbsz /dev/sda2