Video bitrate calculator

Calculate the ideal video bitrate for a target file size. Enter duration and target size to get the recommended bitrate.

Free forever
No file uploads
No watermarks
Works offline

Target file size

Video duration

min
sec

Audio bitrate

Recommended settings

Video bitrate555 Kbps
Total bitrate (video + audio)683 Kbps
Audio bitrate128 Kbps
Expected qualityLow (360p)
Estimated file size25.0 MB

Related tools

What this tool does

A pure calculator that tells you what video bitrate to use based on your target file size, video duration, and audio bitrate. No video processing — just math. Useful before compressing or exporting video.

Why use it

Bitrate is the single number that controls the trade-off between video quality and file size. Every compression tool needs a bitrate target, but arriving at the right number requires arithmetic that few people have memorized. If you set the bitrate too low for your file size limit, you get a small file with poor quality. If you set it too high, the file exceeds the platform limit and the upload fails or gets rejected.

The calculation is simple: (target file size in megabytes times 8 times 1024) divided by duration in seconds gives you total Kbps. Then subtract the audio bitrate to get the video bitrate. But having to do this arithmetic every time (and remember the unit conversion factor) is friction that this tool removes.

How it works under the hood

This tool contains no FFmpeg or AI processing. It is a pure JavaScript calculator. The formula is: totalBitsAvailable = sizeMb * 8 * 1024 (converts megabytes to kilobits). audioBitsUsed = audioBitrateKbps * durationSeconds. videoBitrateKbps = (totalBitsAvailable - audioBitsUsed) / durationSeconds. The quality assessment (Excellent, Good, Acceptable, Low, Very Low) maps the resulting video bitrate to approximate resolution capability: above 5000 Kbps is 1080p-capable, above 2500 Kbps is 720p, above 1000 Kbps is 480p, above 500 Kbps is 360p. These thresholds are general guidelines for H.264 at typical content complexity.

Tips and best practices

The calculator gives you the maximum video bitrate that fits within your size constraint. When you enter this value into a compression tool, the output will be approximately the target size, but not exactly. Real file sizes vary slightly due to container overhead, keyframe spacing, and content complexity. For critical size constraints (must be under 16 MB for WhatsApp), target 90 to 95 percent of the calculated bitrate to leave headroom.

Audio bitrate is set to 128 Kbps by default, which is standard for spoken word and general video content. If your video is music-focused, use 192 Kbps for the audio bitrate, which will reduce the available video bitrate accordingly.

If the calculated video bitrate is below 500 Kbps, the output will likely look poor. In that case, the only options are to accept lower quality, shorten the video, or negotiate a larger file size limit with the destination.

Browser tool vs alternatives

Bitrate calculation is a formula that any calculator can perform, but the unit conversions (MB to kilobits, time to seconds, audio versus video split) are easy to get wrong. Online bitrate calculators exist but many are embedded in codec-specific guides that include unneeded complexity. This tool does the calculation instantly with preset file size targets for the most common platforms, a duration picker, and a quality readout that tells you whether the result is usable.

Read the guide

How to Calculate Video Bitrate for a Target File Size

What to do next

Frequently Asked Questions

What is bitrate?

Bitrate is how many bits of data are used per second of video. Higher bitrate = better quality but larger files.

How do I use this number?

Use the calculated bitrate in your video editor's export settings or in the MediaBrew Compress Video tool.

Why does audio bitrate matter?

The total file size budget is split between video and audio. Higher audio bitrate leaves less room for video quality.

What bitrate do I need for 1080p?

Roughly 5,000-8,000 Kbps for H.264. For 4K, aim for 15,000-30,000 Kbps.

Last updated: 2026-09-05