What are the Ki (kibi) and Mi (mebi) units?

They are binary units defined by the International System of Units. Examples:

Unit Definition
One kibibit 1 Kibit = 2^10 bit = 1024 bit
One mebibyte 1 MiB = 2^20 B = 1 048 576 B