Video File Size Calculator: From Bitrate and Length to GB
By FindMySum · Last reviewed
A video file size calculator answers two everyday questions: how big will this recording be, and what bitrate do I need to fit it into a limit? Both come from one fact. A video file is a stream of bits, and its size is simply how many bits flow per second multiplied by how many seconds it lasts. This page does that sum for video and audio together, adds an optional allowance for the container, and gives the answer in decimal GB or binary GiB. The worked example uses the default: a 10-minute 1080p upload at 8 Mbps with 384 kbps stereo sound.
The formula
size in bytes = (video bitrate + audio bitrate) × duration in seconds ÷ 8
Bitrates are quoted in bits per second, and there are 8 bits in a byte, hence the division. Bitrates use decimal prefixes: 1 Mbps is exactly 1,000,000 bits per second and 1 kbps is 1,000. The optional container overhead multiplies the result by (1 + overhead %).
Worked example
YouTube's recommended upload bitrate for 1080p at 24 to 30 frames per second is 8 Mbps, with 384 kbps for stereo audio.
- Total bitrate: 8,000,000 + 384,000 = 8,384,000 bits per second.
- Duration: 10 minutes = 600 seconds.
- Bits: 8,384,000 × 600 = 5,030,400,000.
- Bytes: 5,030,400,000 ÷ 8 = 628,800,000 bytes.
That is 628.8 MB in decimal units, or 599.7 MiB in binary units. An hour at the same bitrate is 3.77 GB.
Working backwards from a size limit
Upload limits, email caps and disc capacities turn the question around. Switch the calculator to "bitrate to fit a target size" and it rearranges the formula:
video bitrate = target size × 8 ÷ (1 + overhead) ÷ seconds − audio bitrate
To fit one hour into 2 GB with 128 kbps audio: 2,000,000,000 × 8 ÷ 3,600 = 4,444,444 bits per second in total, minus 128,000 for the audio, leaves 4.316 Mbps for the video. The calculator rounds down so the file fits. Variable-bitrate encoders can overshoot the average on a short clip, so leave a little headroom or use two-pass encoding, which targets an average bitrate precisely.
GB or GiB?
The same file shows two different sizes depending on who is counting. Drive makers, macOS, iOS and Android use decimal units, where 1 GB is 1,000,000,000 bytes (the SI Brochure's prefixes). Windows divides by 1,024 three times, which gives a gibibyte (GiB, defined by the IEC), but still writes "GB". A 4,000,000,000-byte file is 4 GB on a Mac and "3.72 GB" in Windows Explorer. Neither is wrong; they use different units. The calculator offers both as a labelled choice so the number matches the screen you are comparing with.
What sets the bitrate
Resolution, frame rate, codec and content all push the bitrate up or down, but once the bitrate is chosen, the size follows. Some typical starting points:
| Use | Typical video bitrate |
|---|---|
| YouTube upload, 1080p at 30 fps | 8 Mbps |
| YouTube upload, 1080p at 60 fps | 12 Mbps |
| YouTube upload, 4K at 30 fps | 35–45 Mbps |
| Smartphone 4K recording | 40–60 Mbps |
| Professional intra-frame 4K codecs | 300 Mbps and more |
YouTube's figures come from its recommended upload settings; the other rows vary by device and setting, so check yours. The tables under the calculator show your clip at each of YouTube's recommended bitrates and your bitrate over several durations.
Why the real file can differ
Most encoders vary the bitrate from scene to scene, so the bitrate you enter should be the average: dividing the finished file's size by its length gives it back. Extra audio tracks, subtitles, chapter markers and embedded thumbnails add to the total, and a constant-bitrate stream lands closest to the estimate. For streaming rather than storing, the bandwidth calculator turns the same bitrates into monthly data, and the download time calculator shows how long the file takes to transfer.
More questions
How much storage does an hour of 4K footage need?
At YouTube's top recommended 4K upload bitrate of 45 Mbps with 384 kbps audio, an hour is about 20.4 GB. Cameras often record far more: a 100 Mbps 4K mode fills 45 GB an hour, and a 400 Mbps intra-frame codec 180 GB.
Will re-encoding a video at the same bitrate keep the same size?
Roughly yes, because the size follows the bitrate, not the content. The quality will usually drop a little, since every lossy re-encode throws away some detail; lowering the bitrate is what makes the file smaller.
How big is a video for a 25 MB email attachment?
Work backwards: 25 MB is 200 megabits. For a 2-minute clip that leaves about 1.67 Mbps for video and audio together, so with 128 kbps audio the video can average about 1.5 Mbps, enough for a modest 720p clip. Use the bitrate mode with a target of 0.025 GB.
Does the container format change the size?
Only slightly. MP4, MOV and MKV wrap the same video and audio streams; their headers and indexes usually add well under one percent. The codec and its bitrate decide the size.
Why do H.265 and AV1 files come out smaller?
Newer codecs reach the same picture quality at a lower bitrate, often 30–50% lower than H.264. The size formula is the same; you simply enter a smaller bitrate for the same quality.
Sources
This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.