How big will your video file be?
Work out the file size from the bitrate and length, or the bitrate that fits a size.
What you enter stays on your device while you use this tool. Opening a shared link sends the settings in its address to HowToolbox to prepare the page.
File size
7.32 GB
8 Mbit/s video + 128 kbit/s audio over 2 hours
- Video and audio together
- 8.128 Mbit/s
- In gibibytes (GiB, 1,073,741,824 bytes)
- 6.81 GiB
Formula
Size = (video + audio bitrate) × duration ÷ 8
Work out the file size from the bitrate and length, or the bitrate that fits a size.
How to use
- Choose whether to find the file size or the video bitrate that fits a size.
- Enter the bitrate (or the size you must fit) and the length of the video as h:mm:ss, such as 1:30:00. Change the audio bitrate.
- Read the file size or bitrate. Copy the link to share it.
How it works
A video file holds a steady stream of data, so its size is simply how fast the data flows times how long it runs. A higher bitrate means more detail and a bigger file; the same video at half the bitrate is half the size.
File size in bytes = (video bitrate + audio bitrate) × seconds ÷ 8, because a byte is 8 bits. With decimal prefixes (1 Mbit/s = 1,000,000 bit/s, 1 GB = 1,000,000,000 bytes), a two-hour film at 8 Mbit/s plus 128 kbit/s audio is (8,000,000 + 128,000) × 7,200 ÷ 8 = 7.3 GB. YouTube's upload guidance recommends about 8 Mbit/s for 1080p video.
Real files differ a little: the container adds a few percent of overhead, and variable-bitrate encoders only average the bitrate you set. Treat the result as a close estimate.
Worked example
How big is a 120-minute video at 8 Mbit/s with 128 kbit/s audio?
- Total bitrate: 8 Mbit/s + 128 kbit/s = 8.128 Mbit/s.
- Duration: 120 × 60 = 7,200 s.
- Size = 8.128 Mbit/s × 7,200 s ÷ 8 = 7.32 GB.
About 7.32 GB (1 GB = 1,000,000,000 bytes).
Sources
- YouTube Help: Recommended upload encoding settingsUsed for: reference data
Frequently asked questions
Will changing the codec change the size at the same bitrate?
The estimated size stays the same if duration and total bitrate stay the same. Codecs can produce different picture quality from the same amount of data.
Can I calculate a silent video?
Yes. Set the audio bitrate to zero. The estimate then includes only the video stream.
What bitrate fits an upload limit?
Switch to finding the bitrate, enter the size limit and the length. Leave a little margin below the limit.
Is a gigabyte 1,000 or 1,024 megabytes?
Here it is 1,000 megabytes, as storage makers and the IEC define it. A gibibyte (GiB) is the 1,024-based unit.
Should I enter video bitrate or total bitrate?
Enter the video stream’s bitrate in the main field and audio separately. If you only know the combined bitrate, use that as the main value and set audio to zero to avoid counting it twice.





