TTKTheTextKit

Video Bitrate Calculator

Enter the length of a video and its bitrate to see how big the file will be, or enter a target file size to see the bitrate that fits. Give the video bitrate in Mbps or kbps, add the audio bitrate and an optional container overhead, and read the size in MB, GB, MiB and GiB along with the storage used per hour. Everything runs in your browser.

Length

hours

minutes

seconds

Use 0 for no audio.

Extra room for the file format. 0 gives the pure stream size.

File size
609.6 MB
0:10:00 at 8.13 Mbps in total
In binary units
581.4 MiB
1 MiB = 1,048,576 bytes
Bytes
609,600,000
Storage per hour
3.658 GB
At the same total bitrate

A bitrate counts bits a second and a file size counts bytes, so the size is the bitrate times the time divided by 8. Eight megabits a second of video and 128 kilobits of audio for 10 minutes is 8,128 kbps x 600 s / 8 = 609.6 MB. Bitrates use the decimal prefixes, where 1 kbps is 1,000 bits a second and 1 Mbps is 1,000 kbps. Sizes are shown in decimal units, where 1 MB is 1,000,000 bytes, and in binary units, where 1 MiB is 1,048,576 bytes, so the same file reads as 609.6 MB or 581.4 MiB. The overhead is an extra percent for the container, and it is left at 0 by default because it depends on the format. The video bitrate for a target size is the total that fits minus the audio. Many encoders vary the bitrate, so a file made with a variable bitrate lands near the figure and not on it. Everything runs in your browser.

Related Tools

[5 suggestions]

About the Video Bitrate Calculator

A bitrate counts bits a second, and a file size counts bytes, so the size is the bitrate times the time divided by 8. Eight megabits a second of video and 128 kilobits a second of audio is 8,128 kbps, and for 10 minutes, which is 600 seconds, that is 8,128 x 600 / 8 = 609,600 kilobytes, or 609.6 MB. Bitrates use the decimal prefixes, so 1 kbps is 1,000 bits a second and 1 Mbps is 1,000 kbps. Sizes come in two kinds of unit: a megabyte is 1,000,000 bytes and a mebibyte is 1,048,576 bytes, so the same file reads 609.6 MB or 581.4 MiB. For a target size the calculator divides the size in bits by the length to get the total bitrate, and the video bitrate is what is left after the audio, so a 700 MB file of 90 minutes with 128 kbps of audio leaves about 909 kbps for the video. If the audio alone is more than the whole budget, it says so. The container overhead is an extra percent for the file format, and it is left at 0 by default because it depends on the format. A variable bitrate encode lands near the figure, not exactly on it.

How do I calculate the size of a video file?▾

Add the video and audio bitrates, multiply by the length in seconds and divide by 8. For 8,128 kbps over 10 minutes that is 8,128 x 600 / 8 = 609,600 kilobytes, which is 609.6 MB.

How do I find the bitrate for a target file size?▾

Divide the size in bits by the length in seconds to get the total bitrate, then take off the audio bitrate. A 700 MB file of 90 minutes is about 1,037 kbps in total, and about 909 kbps for the video with 128 kbps of audio.

Why divide by 8?▾

Bitrates count bits and file sizes count bytes, and a byte is 8 bits. Mixing them up gives an answer 8 times too large or too small.

What is the difference between MB and MiB?▾

A megabyte is 1,000,000 bytes and a mebibyte is 1,048,576 bytes. Storage makers use MB and many operating systems use MiB, so the same file shows two different numbers. The calculator gives both.

Is my data uploaded?▾

No. The sizes are worked out in your browser and nothing you enter is sent anywhere.