Jump to the main content

Search Video Editing Help

Video Bitrate and File Size: How to Calculate Both

Author: First published Topic: Digital

Video file size equals bitrate multiplied by duration, divided by 8 to turn bits into bytes: 8 megabits per second for one hour is 8 x 3,600 / 8 = 3,600 megabytes, about 3.6 GB. To hit a target size, reverse it: bitrate = size x 8 / duration, minus the audio bitrate. Codecs differ hugely: ProRes 422 HQ at 1080p24 is 176 Mb/s.

An external hard drive, SSD, SD card and closed laptop on a desk

Part of the series: MOV Files and Video Codecs Explained: MP4, ProRes, H.264, WebM

Video file size is bitrate multiplied by time, and our file size and bitrate tool does that sum, or runs it backwards to find the bitrate that fits a target size. This guide gives the formula, the published bitrates worth knowing and worked examples you can check by hand. It sits with our codec guides, starting at the MOV guide.

What is the formula for video file size?

File size in megabytes = bitrate in megabits per second x duration in seconds / 8. The division by 8 turns bits into bytes. Add the audio bitrate to the video bitrate first, since both are in the file.

For one hour at 8 Mbps: 8 x 3,600 / 8 = 3,600 MB, which is 3.6 GB. A 40 Mbps clip is 5 MB per second, or 300 MB per minute.

Units need care. A gigabyte here is 1,000,000,000 bytes. NIST defines the gibibyte (GiB) as 2^30 bytes, 1,073,741,824, so a 3.6 GB file shows as about 3.35 GiB in tools that use binary units.

Which bitrates are common?

They range from 5 Mbps for a web upload to hundreds of Mb/s for an editing codec. The table lists published figures, with the size of one hour.

Source and setting Bitrate Size per hour
YouTube recommended, 720p SDR 5 Mbps 2.25 GB
YouTube recommended, 1080p SDR 8 Mbps 3.6 GB
YouTube recommended, 1440p SDR 16 Mbps 7.2 GB
YouTube recommended, 2160p SDR (upper figure) 45 Mbps 20.25 GB
Sony XAVC S HD (FDR-AX700) 50 Mbps 22.5 GB
Sony XAVC S 4K (FDR-AX700) 100 Mbps 45 GB
DJI Mini 4 Pro maximum 150 Mbps 67.5 GB

YouTube recommends 384 kbps for stereo audio, which adds about 173 MB an hour. YouTube’s figures are for upload encoding at standard frame rates. It lists 12 Mbps for 1080p at high frame rates, and 35 to 45 Mbps for 2160p. Camera figures are what the manufacturer lists, often a maximum.

How big are ProRes, H.264 and H.265 files?

ProRes files are much larger than H.264 or H.265 for the same picture, because ProRes is made for editing and uses a high fixed data rate. Apple’s ProRes white paper lists 1080p24 target data rates of 36 Mb/s for 422 Proxy, 82 for LT, 117 for 422, 176 for 422 HQ, 264 for 4444 and 396 for 4444 XQ.

ProRes at 1920 x 1080, 24p Data rate Size per hour
422 Proxy 36 Mb/s 16.2 GB
422 LT 82 Mb/s 36.9 GB
422 117 Mb/s 52.65 GB
422 HQ 176 Mb/s 79.2 GB
4444 264 Mb/s 118.8 GB
4444 XQ 396 Mb/s 178.2 GB

Against YouTube’s 8 Mbps for 1080p, 422 HQ is about 22 times larger per second. When you transcode camera files to ProRes for editing, expect the storage to jump by that order. Our guides on converting XAVC S to ProRes and transcoding H.264 to ProRes cover that workflow. Resolution matters too, and the white paper rates rise steeply at 3840 x 2160, so check the table for your frame size and rate. The size of each frame also depends on the aspect ratio and resolution you edit in.

How do I calculate the bitrate for a target size?

Reverse the formula: total bitrate = target size in megabits / duration in seconds. Then subtract the audio bitrate to get what is left for video. Megabits are megabytes x 8.

Leave a margin of a few percent for container overhead, and use a lower target if your encoder uses variable bitrate, which can overshoot.

Worked example: fit a 10-minute video into 1 GB

  1. Target size: 1 GB = 1,000 MB = 8,000 megabits.
  2. Duration: 10 minutes = 600 seconds.
  3. Total bitrate: 8,000 / 600 = 13.33 Mb/s.
  4. Subtract stereo audio at 384 kbps, which is 0.384 Mb/s: 13.33 - 0.384 = 12.95 Mb/s for video.
  5. With a 5% margin, aim for about 12.3 Mb/s of video.

How do I use the calculator?

Open the bitrate tool, enter the duration and a bitrate, or a target size to get a bitrate, and compare against the published values above. After a resize, check the resize tool, and if you need frame counts for the same clip, the timecode converter gives them. The article on timecode and drop-frame explains the counting.

If a file will not open in your editor once it is the right size, see which video formats your editor supports.

Answers to common questions

How big is one hour of 1080p video?

It depends on the bitrate. At YouTube's recommended 8 Mbps for 1080p, one hour is 8 x 3,600 / 8 = 3,600 megabytes, or 3.6 GB, plus about 173 MB for 384 kbps stereo audio. At Apple's ProRes 422 HQ rate of 176 Mb/s for 1080p24, one hour is 79.2 GB. The codec, not the resolution, sets most of the size.

What bitrate should I use for YouTube?

YouTube recommends 8 Mbps for 1080p and 12 Mbps at high frame rates, 16 Mbps for 1440p, and 35 to 45 Mbps for 2160p at standard frame rates, with 384 kbps for stereo audio. Those are recommendations for upload encoding, not minimums. YouTube re-encodes what you upload, so a high-quality upload gives its encoder a better source.

How does ProRes size compare with H.264?

ProRes is far larger because it is built for editing quality, not delivery. Apple lists 1080p24 data rates of 117 Mb/s for ProRes 422 and 176 Mb/s for 422 HQ, against YouTube's recommended 8 Mbps for an H.264 1080p upload. That makes 422 HQ about 22 times bigger per second. Budget about 79 GB per hour for 422 HQ at 1080p24.

What is the difference between Mbps and MB/s?

Mbps is megabits per second and MB/s is megabytes per second. A byte is 8 bits, so divide megabits by 8 to get megabytes. A 40 Mbps clip is 5 MB per second, or 300 MB per minute. Camera and streaming specs use bits, while file sizes and disk speeds use bytes, which is why the conversion matters when you plan storage.

How do I hit a target file size?

Reverse the formula: total bitrate = target size in megabits / duration in seconds, then subtract the audio bitrate to get the video bitrate. For 1 GB (8,000 megabits) over 10 minutes (600 seconds), the total is 13.3 Mb/s. Take off 0.384 Mb/s for stereo audio and you can spend about 12.9 Mb/s on video. Leave a margin, because variable bitrate encoders overshoot.

Why is my file smaller or larger than the calculation?

The formula uses an average, and real files vary. Variable bitrate encoders spend more on complex scenes, the container adds a small overhead, and a camera's setting is often a maximum, as DJI's specs show with maximum bitrates of 130 to 150 Mbps. Operating systems may also show gibibytes, which are 1,073,741,824 bytes, so a 3.6 GB file shows as about 3.35 GiB.

Evidence and sources

  1. YouTube Help: recommended upload encoding settings (support.google.com)
  2. Apple ProRes White Paper (April 2017): target data rates (apple.com)
  3. Sony FDR-AX700 Help Guide: bit-rate and recording pixels (helpguide.sony.net)
  4. DJI Mini 4 Pro specifications (dji.com)
  5. DJI Osmo Action 4 specifications (dji.com)
  6. NIST: prefixes for binary multiples (physics.nist.gov)

More on this topic

Return to top