Technology

Bitrate, Resolution, and File Size: How Video Compression Really Works

A clear explanation of the numbers that decide how big a video is and how good it looks: bitrate, resolution, frame rate, and codec.

By Published March 22, 2025Updated October 2, 2026 9 min read

If video compression feels like a black box, it is usually because three ideas get mixed together: resolution, frame rate, and bitrate. Once you know what each one means and how they interact, choosing settings stops being guesswork. This guide explains all three, then shows how the codec ties them together.

Resolution: pixels per frame

Resolution is the number of pixels in each frame, written as width by height. 1920x1080 (1080p) is just over two million pixels. 4K (3840x2160) is four times that. More pixels means more potential detail, but detail only helps up to what the screen can show. On a phone held at arm's length, 4K and 1080p look almost identical.

Frame rate: frames per second

Frame rate (fps) is how many images play each second. 24 fps is the film standard, 30 fps is typical for phone video, and 60 fps adds smoothness for sports and games. Neighboring frames are very similar, and codecs store mostly the differences between them, so doubling the frame rate does not double the size. It does raise the bitrate you need for the same quality, usually by 30 to 60%.

Bitrate: the dial that sets file size

Bitrate is how much data the video uses per second, usually in megabits per second (Mbps). File size is simply bitrate times duration. A 10 Mbps video that runs 60 seconds is 600 megabits, which is 75 megabytes, whatever its resolution. That is the key idea: bitrate, not resolution, fills the file.

size in MB  =  (video Mbps + audio Mbps) x seconds / 8

example: (4 + 0.128) x 90 / 8  =  about 46 MB

Our video size calculator does this math both ways: from bitrate to size, and from a size limit back to the bitrate you can afford. The full derivation is in how to calculate video file size.

Resolution and frame rate decide how much detail and motion there is to describe. Bitrate decides how much of it you can afford to keep.

How they work together

Think of bitrate as a budget and resolution plus frame rate as the bills. 4K at 60 fps has a lot to describe and needs a big budget to look clean. Starve it and it falls apart into blocks. 720p at 30 fps has far less to describe and looks clean on a small budget. This is also why lowering resolution can improve quality at a fixed file size: the same bits get spread over fewer pixels.

ContentResolution / fpsTypical H.264 bitrateTypical H.265 bitrate
Screen recording, slides1080p / 302 to 4 Mbps1 to 2.5 Mbps
Talking head, vlog1080p / 305 to 8 Mbps3 to 5 Mbps
Sports, gaming1080p / 6010 to 15 Mbps6 to 10 Mbps
Detailed 4K2160p / 3035 to 50 Mbps20 to 30 Mbps

These are starting points for good quality, not rules. Grainy, dark, or shaky footage needs more. Clean, static footage needs less.

Constant, average, and quality-based bitrate

Encoders can spend the budget in different ways. Constant bitrate (CBR) uses the same rate all the time, which wastes data on simple scenes. Average bitrate (ABR) aims for a target average but lets complex frames take more and simple ones less, which keeps the final size predictable. Constant quality modes (CRF in x264 and x265) aim for steady quality and let the size land wherever it lands.

BoltCompress uses an average bitrate target set as a share of your original video's bitrate. The upside is that you know roughly how big the result will be before you start. The CRF vs bitrate guide explains when each approach is the better choice.

Why the codec changes the math

The codec turns pixels into data. A more efficient codec reaches the same quality at a lower bitrate. That is why moving from H.264 to H.265 often shrinks a file more than any other single change: you keep every pixel and frame, but spend fewer bits describing them. See H.264 vs H.265.

Putting it into practice

  1. Choose a resolution that matches the largest screen the video will realistically be watched on.
  2. Use 30 fps unless smooth fast motion matters.
  3. Pick an efficient codec (H.265) when the destination supports it.
  4. Set the bitrate from your size limit, or let a constant quality mode choose it when size does not matter.

Summary

Every video file is resolution, frame rate, and bitrate, tied together by a codec. Resolution and frame rate set how much there is to describe. Bitrate sets how large the file is and how much detail survives. Once that clicks, you know which dial to turn for any size limit.

Quick answers

How do you calculate video file size?

File size in megabytes is roughly total bitrate in megabits per second, times duration in seconds, divided by 8. A 10 Mbps video lasting 60 seconds is about 75 MB.

Does higher resolution mean a bigger file?

Only indirectly. File size is set by bitrate. Higher resolution needs more bitrate to look clean, which is why 4K files tend to be larger.

Try it on your own video

Upload a video, see the estimated size for each level, and download a smaller file. Free, no install.

Open the compressor