# Why Gmail's 25 MB Limit Is Really ~18 MB — and How to Send Big Files

> Gmail's 25 MB attachment limit is really about 18 MB for the file on your disk — attachments travel base64-encoded, ~35% bigger. Here's the math and how to get under the line.

Source: https://toolpantry.app/blog/gmail-attachment-limit-25mb

## About

Your 20 MB file "fits" under Gmail's 25 MB limit — and still gets rejected. Here's the arithmetic nobody shows you, and the three ways to actually get your file through.

## Quick answer

Short answer: email attachments travel base64-encoded — roughly 35% bigger than the file on your disk . Gmail's 25 MB limit is measured after that encoding, so the practical ceiling is about 18 MB of actual file . Compress first (our tools shrink scans and photos by 50–90%), or send a link.

## The math Gmail never shows you

Email is a text protocol from 1981. Binary files get encoded into text before they travel — base64 turns every 3 bytes into 4 characters, a fixed 33% inflation, plus headers. In practice, multiply the file size by about 1.35 before comparing it to any published limit.

| File on your disk | On the wire (~×1.35) | Clears 25 MB? |
|---|---|---|
| 10 MB | ~13.5 MB | Yes |
| 18 MB | ~24.3 MB | Only just |
| 20 MB | ~27 MB | **No** |

The limit is also total, not per file — two 12 MB attachments add up to the same wall. And if you're on a work account, your administrator may have set a different number entirely. (Google did raise Enterprise Plus accounts to 50 MB in February 2026, so the exact ceiling now depends on who you are.) For every platform's cap — Discord, WhatsApp, portals — see the [file size limits reference](https://toolpantry.app/file-size-limits.html).

## What we measured compressing

Running files through our own tools, before and after:

| File | Before | After | Tool |
|---|---|---|---|
| Phone photo (for a form) | 823.4 KB | **49.8 KB** | [Compress to 50 KB](https://toolpantry.app/compress-image-to-50kb.html) |
| Scanned PDF (3 pages) | 793.4 KB | **122.1 KB** | [Compress PDF](https://toolpantry.app/compress-pdf.html) |
| Phone video (12 s, 1080p) | 17.7 MB | **7.90 MB** | [Compress video](https://toolpantry.app/compress-video.html) |

Scans and photos are where the big wins live. If your attachment is under ~18 MB after compression, it sends as a normal attachment — no Drive, no permissions, no "request access" email.

## Three ways to get it through

1. **Compress it.** Photos and scans typically drop 50–90%. A photo album becomes one tidy PDF with [JPG to PDF](https://toolpantry.app/jpg-to-pdf.html) (often the smaller and more professional option for forms and submissions). Looser caps work the same way: [2 MB](https://toolpantry.app/compress-image-to-2mb.html) and [5 MB](https://toolpantry.app/compress-image-to-5mb.html) targets for email-friendly photos.
2. **Send a link.** Upload to Drive or any file host and paste the link — zero size limit, but the recipient now needs access. Fine for colleagues, clunky for strangers.
3. **Split the message.** Two emails with half the files each both stay under 25 MB. Unglamorous, always works.

## What doesn't work

Zipping photos, videos, or PDFs saves almost nothing — those formats are already compressed, and a ZIP can even add bytes. ZIP shines for folders of documents and text, not media. Also: renaming or trimming a file to shave kilobytes is a waste of time — you need the ~1.35 factor of headroom, not 100 KB.

## Notes

By the Tool Pantry team, October 2026. Numbers from Google's own documentation plus our compression tests: a 823 KB photo came out at 49.8 KB, a 793 KB scan PDF at 122 KB, a 17.7 MB video at 7.90 MB.

## FAQ

**How big can a Gmail attachment be?**

25 MB total per message on personal accounts — and because attachments travel base64-encoded (about 35% bigger on the wire), the practical file limit is roughly 18 MB. A 20 MB file becomes ~27 MB encoded and won't send as an attachment.

**What happens when you attach more than 25 MB?**

Gmail doesn't fail — it uploads the file to your Google Drive and inserts a share link instead. That works, but it burns your Drive storage and makes the recipient deal with permissions.

**How do I email a file larger than 25 MB?**

Two good routes: compress the file first (photos and scans shrink dramatically), or send a link instead of an attachment. For video, compression is the only route that keeps it as an attachment at all.

**Does zipping a file make it small enough?**

For photos, videos, and PDFs — no. They're already compressed; a ZIP saves almost nothing. ZIP helps with folders of documents and text files, not media.
