Video Bitrate Calculator
Hitting an Exact File Size Target When Exporting Video
Upload limits are a fact of life — a platform caps you at 8MB, 25MB, or some other ceiling, and the export bitrate has to be dialed in precisely enough to land under it without wasting quality on unnecessary headroom. Working that bitrate out by trial and error means repeated re-encodes; this calculator computes it directly from the target file size and duration, then subtracts out the audio track's share.
The Formula
The total available bitrate comes from spreading the target size evenly across the video's duration, then the audio portion is removed:
Video Bitrate (kbps) = Total Bitrate − Audio Bitrate
The 8192 factor converts megabytes to kilobits (1 MB = 1024 KB = 1024 × 8 kb = 8192 kb), so the result comes out directly in kbps once divided by duration in seconds.
Where This Calculation Matters
- Platform upload limits — hitting a hard cap like Discord's free-tier attachment limit or an email attachment size ceiling without over-compressing.
- Disc and physical media authoring — fitting a video onto a fixed-capacity format by working backward from the available space to a bitrate.
- Streaming and CDN cost control — capping average bitrate to manage bandwidth costs while still meeting a target file size per minute of content.
- Batch encoding consistency — computing a per-video bitrate so multiple clips of different lengths land at a similar predictable file size.
Bitrate Needed by Target Size and Duration
| Target Size | Duration | Total Bitrate | Video Bitrate |
|---|---|---|---|
| 8 MB | 1 min | 1,092.27 kbps | 964.27 kbps |
| 25 MB | 3 min | 1,137.78 kbps | 1,009.78 kbps |
| 100 MB | 10 min | 1,365.33 kbps | 1,237.33 kbps |
| 500 MB | 10 min | 6,826.67 kbps | 6,698.67 kbps |
If the audio bitrate exceeds the total available bitrate for a very small target size or short duration, there's no room left for video — increase the target size, extend the duration, or lower the audio bitrate.
How to Use This Calculator
- Enter the Target File Size (MB) you need to hit.
- Enter the Duration (minutes) of the video.
- Optionally set Audio Bitrate (kbps) — defaults to 128 kbps if left blank.
- Select Calculate to get the video bitrate to use in your export settings.
Related Calculations
Working with audio-only files instead? Use the Audio Bitrate Calculator. Need the reverse calculation — file size from a chosen bitrate? See the File Size Calculator.
Principles of Digital Video Bitrate and Compression Ratios
Video bitrate — measured in Megabits per second (Mbps) or Kilobits per second (kbps) — is the transmission rate of compressed digital video data processed per second of playback. In digital media encoding, streaming architectures (such as HLS and MPEG-DASH), and video production, bitrate governs the direct trade-off between compressed visual image quality and bandwidth consumption or final video file size.
Uncompressed Raw Video Data Rates
The uncompressed raw baseline bitrate of a digital video stream is calculated from fundamental raster dimensions:
For instance, a standard 4K UHD video (3840 × 2160) at 60 FPS with 10-bit 4:4:4 color generates an astounding 14.93 Gigabits per second (approx. 1.87 Gigabytes/sec). Digital video codecs achieve massive 100:1 to 300:1 compression ratios to stream 4K video over standard 15-25 Mbps residential internet connections.
Chroma Subsampling and Codec Compression Efficiency
- Chroma Subsampling (4:2:0): Exploiting the human eye's lower sensitivity to color detail compared to luminance (brightness), 4:2:0 subsampling halves horizontal and vertical color resolution, cutting raw data rates by 50% before compression.
- Codec Generations:
- H.264 / AVC (Legacy): Requires approx. 8 to 12 Mbps for 1080p60.
- H.265 / HEVC (Modern): 50% more efficient than H.264 (requires approx. 15 to 25 Mbps for 4K60).
- AV1 / VVC (Next-Gen): 30% more efficient than HEVC, enabling crisp 4K streaming at under 12 Mbps.
Constant Bitrate (CBR) versus Variable Bitrate (VBR)
| Encoding Mode | Bitrate Behavior | Best Application |
|---|---|---|
| Constant Bitrate (CBR) | Fixed data rate regardless of scene motion complexity | Live broadcast television, satellite uplinks |
| Variable Bitrate (VBR 1-Pass) | Allocates more bits to fast action, fewer to static scenes | Real-time streaming (Twitch, YouTube Live) |
| Constrained 2-Pass VBR (C-VBR) | Analyzes full video in pass 1, optimizes bit distribution in pass 2 | On-demand streaming (Netflix, Blu-ray authoring) |
Step-by-Step Worked Calculation Example
Example: Calculating Target Bitrate for a 2-Hour 4K Feature Film
Problem: A post-production video engineer needs to encode a 120-minute (7,200 seconds) 4K movie to fit exactly on a standard 50 GB dual-layer Blu-ray disc (target maximum video file size = 42.0 Gigabytes, leaving 8 GB for Dolby Atmos audio and interactive menus). Calculate: (1) The maximum average video bitrate in Megabits per second (Mbps); and (2) The total data transferred per minute.
Step 1: Convert available file size into Megabits (1 Byte = 8 bits):
Available Video Data = 42.0 GB × 1,000 MB/GB = 42,000 Megabytes
Data in Megabits = 42,000 MB × 8 = 336,000 Megabits
Step 2: Calculate average video bitrate:
Bitrate (Mbps) = Total Megabits / Total Seconds = 336,000 Mbits / 7,200 s = 46.67 Mbps
Step 3: Calculate data rate per minute:
Data per Minute = 46.67 Mbps × 60 s / 8 = 350.0 Megabytes / minute
Conclusion: Encoding the movie using HEVC at an average VBR target of 46.5 Mbps ensures master-quality 4K playback while guaranteeing the file fits safely within the 42 GB disc budget.
Common Pitfalls in Video Bitrate Sizing
- Confusing Megabits (Mbps) with Megabytes (MB/s): Internet speeds and encoder bitrates are measured in Megabits (lowercase 'b'); storage file sizes are measured in Megabytes (uppercase 'B'). Divide Megabits by 8 to get Megabytes.
- Ignoring Audio and Subtitle Overhead: High-resolution uncompressed 7.1 channel audio tracks can consume an additional 3 to 6 Mbps of stream bandwidth.
Group of Pictures (GOP) Structure: I, P, and B-Frames
Modern inter-frame video compression algorithms organize video streams into a repeating sequence of frames known as a Group of Pictures (GOP):
- I-Frames (Intra-Coded / Keyframes): Complete self-contained static images compressed like JPEGs. Provide seek points and consume the highest bit budget.
- P-Frames (Predicted Frames): Store only the directional motion vectors and changes relative to the preceding frame, achieving 50% higher compression.
- B-Frames (Bi-Directional Predictive Frames): Interpolate differences from both preceding and succeeding frames, delivering maximum data compression.
Perceptual Video Quality Metrics (VMAF and SSIM)
Streaming networks (such as Netflix) optimize video bitrates using Video Multi-Method Assessment Fusion (VMAF) developed with machine learning. VMAF scores compressed video from 0 to 100 based on human visual perception, allowing streaming platforms to dynamically adjust bitrate ladders to maintain VMAF > 93 with minimal bandwidth consumption.
Adaptive Bitrate (ABR) Streaming Ladders
Content delivery networks (CDNs) transcode master video files into multi-bitrate ABR ladders (from 360p at 500 kbps to 4K at 20 Mbps), dynamically switching video quality to match real-time cellular network throughput without buffering interruptions.