How to Compress a Video to an Exact Target Size (Email, Discord, WhatsApp)
We operate CompressVid, the compressor linked in this guide, and have a commercial interest in recommending it. Sources, estimates and test dates are identified below.
Email attachments, Discord uploads, WhatsApp shares — each channel has its own file size limit. Instead of trial and error, set your target size first, then work backward to the compression settings.
Common Platform Size Limits

| Scenario | Limit | Aim for |
|---|---|---|
| Discord (free) | 20 MB | 18 MB |
| Discord Nitro Basic | 50 MB | 45 MB |
| Gmail attachment | 25 MB | 22 MB |
| Other email providers | Attachment or whole-message limit | Check the email guide |
| Forms, LMS, job portals | Set by the site | ~5% under the stated limit |
Sources checked 2026-10-13: Discord’s attachment FAQ and personal Gmail attachment help. A smaller 8 MB target still works; it simply leaves more unused budget.
Three Steps to Your Target Size

1. Pick a Target Size
Leave a little headroom. Sending to Discord on a free account, for example? Aim for 18 MB instead of 20 MB.
2. Work Backward from the Target
The bitrate math is simple:
target bitrate = target size × 8 ÷ video duration
A 60-second video at 18 decimal MB needs a total average bitrate of about 2.4 Mbps (18 MB × 8 ÷ 60 s). Audio uses part of that budget; acceptable picture quality depends on motion, detail and encoder settings.
Here, MB means 1,000,000 bytes and Mbps means 1,000,000 bits per second. The tool’s MB field uses 1,048,576 bytes per unit. Leave headroom for the container and verify the export; bitrate planning does not guarantee exact bytes.

3. Hand It to the Compressor
Drag your video onto the compressvid.io video compressor and type the size into the Target size field — or tap a quick size like 18 MB (Discord) or 22 MB (Gmail). The tool converts it into the right bitrate for your video's length and processes it online on our servers, nothing to install.
Can You Still Save the Quality?
Squeezing several minutes of high-bitrate 1080p footage down to 18 MB will inevitably cost some quality, but two things can soften the blow:
- Preview at the original resolution, then try a lower resolution if detail breaks up at the available bitrate.
- Adjust audio for the content — speech may tolerate a lower bitrate than music; listen to the exported track.
A workflow to reuse
Set the target size from the platform limit → derive the bitrate → compress in one pass. Much more efficient than tweaking settings over and over. Upload a video and try it now.
Related guides: How to compress a video · How to compress a video for email · Discord file size limit · How to compress a video on iPhone · Compress MOV · Compress video for email · Discord video compressor
Sources & method
- Formula
target bitrate = target size × 8 ÷ durationis the standard rate–size relationship used by encoders; our FFmpeg encode test (30 s clip, 2026-10-07) landed a ~19 MB ABR job at 18.31 MB — close, not exact. - Official platform links are included beside the table. HandBrake’s quality guide explains why quality settings vary with content; FFmpeg documentation describes bitrate controls. Documentation checked 2026-10-13; this is not a new measurement of exports on our servers.
- We operate CompressVid. The math is tool-agnostic; try it in HandBrake/FFmpeg if you want a second opinion.
Update — 2026-10-13: clarified MB units, audio/container budgeting and the difference between a target and guaranteed output bytes.
Update — 2026-11-19: the Discord Nitro Basic target is now 45 MB instead of 48 MB. CompressVid counts 1 MB as 1,048,576 bytes, so 48 MB was about 50.3 million bytes — above 50 MB if Discord counts decimally. 45 MB (about 47.2 million bytes) stays under both readings. The Free Discord target also moved from 19 MB to 18 MB: in this tool 19 MB is about 19.92 million bytes, only 0.4% under 20 MB if Discord counts decimally, while 18 MB (about 18.87 million bytes) leaves more than 5% headroom.