The Mathematics of Base64
Base64 encoding translates binary data into ASCII characters. Since it uses 6 bits per character ( \( 2^6 = 64 \) ), and standard bytes are 8 bits, the encoding process inflates the data size by exactly 33.33% (a ratio of 4:3), plus padding characters (=) if the byte count is not divisible by 3.