How to Compress Video for Discord Under 20MB
Compress a video for Discord under the new 20MB free limit: a bitrate calculator, two-pass FFmpeg and HandBrake steps, and our real 61MB to 18MB test.

Last updated December 5, 2026
To compress a video for Discord, aim for 18MB on a free account, since Discord’s free limit is now 20MB. Work out the bitrate from the video length, then encode with two-pass H.264.
Our calculator below does the math and writes the exact commands. In our test, a 61.4MB clip came out at 17.98MB and stayed 1080p.
Key Takeaways
- Free Discord accounts can upload files up to 20MB, up from 10MB in August 2026.
- Nitro Basic allows 50MB and Nitro up to 1GB, says Discord.
- Discord now checks the file size before compression, so aim a little under the limit.
- Bitrate is the target size divided by the length. Longer clips need a lower bitrate or a smaller resolution.
- Two-pass encoding hits a target size. Constant quality mode cannot.
Digieh Discord bitrate calculator
Enter your video length. It works out the bitrate that fits your Discord limit, plus the exact commands.
Digieh tool. 1 MB here means 1,000,000 bytes, so results stay under the limit either way. Resolution advice is Digieh’s rule of thumb from our own test.
What Is the Discord File Size Limit in 2026?
| Account | Upload limit per file |
|---|---|
| Free | 20MB |
| Nitro Basic | 50MB |
| Nitro | Up to 1GB |
Source: Discord Support, File Attachments help page, read December 5, 2026.
Discord says the free limit went up to 20MB in August 2026. It also says it now checks the file size before compression, not after.
Discord notes that Android users, whose source files tend to be larger, may hit the limit more often than before. So compress the video yourself before you upload.
How Do You Work Out the Right Bitrate?
File size is bitrate multiplied by length. So to hit a size, divide the size by the length.
- Take your target in megabytes, such as 18.
- Multiply by 8,000 to get kilobits: 18 x 8,000 = 144,000.
- Divide by the length in seconds. For a 30-second clip: 144,000 / 30 = 4,800 kbps.
- Subtract the audio bitrate. With 96 kbps audio: 4,800 – 96 = 4,704 kbps for video.
That 4,704 kbps is the number our calculator gives for a 30-second clip. Aiming at 18MB leaves room under Discord’s 20MB.
| Clip length | Video bitrate for 18MB | Suggested size |
|---|---|---|
| 30 seconds | 4,704 kbps | 1080p |
| 1 minute | 2,304 kbps | 480p |
| 2 minutes | 1,104 kbps | 480p |
| 5 minutes | 384 kbps | 360p |
Source: Digieh calculator, with 96 kbps audio. Sizes follow Digieh’s rule of thumb from our FFmpeg H.264 test.
What Happened in Our Test?
Our 30-second 1080p test clip, before and after
We made a 30-second 1080p clip with sound. It was 61,429,405 bytes, far over the free limit.
We encoded it with two-pass H.264 at 4,704 kbps video and 96 kbps audio. The result was 17,977,997 bytes, just under the 18MB we aimed for, at full 1080p.
The same settings at 720p gave 17,901,712 bytes. At this bitrate, 1080p was fine, so we did not need to drop the resolution.
Source: Digieh test, December 5, 2026, FFmpeg 6.1.1. Test clip made by Digieh from one of our own images, with motion and sound.
Free updates
Join the Digieh list
Be the first to know when our weekly brief launches.
No spam. Unsubscribe anytime. Read our Privacy Policy.
How Do You Compress a Video for Discord With FFmpeg?
The FFmpeg H.264 guide says constant quality cannot aim for a set file size. For a size limit, it suggests two-pass encoding.
Source: FFmpeg wiki, Encode H.264, read December 5, 2026.
Run these two commands, with the bitrate from the calculator. On Windows, end the first command with NUL. On Mac or Linux, use /dev/null instead.
ffmpeg -y -i input.mp4 -c:v libx264 -b:v 4704k -pass 1 -an -f mp4 NUL
ffmpeg -i input.mp4 -c:v libx264 -b:v 4704k -pass 2 -c:a aac -b:a 96k output.mp4The first pass studies the video. The second pass spends the bits where they matter most, so the file lands close to your target. It takes about twice as long as one pass, but the size comes out right.
How Do You Do It With HandBrake?
- Open your video in HandBrake, a free app for Windows, Mac and Linux.
- Pick an MP4 preset, then open the Video tab.
- Choose Avg Bitrate and type the video bitrate from the calculator.
- Tick 2-Pass Encoding.
- In the Audio tab, set the bitrate to 96 or 128.
- Start the encode and check the file size.
HandBrake’s own guide says average bitrate lets you control the output size. It recommends two-pass encoding for better quality and bitrate spread.
Source: HandBrake documentation, Constant Quality vs Average Bit Rate, read December 5, 2026.
How Do You Make a Long Video Fit?
- Trim it. Cut the start and end to the part people need to see.
- Lower the resolution. A 2-minute clip looks better at 480p than a blocky 1080p.
- Drop the frame rate to 30 if it is 60.
- Remove the sound if it is not needed. That frees the audio bitrate for video.
- Split it into parts, each under the limit.
For anything over a few minutes, a link to a video site or cloud storage is often better. See our free cloud storage comparison.
Should You Make a GIF Instead?
For a short reaction or a funny moment, a GIF or a silent MP4 can be the easier choice. They loop and play right in the chat.
Our guide on how to make a GIF for Discord covers that. The free Video to GIF tool also has a Discord setting.
Recording your screen for clips? Our guide to screen recording on Windows 11 helps you start with a smaller file.
Which Settings Matter Most for Quality?
At a fixed size, three things decide how good the video looks.
- Length. Every extra second takes bits from the rest of the clip.
- Resolution. Fewer pixels means each one gets more bits, so a smaller video can look cleaner.
- Motion. Fast action, like games or sports, needs more bits than a talking head.
If your clip is fast-moving, choose one size lower than the calculator suggests. For a slide show or a still camera, you can often keep one size higher.
Why Does Discord Still Say My File Is Too Big?
- You aimed for exactly 20MB. Aim for 18MB to leave room.
- Your phone saves video at a high bitrate, and Discord now checks size before compressing.
- The video is in a format Discord does not play inline. Discord lists MP4 video encoded with H264, H265 (HEVC) or AV1.
- You have a free account but used a Nitro-size target.
Source: Discord Support, File Attachments help page, read December 5, 2026.
How long is the video you want to send?
- Under 30 seconds
- 30 seconds to 1 minute
- 1 to 5 minutes
- Over 5 minutes
- Not sure
Test Yourself
What is the free Discord upload limit in 2026?
- 8MB
- 10MB
- 20MB
Discord says the free limit is 20MB, up from 10MB as of August 2026.
Which encoding mode can aim for a set file size?
- Constant quality
- Two-pass average bitrate
- Lossless
The FFmpeg guide says constant quality cannot target a file size, but two-pass encoding can.
Frequently Asked Questions
How do I compress a video for Discord without losing quality?
Use two-pass encoding at the bitrate from the calculator, and trim the clip first. Shorter clips keep more quality.
What size should I compress to for Discord?
Aim for 18MB on a free account, which has a 20MB limit. Aim for 45MB with Nitro Basic.
Is the Discord limit still 8MB?
No. Discord says the free limit is 20MB as of August 2026.
Can I send a 1-minute 1080p video on free Discord?
Yes, but the bitrate will be low at 1080p. Our calculator suggests 480p for a sharper result.
Conclusion
Aim for 18MB on free Discord, work out the bitrate from the length and encode with two-pass H.264. Trim long clips or lower the resolution so they still look good.
Editor’s Note
This guide is accurate as of December 5, 2026. Limits come from Discord Support. Encoding advice comes from the FFmpeg and HandBrake documentation, and the test results are Digieh’s own.
Spot an error in this article? Please contact us at support@digieh.com or read our Corrections Policy.
Keep exploring
Your next read is waiting
1AI & TechDestination Folder Already Exists in WordPress: Easy Fixes7 min read
2Home & KitchenMaytag Dryer Error Codes: Meanings and Reset Steps7 min read
3CarsFord Escape, Bronco Sport Recall: Carbon Monoxide Risk7 min read
4EntertainmentYouTube TV Price Increase to $89.99: Cheaper Plans7 min read
5AI & TechClear Cache in Chrome: Visual Steps, Any Device7 min read
6AI & TechAustralia Visa Fees 2026: Official Charges and Calculator7 min readFound this useful?












