Skip to content

Guide · Updated

How to compress video: bitrate, file size and quality

A video's file size is its bitrate multiplied by its length, so to hit a size limit you divide the size by the duration to get the bitrate you can afford. To fit 60 seconds into 25 MB, the whole file can average about 3,333 kbps; after 128 kbps of audio and a small safety margin, roughly 3,000 kbps is left for the picture.

How video file size works

Bitrate is how many bits the file uses per second of playback. Multiply it by the length and you have the size. With 1 MB counted as 1,000,000 bytes (8,000 kilobits), the formula is: size in MB = total bitrate in kbps × seconds ÷ 8,000. Total bitrate means video plus audio.

Example: a 10-minute 1080p upload at YouTube's recommended 8 Mbps video and 384 kbps stereo audio is (8,000 + 384) × 600 ÷ 8,000 ≈ 629 MB. The same 10 minutes at 1,280 kbps in total would be 96 MB.

Some services count a megabyte as 1,048,576 bytes and containers add a little overhead, so aim slightly under any limit. Gmail, for example, caps attachments at 25 MB for personal accounts and turns anything larger into a Google Drive link. Recast's Fit a size limit tool budgets 96% of the target for exactly this reason, and the table below uses the same 4% margin.

Worked example: 60 seconds into 25 MB

Step 1, total budget: 25 MB × 8,000 = 200,000 kilobits. Divided over 60 seconds that is 3,333 kbps.

Step 2, safety margin: 3,333 × 0.96 = 3,200 kbps.

Step 3, audio: keep 128 kbps for stereo sound, leaving 3,200 − 128 = 3,072 kbps (about 3.1 Mbps) for the video. Audio takes 4% of the budget here.

Is 3.1 Mbps enough? Google's VP9 guide targets 1,800 kbps for 1080p at 24–30 fps, and YouTube asks for 8 Mbps of H.264 for 1080p uploads. So 3.1 Mbps is comfortable for 1080p in HEVC or AV1, and fine for 720p in H.264; for 1080p in H.264 it will look softer than a YouTube upload in busy scenes.

Target size to maximum video bitrate

Each cell is the video bitrate that fits, computed as size × 8,000 × 0.96 ÷ seconds − 128 kbps for audio. A dash means less than about 100 kbps would be left for the picture, which is too little to be watchable; trim the video, use a bigger limit or drop the audio to mono at a lower bitrate.

Target size30 s1 min3 min10 min
8 MB1,920896213—
10 MB2,4321,152298—
25 MB6,2723,072938192
50 MB12,6726,2722,005512
100 MB25,47212,6724,1381,152
500 MB127,87263,87221,2056,272
Maximum video bitrate (kbps) with 128 kbps audio and a 4% margin

Quality (CRF) or target size?

There are two ways to tell an encoder what you want. A quality setting (called CRF in x264, libvpx and SVT-AV1) keeps the look constant and lets the size float: a talking head comes out small, fast sport comes out large. In libvpx a lower CRF means higher quality; Google's VP9 guide uses CRF 31 for 1080p and 32 for 720p. A target bitrate does the opposite: the size is predictable and the quality varies with how hard the content is.

Use a quality setting for archiving and everyday compression, and a target bitrate only when there is a hard size limit. In Recast, Compress video works by quality (Smaller with HEVC, Smallest with AV1, Plays everywhere with H.264), keeps the original resolution and frame rate, and shows an estimated size before you start. Fit a size limit works by bitrate: it uses the formula above, lowers the picture size when the budget is too tight to stay sharp, checks the finished file and re-encodes once if it overshoots.

Audio's share of the file

Audio is usually a small part of a video file, but it is a fixed cost, so it matters more as the budget shrinks. At 25 MB for one minute, 128 kbps of audio is 4% of the 3,200 kbps budget. At 8 MB for one minute (1,024 kbps after the margin) the same audio is 12.5%.

YouTube recommends 128 kbps for mono, 384 kbps for stereo and 512 kbps for 5.1 uploads. For sharing, 128 kbps stereo AAC or Opus is a common choice, and mono speech can go lower when every kilobit counts.

Ways to make a video smaller, in order of how little they cost

Work down this list and stop when the file is small enough.

  • Trim what you do not need: halving the length halves the size at the same bitrate.
  • Switch codec: HEVC needs up to half the bitrate of H.264 for the same quality (ITU), and AV1 less again.
  • Lower the frame rate if the source is 60 fps and motion is not the point.
  • Lower the resolution: 720p has 44% of the pixels of 1080p (921,600 ÷ 2,073,600).
  • Lower the audio bitrate or switch speech to mono.
  • Only then lower the quality setting, which is where blockiness starts.

Do it with Recast

These tools run on your computer, so nothing is uploaded.

Frequently asked questions

What bitrate fits a 1-minute video into 10 MB?

10 × 8,000 ÷ 60 = 1,333 kbps in total. With a 4% margin and 128 kbps audio, about 1,150 kbps is left for the video, which suits 720p in HEVC or AV1, or a smaller picture in H.264.

How do I calculate video file size?

Multiply the total bitrate in kbps by the length in seconds and divide by 8,000 to get MB. For example, 5,000 kbps for 120 seconds is 5,000 × 120 ÷ 8,000 = 75 MB.

Does compressing a video reduce its quality?

Re-encoding always discards some information, but switching to a more efficient codec at a sensible quality setting is usually hard to see. Quality drops noticeably when the bitrate is pushed far below what the resolution needs.

Should I lower the resolution or the bitrate?

When a size limit is tight, lower the resolution: a sharp 720p picture looks better than a blocky 1080p one at the same bitrate. Recast's Fit a size limit does this automatically.

Sources

Checked on 2 Dec 2026. Platforms change their limits; their own pages are the final word.

More guides

Try every tool free for 3 days

Every tool is in every plan. Cancel before the 3 days are up and you pay nothing.