ThisCalculator

Everyday

Bitrate Calculator for HandBrake: How to Use It

Updated · Standard formula, shown below

Video bitrate 1,465 kbps
Total bitrate
1,593 kbps
Result
Estimated file size
700.00 MB
Result
Video duration
60 minutes
You entered

This page explains how to calculate the right bitrate for HandBrake video encoding. You enter your target file size, video duration, and audio bitrate, and the calculator returns the video bitrate you should set in HandBrake’s encoder settings. It also shows the total bitrate and estimated file size for your chosen settings.

Formula

The core formula for video bitrate is:

Video bitrate (kbps) = (File size in MB × 8192) / (Duration in seconds) − Audio bitrate (kbps)

Where:

  • File size is your target size in megabytes (MB). The factor 8192 converts MB to kilobits (1 MB = 8192 kbit).
  • Duration is the total video length in seconds (minutes × 60).
  • Audio bitrate is the bitrate of the audio track you plan to use (e.g., 128 kbps for AAC).

The result is the video bitrate in kilobits per second (kbps) that you should enter in HandBrake’s encoder settings. If you want a constant quality encode (CRF), this bitrate is only a reference—HandBrake will adjust the actual bitrate based on the content.

Worked Example

Using the defaults from the calculator above: a 60-minute video, a target file size of 700 MB, and an audio bitrate of 128 kbps.

  1. Convert duration to seconds: 60 minutes × 60 = 3600 seconds.
  2. Convert file size to kilobits: 700 MB × 8192 = 5,734,400 kbit.
  3. Divide by duration: 5,734,400 / 3600 = 1592.89 kbps (total bitrate).
  4. Subtract audio bitrate: 1592.89 − 128 = 1464.89 kbps, rounded to 1465 kbps.

The calculator shows 1465 kbps for the video bitrate, matching this manual calculation.

Why Bitrate Matters in HandBrake

Bitrate directly controls the trade-off between file size and video quality. A higher bitrate preserves more detail and reduces compression artifacts, but produces larger files. A lower bitrate saves space but can introduce blockiness, blurring, or banding, especially in fast-moving scenes or areas with fine detail.

HandBrake offers two main encoding modes:

  • Constant Quality (CRF) – You set a quality value (e.g., 18–23 for x264). HandBrake adjusts the bitrate automatically to maintain that quality. Use this when file size is flexible.
  • Average Bitrate (ABR) – You set a target bitrate. HandBrake tries to stay near it, but the actual bitrate varies across scenes. Use this when you need a specific file size, such as for uploading or burning to disc.

For a fixed file size, you must use ABR or a two-pass encode. Two-pass encoding analyzes the video first, then allocates bits more efficiently, giving better quality at the same bitrate than a single pass.

How to Choose the Right Bitrate

There is no single “correct” bitrate—it depends on resolution, frame rate, codec, and content type. Here are general guidelines for H.264 (x264) at 30 fps:

  • 1080p – 4000–8000 kbps for typical content; 8000+ for action or high-detail.
  • 720p – 2500–5000 kbps.
  • 480p (DVD) – 1500–3000 kbps.
  • Screen recordings – 1000–3000 kbps, depending on motion.

For H.265 (HEVC), you can often use 50–60% of the H.264 bitrate for similar quality. For example, a 1080p H.265 video might need only 2000–4000 kbps.

If you are targeting a specific file size (e.g., a 700 MB CD-R or a 4.7 GB DVD), use the calculator to find the bitrate. For streaming, consider the upload speed and viewer bandwidth—a 6 Mbps stream is common for 1080p, but 4K often requires 15–35 Mbps.

Common Mistakes and How to Avoid Them

  • Forgetting audio bitrate – The video bitrate is the total bitrate minus audio. If you set the total bitrate as the video bitrate, your file will be larger than intended.
  • Mixing units – File size is usually in MB, but bitrate is in kbps. Always convert: 1 MB = 8192 kbit (not 8000).
  • Using minutes instead of seconds – The formula requires duration in seconds. Multiply minutes by 60.
  • Ignoring container overhead – The calculator gives a theoretical size. Real files can be slightly larger due to container metadata, chapter markers, and audio gaps. Add 1–2% margin to your target size.
  • Assuming constant bitrate – ABR gives an average, not a fixed bitrate. Scenes with high motion will spike above the average, while static scenes drop below. Two-pass encoding helps keep the average close to the target.

Limitations of Bitrate Calculation

The bitrate formula assumes a constant bitrate across the whole video. In practice, video complexity varies. A 60-minute talking head at 1500 kbps will look much better than a 60-minute action movie at the same bitrate. The calculator gives a starting point, but you may need to adjust based on the source content.

Also, the formula does not account for the video codec’s efficiency. H.265 and AV1 achieve better quality at lower bitrates than H.264. If you switch codecs, recalculate with the appropriate bitrate range.

Finally, the calculator assumes a single audio track. If your video has multiple audio tracks (e.g., commentary), include the sum of their bitrates in the audio field.

Frequently Asked Questions

What is the difference between CRF and ABR in HandBrake?

CRF (Constant Rate Factor) sets a quality target, and HandBrake adjusts the bitrate to achieve it. ABR (Average Bitrate) sets a bitrate target, and HandBrake adjusts the quality to match it. Use CRF when file size is flexible; use ABR when you need a specific size.

How do I find the current bitrate of a video?

You can use MediaInfo (a free tool) or handbrake’s activity log. In HandBrake, load the source and look at the “Summary” tab—it shows the video bitrate of the source file. For the encoded file, right-click the file in your file manager and check properties, or use MediaInfo.

Is a higher bitrate always better?

No. Beyond a certain point, higher bitrates do not improve visible quality—they just waste space. The “transparency” point varies by codec and resolution. For example, a 1080p H.264 video at 20 Mbps is usually visually identical to one at 10 Mbps for most content. Use the lowest bitrate that still looks good to you.

Can I use this calculator for H.265 or AV1?

Yes, the formula is codec-agnostic. However, the bitrate you need will be different. H.265 typically needs 50–60% of H.264’s bitrate, and AV1 can be even more efficient. The calculator tells you the bitrate for a given size, but you may need to adjust the target size if the quality is not acceptable.

Why does my encoded file size not match the target?

HandBrake’s ABR mode is not exact. The actual size depends on the video’s complexity and the encoder’s rate control. Two-pass encoding gives a closer match. Also, container overhead (e.g., MP4 metadata) adds a small amount. If the difference is more than 5%, check your audio bitrate and make sure you entered the duration correctly.

What bitrate should I use for uploading to YouTube?

YouTube recommends high bitrates to avoid re-compression artifacts. For 1080p H.264, use 8–12 Mbps; for 4K, 35–45 Mbps. These are higher than typical viewing bitrates because YouTube will re-encode your video, and a higher source bitrate preserves quality through that process.

Related

Formula used
in t | Video duration | minutes | 60 | 1
in s | Target file size | MB | 700 | 10
in a | Audio bitrate | kbps | 128 | 32
out v | Video bitrate | kbps | (s * 8192 / (t * 60)) - a | 0
out total | Total bitrate | kbps | v + a | 0
out size | Estimated file size | MB | (v + a) * t * 60 / 8192 | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.