Skip to content

Technology

Video Bitrate Calculator: Balancing Size, Bitrate and Length

Master the one equation linking video file size, bitrate, and duration. Learn to solve for any of the three and pick export settings that hit your target size.

OurDailyCalc Team 11 min read

Try it now

Video Bitrate Calculator

Calculate video bitrate, file size, or duration for any recording.

Video Bitrate Calculator: Balancing Size, Bitrate and Length

Editors, streamers, and anyone who has ever hit an upload limit eventually run into the same three-way tug-of-war: file size, bitrate, and duration. Raise the bitrate for better quality and the file balloons. Trim the length and the size shrinks. These three quantities are locked together by a single equation, and once you understand it, choosing export settings stops being guesswork. A video bitrate calculator lets you fix any two of the values and instantly solve for the third.

What Is Bitrate?

Bitrate is the amount of data used to represent one second of video, usually measured in megabits per second (Mbps) or kilobits per second (kbps). It is the master dial for quality: a higher bitrate preserves more detail, handles fast motion more cleanly, and reduces compression artifacts — at the cost of a larger file.

Two related terms are worth knowing:

  • Constant bitrate (CBR) holds the data rate steady throughout the video.
  • Variable bitrate (VBR) lets the rate rise during complex scenes and fall during simple ones.

This calculator works with average bitrate, which is exactly what matters when you’re predicting or targeting a file size, since the average is what multiplies out to the total data.

The One Equation Behind Everything

All three quantities are connected by a single relationship:

fileSize_bits = bitrate_bps × duration_seconds
fileSize_bytes = fileSize_bits ÷ 8

Because it’s one equation with three variables, knowing any two lets you solve for the third. Rearranging gives:

  • File size = bitrate × duration
  • Bitrate = size in bits ÷ duration
  • Duration = size in bits ÷ bitrate

The only discipline required is unit conversion. Bitrate in Mbps must become bits per second (× 1,000,000); kbps becomes bits per second (× 1,000). File size in MB becomes bytes (× 1,000,000) then bits (× 8); GB becomes bytes (× 1,000,000,000) then bits. Duration in minutes and seconds becomes total seconds (minutes × 60 + seconds).

Worked Example 1: Solving for File Size

You’re exporting a 60-second clip at 10 Mbps and want to know how big it will be.

  1. Bitrate to bits/s: 10 Mbps = 10,000,000 bits/s.
  2. Multiply by duration: 10,000,000 × 60 = 600,000,000 bits.
  3. Convert to bytes: 600,000,000 ÷ 8 = 75,000,000 bytes = 75 MB.

Worked Example 2: Solving for Bitrate

Now suppose you need a 30-minute video to fit in 1.5 GB. What average bitrate should you target?

  1. Size to bits: 1.5 × 1,000,000,000 = 1,500,000,000 bytes × 8 = 12,000,000,000 bits.
  2. Duration to seconds: 30 × 60 = 1,800 seconds.
  3. Divide: 12,000,000,000 ÷ 1,800 ≈ 6,666,667 bits/s = 6.67 Mbps.

Worked Example 3: Solving for Duration

Finally, how long can a video run at 4 Mbps before it reaches 700 MB?

  1. Size to bits: 700 × 1,000,000 = 700,000,000 bytes × 8 = 5,600,000,000 bits.
  2. Bitrate to bits/s: 4 Mbps = 4,000,000 bits/s.
  3. Divide: 5,600,000,000 ÷ 4,000,000 = 1,400 seconds = 23 minutes 20 seconds (0:23:20).

Three different questions, one equation, three clean answers.

How to Use the Video Bitrate Calculator

The tool mirrors the equation exactly:

  1. Choose what to solve for — File Size, Bitrate, or Duration — from the dropdown. The field for that value disappears, since it’s the unknown.
  2. Enter the two known values in the remaining fields, picking the appropriate units (MB or GB for size, Mbps or kbps for bitrate, minutes and seconds for duration).
  3. The calculator converts everything to a common base, applies the formula, and displays the solved value as the primary result.
  4. Read the secondary line for the same answer in an alternate unit — for instance, a file size shown in both GB and MB, or a duration shown in h:m:s and total seconds.

Results recalculate as you type, so you can nudge one input and watch the answer move.

Tips for Choosing a Bitrate

  • Start from your constraint. If you have a hard upload cap, solve for bitrate from your target size and duration, then export at or just under that value.
  • Match resolution to bitrate. As a rough guide, 1080p30 looks good around 8 Mbps, while 4K needs far more — 35–45 Mbps is common. Higher motion demands higher bitrate.
  • Leave headroom for audio. The core formula covers the video stream; if you’re targeting a strict total size, subtract the audio bitrate (often 128–320 kbps) before solving.
  • Prefer VBR for archives, CBR for streaming. VBR spends bits where they matter, while CBR keeps a predictable rate for live delivery — but the average still obeys the same equation.

Common Use Cases

  • Hitting upload limits: Find the highest bitrate that keeps a video under a platform’s size ceiling.
  • Estimating storage: Predict how much disk a batch of exports will consume before rendering.
  • Reverse-engineering a file: Divide an existing file’s size by its length to learn its average bitrate.
  • Streaming planning: Check that a target bitrate fits within a viewer’s available bandwidth.

Conclusion

The relationship between file size, bitrate, and duration isn’t complicated — it’s a single multiplication, plus a division by eight to move between bits and bytes. Once you internalize that, you can predict a file’s size before you render it, dial in a bitrate to hit any target, or work out exactly how long a clip can run within a size budget. Fix any two values, and the third falls out of the equation.

Try our free Video Bitrate Calculator for instant results.

#video #bitrate #encoding #file-size
DC

OurDailyCalc Team

OurDailyCalc — beautiful tools for everyday calculations.