01 / Length
Enter the length
Type the hours, minutes and seconds of the video.
Free tool
Work out how big a video file will be from its bitrate and length, which bitrate keeps it under a size limit, such as an email attachment or an upload cap, or how many minutes fit in a size. Drop a video to read its length and average bitrate.
Need a custom tool, app or website? Contact us →Length
This is plain arithmetic in your browser. Nothing is sent anywhere.
How it works
01 / Length
Type the hours, minutes and seconds of the video.
02 / Rate
Give the video bitrate to get the size, or the size to get the bitrate.
03 / Answer
The answer updates as you type. Use the bitrate in your recorder, editor or compressor.
Guide
A video bitrate calculator works out how big a video file will be from its bitrate and length, or which bitrate you need to keep a video under a size limit. Bitrate is how much data each second of video uses, so the size is simply the bitrate times the number of seconds. This calculator adds the sound on top, turns bits into megabytes for you, and keeps a little room spare for the file's container when you aim for a target size.
File size in bytes = (video bitrate + sound bitrate) x seconds / 8. You divide by 8 because bitrates are counted in bits and file sizes in bytes, and there are 8 bits in a byte. The calculator counts 1 MB as one million bytes.
Take the starting values on the page: a 5 minute video at 8 Mbps with 128 kbps sound. Five minutes is 300 seconds.
The sound is small next to the picture at this bitrate. It matters much more when you squeeze a video into a small size, as the next example shows.
In Bitrate for a target size, the sum runs the other way. The target size is turned into bits and 5 percent of it is kept spare, because the MP4 or MOV container adds a little data of its own. What is left is divided by the seconds, and the sound bitrate is taken off. You can change the spare room in "Spare room for the container".
Say you need a 5 minute video under 25 MB. 25 MB is 200,000,000 bits. Divided by 300 seconds, that is about 666,667 bits a second for everything, and with 5 percent kept spare, 633,333. Take off 128,000 for the sound and about 505,333 is left, or 0.51 Mbps for the video. That is a low bitrate for a full HD picture, so text in a screen recording may look soft. Some ways to get more out of it:
If the answer says Too small, the sound alone would fill the size. A 1 hour video in 25 MB leaves about 55,556 bits a second in total, less than the 128 kbps sound needs.
Length that fits a size divides the size by the bitrate. At 8 Mbps with 128 kbps sound, 4 GB is 32,000,000,000 bits; keep 5 percent spare and divide by 8,128,000 bits a second, and about 3,740 seconds fit, or 1 h 2 min 20 s.
"Read a video's length and bitrate" opens a video in the browser only to read its length and picture size; the file is not uploaded or changed. Its size in bits divided by its length gives the average bitrate of picture and sound together. A 5 second clip of 594,221 bytes is 4,753,768 bits over 5 seconds, about 0.95 Mbps. The Video bitrate box gets that number less your sound bitrate. If the browser cannot play a file, type its length by hand.
| Unit | Means | Used for |
|---|---|---|
| kbps | 1,000 bits a second | Sound bitrate, such as 128 kbps |
| Mbps | 1,000,000 bits a second | Video bitrate, such as 8 Mbps |
| MB | 1,000,000 bytes, or 8,000,000 bits | File size |
| GB | 1,000 MB | Large file sizes; the answer switches to GB above 1,000 MB |
A quick check in your head: 8 Mbps is 1 MB every second, so a minute at 8 Mbps is about 60 MB. A Mac's Finder counts MB the same way as this page. Windows File Explorer counts 1 MB as 1,048,576 bytes, so it shows a slightly smaller number for the same file.
If a bitrate looks good at one size, you can scale it for another by keeping the data per pixel the same. 8 Mbps at 1920 x 1080 and 30 frames a second is 8,000,000 / (1920 x 1080 x 30), about 0.13 bits per pixel per frame. A 3840 x 2160 video has four times the pixels, so the same quality needs about four times the bitrate, around 32 Mbps. Doubling the frame rate to 60 roughly doubles it again. Real encoders do a bit better than this on still scenes, so treat it as a starting point and check the result by eye. "Quality check: bits per pixel" under the answer does this sum for the picture size and frame rate you pick.
Screen recordings often have large areas that do not change, which encoders store cheaply. Camera footage with movement in every frame needs more. When you have the bitrate you want, set it in your editor, or let the video compressor do the work. To change the picture size first, use the video resizer.
Questions
Size = (video bitrate + sound bitrate) x seconds, divided by 8 to turn bits into bytes. One megabyte here is one million bytes.
The container (MP4 or MOV) adds a small amount of data on top of the picture and sound. The target size and length modes keep 5 percent of the size spare for it, and you can change that.
Screen recordings with still areas need less than camera footage at the same size. Check the result by eye: if text looks soft or blocky, raise the bitrate.
Yes. Choose Bitrate for a target size, enter 25 and the length, and use that bitrate. Or let the video compressor do it for you.
Megabits per second: how much data each second of video uses. 8 Mbps is 8 million bits, or 1 megabyte, every second.
No. The page does the sum in your browser.
Divide its size by its length. A 150 MB file that runs 2 minutes is 150 x 8 = 1,200 megabits over 120 seconds, about 10 Mbps for picture and sound together.
Up to a point. More bits let the encoder keep more detail, but past a certain rate the picture stops looking any better and only the file grows. The codec, the size and the content all play a part.
Many encoders treat the bitrate as an average, so busy scenes use more and still scenes less. The container also adds a little. The answer is a close estimate, not an exact size.
Mbps is megabits a second and MBps is megabytes a second. One megabyte is 8 megabits, so 8 Mbps equals 1 MBps.
Pick Length that fits a size, type the bitrate and 1 GB. At 8 Mbps with 128 kbps sound and 5% spare, about 15.6 minutes fit.
Press Read a video's length and bitrate and pick the file. The page divides its size by its length to give the average.