Bitrate is how much data a video uses for each second of playback, usually given in megabits per second (Mbps). More bits let more detail survive compression, and they also make the file bigger: file size is simply bitrate multiplied by length. For high-quality 1080p at 30 fps, about 8 Mbps is a good reference point, which works out at 60 MB a minute.
The sum that gives you file size
Bitrates are counted in bits and file sizes in bytes, and 8 bits make a byte. So:
size in MB = total bitrate in Mbps × length in seconds ÷ 8
"Total" means video plus sound. A 10-minute video with 8 Mbps video and 128 kbps sound (0.128 Mbps) comes to:
(8 + 0.128) × 600 ÷ 8 = 609.6 MB
The sound is only about 10 MB of that, which is why the video bitrate is the number that matters.
For a quick estimate, remember that 1 Mbps is 7.5 MB a minute:
| Total bitrate | 1 minute | 10 minutes | 1 hour |
|---|---|---|---|
| 2 Mbps | 15 MB | 150 MB | 900 MB |
| 5 Mbps | 37.5 MB | 375 MB | 2.25 GB |
| 8 Mbps | 60 MB | 600 MB | 3.6 GB |
| 12 Mbps | 90 MB | 900 MB | 5.4 GB |
| 20 Mbps | 150 MB | 1.5 GB | 9 GB |
| 45 Mbps | 338 MB | 3.4 GB | 20 GB |
It works in reverse too. Multiply MB per minute by 8 and divide by 60 to get Mbps. If your iPhone's Settings › Camera › Record Video screen says a format uses 60 MB a minute, that's 8 Mbps.
Real files come out a little different. Containers add a small overhead, a variable bitrate only averages out to the target, and Windows counts 1 MB as 1,048,576 bytes rather than a million, so it shows a slightly smaller number.
How much bitrate is enough?
There's no single right answer, but YouTube's recommended upload bitrates are a useful yardstick. These are its figures for standard (SDR) video at the time of writing:
| Resolution | 24, 25 or 30 fps | 48, 50 or 60 fps |
|---|---|---|
| 480p | 2.5 Mbps | 4 Mbps |
| 720p | 5 Mbps | 7.5 Mbps |
| 1080p | 8 Mbps | 12 Mbps |
| 1440p | 16 Mbps | 24 Mbps |
| 4K (2160p) | 35 to 45 Mbps | 53 to 68 Mbps |
YouTube offers these as a reference, not a limit. They're for files it will compress again, so a copy going straight to viewers can usually use less.
What changes the number
- Frame rate. More frames need more bits, though not twice as many: YouTube's 60 fps figures are about 1.5 times its 30 fps ones.
- Motion and detail. Confetti, water, leaves and fast camera moves all need far more bits than someone talking against a plain wall.
- Noise. Grainy low-light footage is expensive, because the encoder treats the grain as detail worth keeping.
- Codec. HEVC and AV1 reach the same quality at lower bitrates than H.264, so a figure only means something for a given codec. H.264 vs H.265 vs AV1 compares them.
- Encoder. Slower software encoder settings squeeze out more quality per bit, and fast hardware encoders usually need a bit more.
When the bitrate is too low, you'll see blocks in dark areas and during fast motion, fine detail smeared away, and visible bands in skies.
Three ways to spend the bits
| Mode | What you choose | File size | Best for |
|---|---|---|---|
| Constant bitrate (CBR) | One rate, held every second | Predictable | Live streaming |
| Variable bitrate (VBR) | An average rate | Predictable | Hitting a size or bandwidth target |
| Constant quality (CRF, RF) | A quality level | Unpredictable | Almost any file you're saving |
Constant bitrate gives every second the same data, needed or not. Quiet scenes waste bits and busy ones run short. Its advantage is steadiness, which suits live streaming over a connection with a fixed capacity.
Variable bitrate moves bits from easy scenes to hard ones while keeping the average. Two-pass encoding does this best: the first pass studies the whole video, and the second spends the bits. YouTube recommends variable bitrate for uploads.
Constant quality turns the question around. You pick how good it should look, and the encoder uses whatever bitrate each scene needs. HandBrake's documentation strongly recommends it unless you need a particular file size.
CRF and RF in practice
CRF (Constant Rate Factor) is the constant quality setting in the x264 and x265 encoders. HandBrake calls the same number RF.
- Lower means better quality and a bigger file. The scale runs from 0 to 51.
- x264's default is 23. FFmpeg's H.264 guide treats 17 or 18 as close to visually lossless.
- Each step of 6 roughly doubles or halves the file size.
- x265's default is 28, which is meant to look about the same as x264 at 23.
With FFmpeg:
ffmpeg -i input.mp4 -c:v libx264 -crf 20 -preset medium -c:a aac -b:a 128k output.mp4
In HandBrake, the slider is on the Video tab, with Constant Quality selected. Its quality guide suggests these ranges for x264 and x265: RF 19 to 23 for 720p, 20 to 24 for 1080p, and 22 to 28 for 4K.
Since you can't predict the size of a constant quality encode, try a sample first. This encodes 30 seconds, starting one minute in:
ffmpeg -ss 60 -t 30 -i input.mp4 -c:v libx264 -crf 20 -preset medium -c:a aac -b:a 128k test.mp4
Choose a busy section, because it needs the most bits. Then check how it looks, and scale up: if a 30-second sample is 40 MB, a 10-minute video will be at most about 800 MB, and probably less.
Hitting a particular file size
When you have a hard limit, work the sum backwards. To fit a 3-minute video under 25 MB:
- 25 MB × 8 = 200 megabits to spend.
- 200 ÷ 180 seconds = 1.11 Mbps in total.
- Take off 96 kbps for the sound, which leaves about 1 Mbps for the video.
At that rate, 720p will look better than a starved 1080p. Then use two passes:
ffmpeg -y -i input.mp4 -c:v libx264 -b:v 1000k -preset medium -pass 1 -an -f null /dev/null
ffmpeg -i input.mp4 -c:v libx264 -b:v 1000k -preset medium -pass 2 -c:a aac -b:a 96k output.mp4
On Windows, replace /dev/null with NUL. FFmpeg leaves small log files starting ffmpeg2pass, which you can delete afterwards.
In HandBrake, select the average bitrate option on the Video tab instead of Constant Quality, type the rate in kbps, and tick the multi-pass option. How to make a video file smaller covers the other ways to shrink a file, including lowering the resolution.
How to check a video's bitrate
- Windows: right-click the file, choose Properties, then the Details tab. Look for Data rate and Total bitrate.
- Mac: open the file in QuickTime Player and choose Window › Show Movie Inspector.
- MediaInfo (free, any computer): it lists Overall bit rate, and a Bit rate for each track.
- ffprobe: run
ffprobe -hide_banner input.mp4. The total is on theDurationline, and each track's rate is on itsStreamline.
Mistakes to avoid
Raising the bitrate of a compressed file. Detail lost in an earlier encode doesn't come back. A 2 Mbps clip re-encoded at 20 Mbps is just a much bigger copy of the same picture, so always encode from the best original you have.
Comparing bitrates across resolutions. 5 Mbps can look fine at 1080p and blocky at 4K, because the same bits are spread over four times as many pixels. For a low target, a lower resolution often looks better. Video resolution explained has more on that trade-off.
Copying someone else's numbers without checking the footage. A bitrate that suits a talking head can fall apart on a football match. Test a busy section of your own video.
Expecting every tool to have a bitrate control. ClipMerge, for example, encodes merged videos at a high quality setting and doesn't offer a choice. If you need a particular size, merge first, then run the result through HandBrake or FFmpeg using the sum above. For uploads, the best video format for YouTube covers the other settings that matter.