This page needs JavaScript. Command line option: ffmpeg -i in.mp4 -c:v libx264 -b:v 1200k -pass 2 -c:a aac -b:a 96k out.mp4

Video Bitrate Calculator (Exact Target Size)

Punch in your duration and target MB to get the exact bitrate you need. Works for H.264, HEVC, and AV1 exports.

Need presets instead? Try 10MB, 25MB, 50MB, or 100MB.

๐Ÿ”’ Secure & Private: Files auto-delete after 1 hour. No sign-up required.

Calculate your bitrate

We use decimal megabytes (MB x 8,000 / seconds). Switch to 8,192 for MiB if your workflow demands it.

Total bitrate: -

Video bitrate: -

Formula: bitrate_kbps โ‰ˆ (MB x 8000) รท seconds. Subtract audio to get the video bitrate.

We build a link to the main tool with your target MB and codec. Adjust bitrate there if you need fine control.

How to use this bitrate calculator

  1. Measure your runtime. Drop in hh:mm:ss-00:02:15 for a short clip or 00:20:00 for a webinar.
  2. Set the size you need. Pick the MB limit from your LMS, inbox, or Discord channel.
  3. Pick a codec. H.264 is the safest, HEVC/AV1 keep higher quality at the same size.
  4. Click "Apply to Compressor." We open the FitToMB tool with your target. Upload a video and let it handle the rest.

Need format advice first? Read the MP4 compression guide or the MOV workflow. Shooting on mobile? The iPhone guide covers capture settings before you compress.

Where to use these bitrates

FAQ

Why do MB and MiB differ?

MB (megabytes) uses decimal math (1 MB = 1,000,000 bytes) while MiB uses binary (1 MiB = 1,048,576 bytes). Most upload portals quote decimal MB, so this calculator defaults to that.

What audio bitrate should I choose?

128 kbps stereo is a safe default for voice and light music. Drop to 96 kbps if you need extra headroom or boost to 192 kbps for music-heavy projects.

Should I use CRF or a target bitrate?

CRF is great when size can float (YouTube, archives). Use a target bitrate when you must hit a strict MB cap-this calculator gives you that number instantly.