You can calculate it using simple math. One base64 character represents 6 bits, and therefore four characters represent three bytes. Thus, you get 3/4 bytes per character. What gives:
int base64EncodedSize = 4 * originalSizeInBytes / 3;
Depending on how the data is supplemented, it can be disabled by a symbol or two, but this should not change.
Also, if you suspect base64 might be more efficient, what do you compare this to? Compared to the source binary, it always causes a 33% increase.
source share