Production & signals

Bitrate from File Size Calculator

Derive average bitrate from a binary file size and duration.

Use this to inspect a rendered file's average bitrate before delivery.

Your inputs

Use consistent units and a matching period throughout. Enter decimals with a dot or comma, without thousands separators.

Binary mebibytes of the file.

Duration in seconds; must be greater than zero.

Your result

Result for the default inputs

Average bitrate (Mbps)

10

Calculations run in this browser. Inputs are not sent to a server or added to a share link.

What the result means

This reverses the binary-size estimate and reports megabits per second; variable bitrate files have an average here.

The formula

File size MiB * 8 * 1,048,576 / duration seconds / 1,000,000

Results are displayed to at most two decimal places. Calculations use the unrounded inputs.

A worked example

Put the formula to work

File size (MiB)
71.53
Duration (seconds)
60

Average bitrate (Mbps): 10

About 71.53 MiB over 60 seconds is approximately 10 Mbps.

How to use this calculator

  1. Read the binary file size.
  2. Measure exact duration.
  3. Convert bytes to bits and divide by seconds.
  4. Treat the result as an average.

Why this number matters

Reverse planning helps compare a delivered file with an encoder's intended bitrate.

Input definitions

File size (MiB)
Binary mebibytes of the file.
Duration (seconds)
Duration in seconds; must be greater than zero.

Assumptions and limitations

  • Container and audio streams are included in the observed size.
  • Variable bitrate changes moment-to-moment rate.
  • No codec quality claim is made.

Methodology

The default result and worked example use the same calculation functions as the interactive tool. The formula cannot verify the quality or scope of your source data.

Read our calculation methodology

Last updated .