Video file size and bitrate calculator
Pick a mode. In the first, enter a bitrate and a duration to estimate the file size. In the second, enter a target size and a duration to find the bitrate you can afford.
Enter the video
Video size or bitrate
Loading the calculator…
How to use it
- Choose the mode: file size from a bitrate, or bitrate for a target size.
- Enter the bitrate or the target size, and the duration.
- Add an audio bitrate if the file has sound.
- Read the result and the formula with your numbers filled in.
The formula
file size: bytes = (video bit/s + audio bit/s) x seconds / 8
target size: total bit/s = target bytes x 8 / seconds
video bit/s = total bit/s - audio bit/sBitrate is bits per second. Dividing by 8 converts bits to bytes.
Worked example
File size. A video at 5 Mbps (5,000,000 bit/s) lasting 10 minutes (600 s) holds 5,000,000 × 600 = 3,000,000,000 bits, and ÷ 8 = 375,000,000 bytes, which is 375 MB.
Target size. To fit 10 minutes into 100 MB (100,000,000 bytes): 100,000,000 × 8 ÷ 600 = 1,333,333 bit/s in total. With audio at 128 kbps, the video gets 1,333,333 − 128,000 = 1,205,333 bit/s.
What it assumes
- The bitrate stays at the value you enter for the whole video (a constant bitrate).
- Container overhead, subtitles and extra tracks are not counted.
- The audio bitrate is in kbps. 0 means no audio.
Limits
- A variable-bitrate encode only averages out to the bitrate you choose, so the real size can differ.
- Real files depend on the codec, the content, the container and the encoder settings.
This is an estimate. The result is an estimate. The real size depends on codec, content, container and encoder settings.
Your numbers stay here
The math runs in your browser and nothing you type is sent to us. Your last calculation is saved in your browser (localStorage) so the calculator is filled in when you return. Press Reset to clear it. See the privacy policy.





