Back to Blog
    Guide
    7 min read
    Compressnfly Team
    Updated

    File Size Limits for Email, WhatsApp and Upload Forms (and How to Stay Under Them)

    Storage is cheap and internet is fast, so why does file size still cause so much trouble? Because the limits that matter aren't on your phone or laptop. They're set by email servers, upload forms and messaging apps, and they haven't grown at anything like the speed of camera resolutions.

    This page collects the limits you're most likely to run into, explains a couple of traps that catch people out, and gives you target sizes that work.

    The limits you'll actually hit

    WhereLimitNotes
    Gmail (personal)25 MBFor all attachments combined. Above that, Gmail offers a Google Drive link instead.
    Yahoo Mail25 MBTotal size of the message.
    Outlook desktop app (personal/IMAP accounts)20 MBMicrosoft's default for internet email accounts.
    Work email (Exchange / Microsoft 365)Often 10–35 MBSet by your IT team, and the receiving company may have a lower limit than yours.
    WhatsApp documentsUp to 2 GBPhotos sent the normal way are compressed by WhatsApp; send as a document to keep the original.
    Job portals and government formsOften 20 KB–2 MBPhotos and signatures usually 20–100 KB; document scans 200 KB–2 MB.

    Limits change, and company and university accounts often set their own. If an email bounces, the error message usually states the exact limit.

    Trap 1: your 20 MB file is really 27 MB in an email

    Email was designed for text, so attachments are converted to text before sending, using an encoding called Base64. That conversion turns every 3 bytes into 4 characters, making the attachment about 33% bigger on its way through the mail system.

    Many mail services account for this and show you the original size, but some servers check the encoded size. This is why an 18 MB PDF can bounce from a server with a 20 MB limit, and why the sender is left confused because "it was under the limit". The safe habit: keep attachments to about 70% of the stated limit. For a 20 MB limit, aim for 14 MB or less. For a 10 MB work server, aim for 7 MB.

    Our guide to compressing a PDF for email walks through this step by step.

    Trap 2: "50 KB" doesn't always mean the same thing

    A kilobyte can mean 1,000 bytes or 1,024 bytes, depending on who's counting. A file of 50,500 bytes is 49.3 KB by one measure and 50.5 KB by the other, so it can be "under 50 KB" on your computer and "too large" on the form.

    When a form's limit is strict, aim a little lower: 45 KB for a 50 KB limit, 90 KB for 100 KB. On Compressnfly's exact-size mode you can type any custom number, so just enter the lower figure.

    Why big files hurt websites

    If you run a website, image weight is one of the main things that slows pages down, especially on mobile data. In our own test, a 4.16 MB phone photo compressed to 305 KB with Web Optimized, still sharp at full screen width on a laptop. That's about 14 times less data for every visitor who loads the page.

    Visitors on a slow connection notice the difference immediately, and Google's page-experience signals measure how quickly the main content appears. A homepage with five uncompressed phone photos can easily weigh 20 MB; the same page with compressed images might be under 2 MB.

    Storage and backups

    Free cloud storage fills up fast with original-quality photos and scans. Compressed copies are worth keeping for things you only need to view: receipts, scanned forms, reference photos. Keep originals of anything you might print or edit later. One scanned 8-page contract in our tests went from 9.49 MB to 894 KB at a 1 MB target, still sharp on screen, so you could store ten compressed copies in the space of one original.

    Target sizes that work

    PurposeAim forTool
    Photo on a job or government formThe stated limit minus 10%20 KB · 50 KB · 100 KB
    Document scan for an upload portal40 KB+ per page if possible200 KB · 500 KB · 1 MB
    Email attachmentAbout 70% of the limitCompress PDF · compress JPG
    Website photo100–300 KB200 KB · JPG to WebP
    Sharing with family or on social media300 KB–1 MB500 KB

    When a file is too big to compress enough

    Sometimes the honest answer is that compression isn't the right fix:

    • Long videos won't fit in an email at any reasonable quality. Share a cloud link instead.
    • Long scanned documents under a tiny limit get blurry. Check whether the form accepts several smaller uploads, or split the PDF and send it in parts.
    • Files that need full quality, like artwork for printing, should go through a file-sharing service rather than be squeezed.

    FAQ

    Why does my email say the file is too big when it's under 25 MB?

    Either the encoding overhead pushed it over (see Trap 1), or the recipient's server has a lower limit than yours. Compressing to well under the limit fixes both.

    Does WhatsApp reduce photo quality?

    Photos sent the normal way are compressed by WhatsApp. If quality matters, send the photo as a document, or use the HD option where your app offers it.

    How do I check a file's exact size?

    On Windows, right-click the file and choose Properties. On a Mac, select it and press Cmd+I. Both show the size in bytes, which removes any doubt about the 1,000 vs 1,024 question.