Attachment Size & MIME Bloat Calculator

Standard SMTP converts binary attachments into 7-bit Base64 MIME text, expanding every file by 33.33% plus ~50 KB of message headers—turning a 19 MB PDF into a 25.38 MB message that bounces at Gmail and Yahoo's 25 MB ceiling and Apple iCloud's 20 MB cap. Drop any file locally (0 bytes uploaded) to verify exact MIME bloat across major email providers.

Email Provider Attachment Limits & Real Raw File Ceilings

Advertised attachment limits measure the final Base64-encoded SMTP message (headers, HTML body, reply thread, and all attachments combined), not the raw file size shown in Finder or Windows Explorer.

ProviderMIME CapMax Safe Raw FileOverflow Behavior
Gmail / Google Workspace25 MB~18.5 MB552 SMTP bounce or forced Google Drive link
Outlook / Microsoft 36525 MB default (20–35 MB)~18.5–26.2 MBBounces at recipient gateway if above 25 MB
Apple iCloud Mail20 MB~14.9 MBPrompts Mail Drop (30-day link) or bounces SMTP
Yahoo Mail25 MB~18.5 MBImmediate rejection past 25 MB MIME
Zoho Mail Lite / Premium20 MB / 30 MB~14.9–22.4 MBFalls back to Zoho Huge Attachment link
RazixNo 25 MB MIME cap15–250 GB S3 poolIsolated S3 asset streaming; lightweight SES envelope

How This SMTP Base64 Overhead Calculator Works

SMTP was engineered around 7-bit ASCII text, so email clients encode every binary PDF, ZIP, PNG, or MP4 attachment with MIME Base64 (RFC 2045). Base64 maps every 3 binary bytes (24 bits) into 4 printable ASCII characters—an exact 1.3333× (+33.33%) size expansion—before adding CRLF line wraps every 76 characters and multipart MIME boundary headers (~50 KB).

When you drop a file into this calculator, JavaScript inspects only the browser's local File.size property in memory and applies rawSize × 1.3333 + 0.05 MB. No bytes are ever read off disk or transmitted over the network.

Frequently Asked Questions

Why is a 20 MB file too large for Gmail when Gmail says the limit is 25 MB?

Gmail measures the encoded MIME payload, not the raw file on your laptop. A 20 MB file expands by 33.33% during Base64 encoding to roughly 26.72 MB—crossing Gmail's 25 MB cap and triggering a 552 rejection or forcing a Google Drive link.

What is the maximum raw file size that safely clears a 25 MB email limit?

Keep raw attachments at or below 18.5 MB if you need reliable delivery across Gmail, Yahoo, and corporate Exchange relays. Once you account for Base64 inflation (~24.67 MB), MIME boundaries, HTML styling, and quoted reply history, anything between 18.7 MB and 20 MB routinely bounces.

Why do Microsoft 365 attachments still bounce if my admin raised the limit to 35 MB?

SMTP delivery is governed by the smallest limit along the entire route. Even if your Microsoft 365 Exchange tenant permits 35 MB or 150 MB outbound messages, external recipients on Gmail (25 MB), iCloud (20 MB), or conservative corporate gateways will reject the message on arrival.

Does dragging a file into this tool upload it to Razix servers?

No. The dropzone only reads file.size and file.namevia the browser's File API. Zero file contents are read or transmitted.

How can I send a 100 MB file via email without Google Drive or WeTransfer?

Use an email workspace like Razix that separates message transport (AWS SES) from binary asset storage (isolated, encrypted AWS S3). Recipients receive a lightweight, authenticated email without Google Drive permission errors or 7-day WeTransfer link expiry.

Related Free Tools

Stateless utilities built by Razix — no signup or email gate required.

All Tools

Deep-Dive Engineering Guides

Practical documentation from the Razix engineering blog.

Razix Multi-Domain Workspace

Ship 100 MB+ client deliverables without 25 MB MIME bounces.

Razix pairs clean AWS SES delivery with isolated, encrypted AWS S3 attachment storage (15–250 GB included)—so large files stream inside your email threads with zero Drive permissions or expiring links.