Video file size calculator
Enter duration and average video and audio bitrates to estimate file size. Set a target size to find the available video bitrate after audio and overhead.
Results
- Estimated file size
- 614.4 MB
- Video bitrate to fit target
- 1,141.333 kbps
- Total bitrate budget
- 1,333.333 kbps
- Target size
- 100 MB
- Estimated size fits target
- No
- Uses average bitrates. Variable bitrate encoders and container metadata can change actual size. Leave a safety margin below an upload cap.
How it works
Bitrate measures bits per second, as used by FFmpeg. NIST defines a byte as 8 bits and a kilobit as 1,000 bits. Add average video and audio kbps, multiply by seconds, then divide by 8 to get bytes. Our overhead input adds a user-selected percentage of encoded payload; it is not a measured container rate.
size bytes = seconds × (video kbps + audio kbps) × 1,000 ÷ 8 × (1 + overhead % ÷ 100) video kbps budget = target bytes × 8 ÷ seconds ÷ 1,000 ÷ (1 + overhead % ÷ 100) − audio kbps
MB means 1,000,000 bytes; MiB means 1,048,576 bytes. The toggle changes custom target interpretation and displayed sizes. Platform presets retain their fixed byte budgets. Calculations keep full precision; displayed sizes and bitrates round to at most three decimal places. Leave a margin below a cap rather than rounding the bitrate upward.
Upload presets were checked on November 14, 2026: YouTube allows up to 256 GB or 12 hours, whichever is less. Account verification is required for videos longer than 15 minutes. Discord's developer reference states a default 20 MiB per file, with higher limits possible by account or server. Its consumer FAQ labels this 20MB and notes experiments. Use your account's actual allowance as a custom target if it differs. Presets do not check all upload eligibility rules.
Worked examples
Ten minutes at 8,000 + 192 kbps
600 × 8,192 × 1,000 ÷ 8 = 614,400,000 bytes with zero overhead: 614.4 MB or 585.9375 MiB (displayed as 585.938 MiB).
Fit five minutes into 100 MB
With zero overhead, the total budget is 100,000,000 × 8 ÷ 300 ÷ 1,000 = 2,666.666… kbps. After 128 kbps audio, the video budget is 2,538.667 kbps when rounded for display.
Add a chosen overhead allowance
For one minute at 1,000 kbps video and no audio, payload is 7.5 MB. A user-chosen 2% overhead makes the estimate 7.65 MB.
Frequently asked questions
Does resolution determine file size?
What is the difference between MB and MiB?
What overhead percentage should I enter?
Why does my exported file differ?
Can the target be too small for audio?
Sources
- NIST — binary prefixes and byte definitions (checked 2026-11-14)
- FFmpeg — codec bitrate options (checked 2026-11-14)
- YouTube Help — maximum upload size (checked 2026-11-14)
- Discord developer reference — Uploading Files (checked 2026-11-14)
- Discord — File Attachments FAQ (checked 2026-11-14)
Last reviewed 2026-11-14; next review due by 2027-02-12. The method is written out above so you can check our math.