← All Creator Tools

Video File Size Calculator

Estimate the final file size of your video exports based on resolution, framerate, duration, and codec. Note that this is an estimation; actual sizes will vary based on scene complexity and audio tracks.

Estimated File Size

182 MB

Planning range (±20%): 146 to 219 MB

Estimated video bitrate: 4.7 Mbps

The copied result includes the current calculator settings.

Video file size formula

File size is determined by bitrate and duration, not resolution alone. The core calculation is (video bitrate + audio bitrate) × seconds ÷ 8. The result is expressed here in decimal megabytes. Resolution, frame rate, motion, codec, and encoder quality settings influence the bitrate needed for acceptable image quality.

Worked example

A five-minute video encoded at 5 Mbps with 192 kbps audio uses about 195 MB: 5.192 megabits per second × 300 seconds ÷ 8, before container overhead. The ±20% range is a planning allowance. Actual files can fall outside it, especially when your encoder targets a quality setting and varies the bitrate with scene detail.

Why two videos with the same settings can differ in size

On 30 November 2026, we encoded two generated 12-second clips at 1280 × 720 and 30 fps. Both were H.264 MP4s with no audio, encoded in FFmpeg 8.0.1 with libx264 at CRF 23 and the medium preset. FFprobe measured 20,533 bytes for a flat gray clip and 4,696,419 bytes for a moving test pattern.

These deliberately different inputs show what a constant-quality encoder can do. For a strict upload limit, work from a target average bitrate, leave room for audio and container overhead, and check the finished file. If you plan to export using a quality slider, test a representative clip first.

To repeat the test, generate sources with color=c=gray:s=1280x720:r=30:d=12 and testsrc2=s=1280x720:r=30:d=12. Use -an -c:v libx264 -preset medium -crf 23 -pix_fmt yuv420p and compare file sizes with ffprobe -v error -show_entries format=size. See the FFmpeg libx264 options and the FFprobe field reference.

Frequently asked questions

How is video file size calculated?

Estimated file size equals total bitrate multiplied by duration, divided by eight to convert bits to bytes. This calculator adds the selected audio bitrate to the estimated video bitrate.

Why can the exported file be larger or smaller?

Variable-bitrate encoders allocate more data to detailed or fast-moving scenes and less data to simple scenes. Audio tracks, metadata, encoder settings, and container overhead also affect the final size.

Does a more efficient codec always make the file smaller?

At a comparable visual quality, H.265 and AV1 usually need less bitrate than H.264, but the exact saving depends on the encoder, source footage, and playback compatibility you require.