A video file weighs what its bitrate and its length say it weighs, and nothing else. Resolution, codec and frame rate only matter because they push the bitrate up or down. This calculator turns bitrate and duration into megabytes, gigabytes and megabytes per minute, adds a separate audio track and a container overhead allowance, and then runs the same maths backwards to answer the more practical question: what bitrate will keep this export under the limit I have to hit?
Bitrate is a rate: bits per second. Multiply it by the number of seconds and you have the total number of bits, and dividing by eight converts bits into bytes because a byte holds eight of them. Everything else is unit bookkeeping.
Total bits = (video kbps + audio kbps) × 1,000 × seconds
Bytes = total bits ÷ 8
MB = bytes ÷ 1,000,000, then × (1 + overhead %)
Maximum video bitrate for a size cap = (target MB × 8,000,000 ÷ seconds ÷ (1 + overhead)) − audio kbps
Worked example, forward. A 10-minute clip is 600 seconds. At 8 Mbps the video stream is 8,000,000 × 600 = 4,800,000,000 bits, or 600 MB before anything else is counted. Add a 128 kbps audio track: 128,000 × 600 = 76,800,000 bits, another 9.6 MB. The pair totals 609.6 MB, and a 2 percent container allowance takes it to 621.8 MB. Note how little the audio contributes: 1.5 percent of the file. Dropping audio from 320 kbps to 128 kbps saves about 86 MB an hour, which is real but never the lever that rescues an oversized export on its own.
Worked example, backwards. Gmail refuses attachments over 25 MB and you have a 3-minute clip, 180 seconds. The cap is 25 × 8,000,000 = 200,000,000 bits, and dividing by 180 seconds gives 1,111 kbps of total bitrate. Subtract 128 kbps for audio and the video stream may use about 983 kbps. That is enough for a static talking head at 720p and visibly soft for anything with camera movement, which is the honest verdict the arithmetic delivers.
These are common delivery targets, not laws. Two encoders at the same setting will land in different places, and H.265 buys roughly 30 to 50 percent of the bitrate back at matched quality. Figures are decimal gigabytes, video only.
| Format | Typical bitrate | GB per hour | Minutes per GB |
|---|---|---|---|
| 720p 30, H.264 | 5 Mbps | 2.25 GB | 26.7 |
| 1080p 30, H.264 | 8 Mbps | 3.60 GB | 16.7 |
| 1080p 60, H.264 | 12 Mbps | 5.40 GB | 11.1 |
| 1440p 30, H.264 | 16 Mbps | 7.20 GB | 8.3 |
| 4K 30, H.265 | 22 Mbps | 9.90 GB | 6.1 |
| 4K 30, H.264 | 45 Mbps | 20.25 GB | 3.0 |
| ProRes 422 HQ 1080p | 220 Mbps | 99.0 GB | 0.6 |
The last row explains a lot of confusion about "4K files being huge". A camera-original master at 880 Mbps writes about 396 GB an hour, while the H.265 export of the same footage may be 10 GB. Both are 4K. The difference is not resolution, it is how much data per second each one chose to keep.
Variable bitrate. Almost nothing is encoded at a constant rate. Encoders spend more bits on motion and grain and fewer on static shots, targeting an average. A clip of confetti will overshoot a clip of a white wall at identical settings, and there is no way to know which you have until you encode it.
Container overhead. MP4, MOV and MKV files carry headers, an index and per-track metadata that the bitrate figure never mentions. It usually lands between 1 and 3 percent, which is why the overhead field defaults to 2 instead of zero.
Extra tracks and metadata. A second language track, subtitles, chapters, a thumbnail and a colour profile all add bytes. None of them appear in the bitrate your editor shows.
Two-pass and constant-quality modes. A CRF or constant-quality encode does not have a bitrate target at all, so the number in the encoder box is a prediction rather than an instruction. If you need a guaranteed size, use a bitrate cap or a two-pass VBR encode.
This calculator reports decimal megabytes because that is what upload forms, email servers and hosting plans use. Operating systems report mebibytes, where 1 MiB is 1,048,576 bytes. The 4.9 percent gap is small on a phone photo and enormous on a video: a 20.25 GB recording shows up as 18.86 GiB in a file manager, and people reasonably conclude that something was compressed or lost. Nothing was. Two different units were used for the same bytes.
The useful rule is bits per pixel, not bits per second. Divide the bitrate by the pixel count and the frame rate and you get a rough quality index: at 1080p30, 8 Mbps works out to about 0.13 bits per pixel, which is a normal delivery target for H.264. Push 4K30 through the same 8 Mbps and you are at 0.03 bits per pixel, and the result will block and smear in motion no matter how good the encoder is.
That is why doubling resolution roughly quadruples the bitrate needed for equal quality, and why "4K at 1080p bitrate" is not a shortcut to a smaller high-quality file. If storage is the constraint, the honest options are a more efficient codec, a lower frame rate, or a shorter runtime. Turning the bitrate down is just choosing to lose detail.
One limit worth stating: this tool estimates the size of a stream, not the size of a finished deliverable. Editors add render caches, proxies and audio stems that never ship, and platforms re-encode what you upload into several renditions. Use the number to plan storage and to clear upload gates, then verify against the actual file once.
Variable bitrate overshoot on busy scenes, one to three percent of container overhead, and any extra audio track or metadata the bitrate figure ignores. Raise the overhead field to 5 percent when you need a conservative number rather than an accurate one.
No. Size follows bitrate and duration only. A 4K clip at 15 Mbps is smaller than a 1080p clip at 40 Mbps; resolution matters because clean 4K normally demands a much higher bitrate, not because pixels themselves occupy space.
You have about 1.11 Mbps of total bitrate to spend. After a 128 kbps audio track that leaves roughly 983 kbps for video, fine for a static shot and rough for movement. Cutting to 90 seconds doubles the allowance, which almost always beats fighting the encoder.
Enter the video stream alone and put audio in its own field. If your software only reports a combined figure, enter it as video and set audio to zero, otherwise you count the audio twice.
About 20.3 GB at 45 Mbps H.264, or 9.9 GB at 22 Mbps H.265. A ProRes 422 HQ master at 880 Mbps is roughly 396 GB for the same hour, which is why camera originals and delivery files should never be planned with the same storage number.
Not on its own. Sixty frames per second needs roughly 1.5 times the bitrate of thirty for comparable quality, so at a fixed bitrate a 60 fps file is the same size and simply looks softer. Duration and bitrate are the only two terms in the formula.