← All answers

Reviewed answer

How do I calculate video file size from bitrate?

Multiply the combined video and audio bitrate by the duration in seconds, then divide by eight to convert bits to bytes. Divide again by 1,000,000 for an approximate decimal megabyte value.

Claims reviewed 2026-11-11.

The estimate is: file size in bytes = total bitrate in bits per second × duration in seconds ÷ 8.

Variable-bitrate encoding and container overhead make the final file slightly different, so use the result for planning rather than as an exact output guarantee.

Add the video and audio bitrates before applying the formula. If a file contains several audio tracks, subtitles, or other streams, include their contribution when the delivery size matters.

Keep decimal and binary units separate. Network bitrates are commonly stated in decimal megabits per second, while storage tools may display decimal MB or binary MiB. A correct calculation can therefore look different when another application uses a different unit label.

For variable-bitrate exports, use the measured average bitrate from a completed encode when you need a close estimate. A target or maximum bitrate alone cannot predict the exact result.

Example

A five-minute video at 8 Mb/s video plus 0.192 Mb/s audio is approximately 307 MB before allowing for container overhead.

Practical checklist

  • Convert the duration to seconds and every bitrate to the same unit.
  • Add video, audio, and any other material stream bitrates.
  • Divide bits by eight to obtain bytes, then label MB or MiB correctly.
  • Allow a margin for container overhead and variable-bitrate variation.
Use the video file-size calculator

Primary documentation