Video file size & bitrate calculator
Will your video fit under 10 MB for Discord or 25 MB for email? Enter its length and the size you need: get the bitrate and resolution to use — and the exact FFmpeg command. Or work the other way: how big will a video of a given bitrate be?
1. Fit a size
Command for macOS/Linux (Windows: use double quotes). More jobs: FFmpeg command generator · no terminal: compress in your browser.
2. How big will it be?
Bitrate for common size limits
Video bitrate (with 96 kbit/s sound) that fits each size, and the highest resolution worth using at that bitrate:
| Target size | 30 s | 1 min | 2 min | 5 min | 10 min |
|---|---|---|---|---|---|
| 8 MB Discord (old limit) | 1.9 Mbit/s up to 1080p | 885 kbit/s up to 720p | 394 kbit/s up to 480p | 100 kbit/s up to 360p | too long — trim it |
| 10 MB Discord free | 2.4 Mbit/s up to 1080p | 1.1 Mbit/s up to 720p | 517 kbit/s up to 480p | 149 kbit/s up to 360p | too long — trim it |
| 25 MB Gmail attachment | 6.0 Mbit/s up to 4K | 3.0 Mbit/s up to 4K | 1.4 Mbit/s up to 1080p | 517 kbit/s up to 480p | 210 kbit/s up to 360p |
| 50 MB Discord Nitro Basic | 12.2 Mbit/s up to 4K | 6.0 Mbit/s up to 4K | 3.0 Mbit/s up to 4K | 1.1 Mbit/s up to 720p | 517 kbit/s up to 480p |
| 100 MB | 24.4 Mbit/s up to 4K | 12.2 Mbit/s up to 4K | 6.0 Mbit/s up to 4K | 2.4 Mbit/s up to 1080p | 1.1 Mbit/s up to 720p |
Questions
How do you calculate the video bitrate for a file size?
File size ≈ bitrate × length. Take the size in megabits (MB × 8), divide by the length in seconds, and subtract the sound’s bitrate. This page budgets 92% of the size for the container overhead, so the result lands just under the limit.
Why does the resolution go down for small sizes?
A low bitrate spread over a 1080p picture looks blocky. Fewer pixels at the same bitrate look sharper, so the calculator suggests 720p, 480p or 360p as the bitrate drops (the same steps the GUI Hub app uses).
What is the Discord file size limit?
Free accounts can upload 10 MB per file, Nitro Basic 50 MB and Nitro 500 MB (Discord’s published limits at the time of writing).
How do I actually make the smaller video?
Copy the FFmpeg command shown under the result, or use the free browser compressor (nothing uploaded). The GUI Hub app does it from a form, for videos of any length.