VeryEasyTools

What Decides Video File Size: Bitrate, Resolution and Length

Open Compress Video →

A minute of video might be 10 MB, or it might be 200 MB. You can almost calculate a video’s file size from a few things: bitrate, length, resolution, what’s in the scene and the codec. I changed them one at a time and measured.

The examples use Blender’s open movie Big Buck Bunny (CC BY 3.0) at 1080p. Here, 1 MB means 1,000,000 bytes.

The basic formula: bitrate × length

Video uses a certain amount of data per second, called the bitrate, usually in Mbps (megabits per second). Since 1 byte is 8 bits:

Size (MB) ≈ bitrate (Mbps) × length (seconds) ÷ 8

I made the same 30 seconds at 720p, setting only the bitrate (no sound).

Bitrate Calculated Actual
1 Mbps 3.75 MB 3.63 MB
2 Mbps 7.50 MB 7.27 MB
4 Mbps 15.00 MB 14.46 MB

They match within 3%. The bitrate is treated as a ceiling, so results come out a little smaller.

The formula also explains why phone videos are so large. A 3 min 26 sec 4K video from an iPhone was over 1 GB, which works out to about 40 Mbps, more than ten times the example above.

Sound is smaller than you might think: 30 seconds of common AAC at 128 kbps was 0.49 MB. To shrink a file, shrink the picture.

Length: longer means bigger

Length Size (720p)
10 sec 1.80 MB
20 sec 3.74 MB
30 sec 5.48 MB

Size is almost directly proportional to length. Cutting off what you don’t need is the surest way to shrink a file without touching quality.

Resolution: big savings, though less than the area suggests

Holding quality the same (H.264, CRF 23), I changed only the resolution, using the same 30 seconds.

Resolution Size
1080p 10.53 MB
720p 5.49 MB
480p 2.99 MB

Going from 1080p to 720p keeps 44% of the pixels but 52% of the file size. A smaller frame still has to carry edges and motion. Even so, each step down roughly halves the size, which makes it the most effective way to shrink.

What’s in the scene: a 3× difference at the same settings

With identical settings (720p, CRF 23), I cut 10-second pieces from different parts of the movie. The smallest was 0.77 MB and the largest 2.39 MB.

Two Big Buck Bunny scenes: a slow pan through a forest full of grass and leaves, and a rabbit moving against a still sky Top: 10 seconds from 0:30, 2.39 MB. Bottom: 10 seconds from 1:30, 0.77 MB. Sample video: Big Buck Bunny © Blender Foundation (CC BY 3.0)

Video doesn’t store a whole picture for every frame, only what changed since the last one. In the first scene the camera moves and every blade of grass changes; in the second, the sky and tree stay put and only the rabbit moves.

So tripod shots are small, while walking shots and fine motion like leaves, water, snow or fireworks are large. Grainy low-light video grows too, because the noise changes every frame.

Codec: the same quality in less space

The compression method matters too. Encoding the same 30 seconds of 1080p with each codec’s default settings, HEVC came out at less than half the size of H.264 (when matched for quality, the gap was a little over 20%).

Working back from a size limit

Flip the formula to find the bitrate for a target size.

Bitrate (Mbps) ≈ target size (MB) × 8 ÷ length (seconds)

To fit a one-minute video into a 25 MB email attachment: 25 × 8 ÷ 60 ≈ 3.3 Mbps. Set aside 0.13 Mbps for sound plus some margin, and that leaves about 3 Mbps for the picture, plenty for 720p going by the table above.

For Discord’s 20 MB limit, the same minute gets about 2.7 Mbps, or roughly 2.4 Mbps for the picture. The resolution table above works out to about 1.5 Mbps for 720p and 2.8 Mbps for 1080p, so 720p fits comfortably and 1080p is a bit over.

What to shrink first

  1. Length: keep only what you need. No quality lost.
  2. Resolution: for phone viewing, 720p is enough, and each step roughly halves the size.
  3. Bitrate: if you have a target size, use the formula above.

Choose Target in Compress Video and it does this math for you: it sets the bitrate from the length and warns you if the target is so small that the picture would fall apart. Your video is never uploaded.

Compress Video level choices with the estimated size and output resolution You see the estimated size and output resolution as soon as you choose. Sample video: Big Buck Bunny © Blender Foundation (CC BY 3.0)

For step-by-step use, see how to compress a video to a target size.

See all guides →