File size and bitrate calculator
Bitrate and duration in, file size, the margin against a limit and the highest bitrate that fits out.
Send a brief- You enter
- Video and audio bitrate, duration, a size limit
- You get
- File size in MB and MiB, margin, highest bitrate
- Example
- 20.32 Mbps for 30 s = 76.2 MB
- Limits checked
- November 22, 2026

Calculator
Ad platforms, ad servers and review tools set file size limits, and a delivery can fail on one at the last step. File size follows directly from bitrate and length, so it can be checked before export rather than after an upload is rejected. This calculator gives the size of a file from its video and audio bitrates and its duration, compares it with a limit you enter and tells you the highest video bitrate that still fits.
How to use it
- Video bitrate, in Mbps (megabits per second). The target or average bitrate set in the export.
- Audio bitrate, in kbps (kilobits per second). For example 320.
- Duration, in seconds.
- Upload limit to check against, in MB. Use the limit in the help page of the platform, ad server or review tool you are delivering to.
How the calculation works
- Total bitrate = video Mbps + audio kbps / 1000.
- File size in MB = total bitrate x seconds / 8 (eight bits to a byte; 1 MB here is 1,000,000 bytes).
- File size in MiB = the same number of bytes divided by 1,048,576, which is how some operating systems and tools report size.
- The margin is the limit minus the file size, shown as room under the limit or as the amount over it.
- Highest video bitrate that fits = limit x 8 / seconds, minus the audio bitrate in Mbps.
The worked example
Example (fictional). A 30-second Orlenna master is exported at 20 Mbps video with 320 kbps audio, and checked against a 50 MB limit. The total bitrate is 20.32 Mbps, so the file is 20.32 x 30 / 8 = 76.2 MB (72.7 MiB). That is 26.2 MB over the limit. The highest video bitrate that fits 50 MB is 50 x 8 / 30 minus 0.32 = 13.0 Mbps.
The 50 MB figure is only an example limit. It is not the limit of any platform listed below; use the number from the destination you are delivering to.
Published limits we checked
From the help pages listed under sources, checked November 22, 2026:
| Destination | File size | Other limits given |
|---|---|---|
| Meta, Facebook Feed (awareness video) | Up to 4 GB | MP4, MOV or GIF; 1 second to 241 minutes |
| TikTok, In-Feed ads | Up to 500 MB | Up to 10 minutes; minimum bitrate 516 kbps |
| LinkedIn, video ads | 75 KB to 500 MB | MP4; 3 seconds to 30 minutes; under 30 fps |
For YouTube, the page we checked gives recommended upload bitrates: for SDR video, 8 Mbps at 1080p and 24 to 30 fps, or 12 Mbps at 48 to 60 fps; at 2160p, 35 to 45 Mbps, or 53 to 68 Mbps at the higher frame rates. They are recommendations, not limits.
At the example’s 76.2 MB, the 30-second file is well inside the Meta, TikTok and LinkedIn limits above. Specs change, so check each page again before export; the delivery specs checklist lists what to confirm.
Reading the result
If the file is over the limit, lower the video bitrate to the figure the calculator gives, or shorten the file. Lowering the audio bitrate saves little: 320 kbps is about 1.6 percent of the example’s total.
If the file has room to spare, the margin is a buffer, not a target. A file the calculator puts just under a limit can end up over it once container overhead is added.
Limits
- The calculation leaves out container overhead (the wrapper and metadata around the audio and video), so a real file is a little larger. Leave a margin.
- Variable-bitrate encodes land near the average bitrate, not the peak, so use the average or target bitrate.
- MB and MiB differ by about 5 percent. Check which one the destination’s limit uses.
- The calculator says nothing about quality. A file that fits at a low bitrate may show blocking in fast motion or fine textures; watch it through before delivery.
Related decisions
File size is one line of each destination’s spec, next to frame size, ratio and frame rate; see the aspect ratio crop calculator for sizes and campaign versioning for how each version is exported to its destination. Mezzanine masters are kept at much higher bitrates than upload files, and both are listed on deliverables. Encoding settings are set in post-production.
List the destinations when you send a brief, and the production plan will record each one’s limits in the deliverable matrix.