A file can be short yet still require a lot of storage. Conversely, a small file doesn't necessarily indicate whether its text or motion remains clearly visible. For a basic size estimate, you need three things: an appropriate average bitrate, the duration, and a clearly defined unit.
Bitrate indicates how many bits per second are generated. In contrast, file size counts bytes across the entire film. One byte equals eight bits. Therefore, the average bitrate in bits per second can be calculated by multiplying the duration by the file size and then dividing by eight. Crucially, it is essential to know which data the bitrate refers to.
A complete calculation with clear assumptions
Our own planning example assumes an average video data rate of 6 Mbit/s and a duration of two minutes. Here, "Mega" means one million. The calculation is: 6,000,000 bits per second × 120 seconds ÷ 8 = 90,000,000 bytes, or 90 MB in decimal notation.
The result applies initially to the assumed video track. If the bitrate only describes the video, additional audio tracks and other file components must be added. However, if the average bitrate of the entire file is known, you should not add those same components again. Therefore, write "Video," "Audio," or "entire file" next to the number.
With variable bitrate, the amount of data delivered each second varies. The total file size depends on the average bitrate over the relevant duration. A peak bitrate from a short segment cannot be simply extrapolated to the entire film. Similarly, the target bitrate selected during export is not a measure of the final file's actual size.
Do not silently swap MB and MiB.
NIST explicitly defines the units separately: 1 MB equals 1,000,000 bytes, and 1 MiB equals 1,048,576 bytes. Therefore, our 90,000,000 bytes correspond to approximately 85.83 MiB. Both values describe the same amount of data. The difference is not lost storage nor a compression gain.
When comparing file manager, export window, and hosting display features, keep track of the actual unit being used. An interface might show rounded values or use a different reference scale. If in doubt, start with bytes and seconds for calculations, then format the result for display.
Actually calculated a custom file
For this article, we created a custom four-second animated test image and saved it as H.264 in an MP4 file. The file contains no audio track. The final file has a size of 353,341 bytes. Analysis using FFprobe shows a duration of four seconds; full decoding with the available FFmpeg completed without errors.
353,341 × 8 ÷ 4 equals 706,682 bits per second, or approximately 0.707 Mbit/s for the entire file. The resulting total value matches the calculation in this example. This is a post-hoc verification of a known file, not a prediction for a different recording or export profile.
Even in this silent file, the total size is not merely the sum of visible image points. The MP4 container organizes the stored data. Our comparison therefore explicitly uses the full file size. Anyone analyzing only a single track must separately evaluate the corresponding track information.
Bitrate is not the only quality measure.
A higher bitrate does not automatically mean better quality. Image content, resolution, motion, and the encoder used affect how the available data is utilized. Therefore, check the key moments in your film—such as small text, fast pointer movements, or scene transitions.
The HandBrake guide distinguishes quality control from simple size assessment and cautions against direct comparisons of named quality values across different encoders. For your workflow, this means: preserve the original source, export a short, relevant sample, and evaluate it at the intended display size. The calculation cannot replace this visual assessment.
Provide a practical size specification
Record the duration, byte count, bitrate, and the unit used. If you are only planning, label the entries as assumptions. For an actual upload or storage decision, use the final export and the current rules of the respective service. Additional quality variants or future deliveries are different in size from this single source file.
Storage and traffic are different
Distinguishing between MP4 container and codec
Sources and review frames
Original sources read on 26.10.2026. Figures and files are personal examples. No general quality, hosting consumption, or cost forecasts are provided.