This can be done by combination of
Action Chains plugin and calibre template language from within the GUI. Attached below is a chain that calculates total size for selected books in human readable format. You can import the attached chain by: Action Chains > Add/modify chains > right click on the chains dialog > import > browse to the zip file.
Note: Also see what DNSB said in the post above about the difference between MB and MiB.