Video file size explained: bitrate, resolution, frame rate and codecs

Learn what really determines how large a video file becomes, and how to estimate it before you export.

Two videos with the same length and the same resolution can differ in size by a factor of ten. The reason is that resolution and duration do not determine file size on their own. To plan storage, uploads or a delivery limit, you need to understand the one number that does: bitrate.

The basic formula

File size is approximately bitrate multiplied by duration. Bitrate is the amount of data used per second, usually written in megabits per second (Mbps). Remember that bits and bytes differ: one byte holds eight bits.

For a video with a total bitrate of 8 Mbps lasting 10 minutes:

  • 10 minutes is 600 seconds.
  • 8 Mbps × 600 seconds = 4800 megabits.
  • 4800 ÷ 8 = 600 megabytes.

Audio counts too. A stereo soundtrack at 192 kbps adds about 14 MB for those ten minutes. Container overhead adds a small amount more, so the real size is usually slightly above the calculated value.

Working backwards from a limit

The same formula tells you what bitrate fits a required maximum size. Suppose a platform allows 100 MB and your clip is 2 minutes long.

  • 100 MB × 8 = 800 megabits available.
  • 800 megabits ÷ 120 seconds = about 6.6 Mbps in total.
  • Subtract about 0.13 Mbps for the audio and keep a little safety margin, and you are left with roughly 6 Mbps of video.

Treat the result as an upper limit. Encoders do not always hit a target exactly, particularly over short durations.

What resolution changes

Resolution is the number of pixels in each frame. 1080p has about 2 million pixels per frame, and 4K has about 8 million. More pixels need more data to look equally good, but the relationship is not strictly proportional: larger frames tend to contain more redundant areas that compression can exploit. So 4K usually needs more than 1080p, without always needing four times as much.

A higher resolution with a low bitrate frequently looks worse than a lower resolution with a healthy bitrate. If the bitrate must stay small, reducing the resolution often gives a cleaner picture than keeping it high and letting the encoder smear the details.

Frame rate and motion

Frame rate is how many images are shown per second. Films typically use 24, broadcast formats often 25 or 30, and games or sports 50 or 60. Doubling the frame rate does not quite double the file, because adjacent frames are similar, but it does need significantly more data at the same quality.

Content matters even more than frame rate. A talking head against a still background compresses very well. Confetti, rain, water and handheld camera movement are all difficult, since most of the picture changes constantly. That is why an action scene and an interview at the same setting look so different in quality.

Codecs and containers

A codec is the method used to compress the video: H.264, H.265/HEVC, VP9 and AV1 are the usual names. Newer codecs can reach a similar quality at a lower bitrate, at the cost of more processing power to encode, and sometimes lower compatibility with older devices. H.264 is still the safe choice when maximum compatibility matters.

A container is the file that holds the streams, such as MP4, MKV or MOV. The extension tells you the container, not the codec. Two .mp4 files can use different codecs, which explains why one plays on your television and the other does not. Checking a file's metadata reveals which codec, bitrate and frame rate it really uses.

Constant and variable bitrate

Constant bitrate spends about the same amount of data each second, which suits some live streaming setups. Variable bitrate gives more data to complex scenes and less to simple ones, so it generally yields better quality for the same average size. For recorded video that people will download or watch later, variable bitrate is the usual choice.

Practical reference points

Each platform and each kind of content is different, so use the following only as rough starting points for H.264 video:

  • 720p at 30 frames per second: about 3-5 Mbps.
  • 1080p at 30 frames per second: about 6-10 Mbps.
  • 1080p at 60 frames per second: about 9-14 Mbps.
  • 4K at 30 frames per second: about 30-50 Mbps.

Screen recordings with little movement can often go much lower, while fast action may need the top of the range or more. Check your destination platform's current recommendations, since sites re-encode uploads and publish their own preferred settings.

Do not re-encode without a reason

Every lossy re-encode loses some quality. If a file already plays correctly on the target device, keep it. When you do need a new version, start from the highest quality source you still have, and test a short section first, since this saves hours compared with exporting a whole film and discovering a problem at the end.

Tools mentioned in this guide