# Estimate Email Message Size Before Sending Attachments

https://ferkesh.net/zh/knowledgebase/article/email-attachment-total-message-size

A file's size on disk is smaller than the complete message in typical MIME transport. Base64 uses four output characters per three input bytes before line breaks and other overhead. A 15 MiB file can occupy about 20 MiB of encoded body data before formatting and headers.

![Disk file: 15 MiB example; Encoded body: About 20 MiB plus overhead; Mail path: Sending and receiving limits.](https://ferkesh.net/kb-media/ferkesh-guide-diagrams-batch-16.svg#email-attachment-total-message-size)

## Find the applicable limits

Check the sending app, account, transport and receiving service. Provider defaults may differ from tenant-specific settings. Keep attachment type and whole-message restrictions separate. Consult the provider when a bounce describes an enforced policy rather than the exact file size.

## Use one controlled comparison

Begin with a synthetic attachment well under the expected limit. If necessary, test near the boundary once with authorized recipients. Record the full SMTP response, timestamp and sanitized IDs. Avoid sending repeated large messages.

## Choose an approved delivery option

Use an access-controlled file sharing service when email is unsuitable. Confirm the recipient can open the intended file without making the share public. Keep transport acceptance separate from the recipient's actual access.

## Related Ferkesh Knowledge Base guides

- [How Mailbox Storage and Message Size Limits Differ](https://ferkesh.net/knowledgebase/article/mailbox-quota-vs-message-limit)
- [How to Troubleshoot Email Delivery and Bounce Codes](https://ferkesh.net/knowledgebase/article/diagnose-mail-bounce)

## Official references

- [Exchange Online limits - Service Descriptions — Microsoft Learn](https://learn.microsoft.com/en-us/office365/servicedescriptions/exchange-online-service-description/exchange-online-limits)

Last reviewed November 27, 2026.
