Code:
~/tmp]$ mkdir test1
~/tmp]$ echo abcd >> test1/test.txt
~/tmp]$ stat -c"size in bytes: %s, size in blocks: %b, size of a block: %B" test1
size in bytes: 21, size in blocks: 0, size of a block: 512
~/tmp]$
xfs file system, 4kB minimum allocation unit on disk