Video Bitrate Calculator
Work out the bitrate that fits a target file size, or the file size a bitrate produces. Includes audio budget, container overhead and recommended bitrates by resolution.
Result
At 685 kbps an hour of this video is about 294.0 MB.
-c:v libx264 -b:v 557k -maxrate 557k -bufsize 1114k -c:a aac -b:a 128k
Recommended bitrates by resolution
| Resolution | 24–30 fps | 48–60 fps | Size per minute |
|---|---|---|---|
| 2160p (4K) | 35–45 Mbps | 53–68 Mbps | 321.9 MB |
| 1440p (2K) | 16 Mbps | 24 Mbps | 114.4 MB |
| 1080p | 8 Mbps | 12 Mbps | 57.2 MB |
| 720p | 5 Mbps | 7.5 Mbps | 35.8 MB |
| 480p | 2.5 Mbps | 4 Mbps | 17.9 MB |
| 360p | 1 Mbps | 1.5 Mbps | 7.15 MB |
The H.264 column reproduces YouTube's published recommended upload bitrates for SDR video. They are upload targets, deliberately generous — a well-encoded 1080p clip for a website often looks fine at half these numbers.
What is the Video Bitrate Calculator?
The ByteTools Video Bitrate Calculator solves the encoding triangle in both directions. Give it a target file size and a video length and it returns the total bitrate you can spend, minus the audio budget, leaving the video bitrate to pass to your encoder.
- Works in both directions: size to bitrate, or bitrate to size
- Subtracts the audio budget to give a usable video bitrate
- Explicit binary or decimal megabyte convention
- Container overhead allowance so the result actually fits
- Presets for Discord, email, WhatsApp and DVD limits
- Copyable ffmpeg flags and a YouTube bitrate reference table
How to use the Video Bitrate Calculator
- 1
Choose whether you are working out a bitrate from a size, or a size from a bitrate.
- 2
Enter the video length in hours, minutes and seconds.
- 3
Enter your target file size (or total bitrate), and pick the audio bitrate.
- 4
Adjust the container overhead and megabyte convention if you need to.
- 5
Read the total and video bitrate, then copy the ffmpeg flags if you want them.
About the Video Bitrate Calculator
The ByteTools Video Bitrate Calculator solves the encoding triangle in both directions. Give it a target file size and a video length and it returns the total bitrate you can spend, minus the audio budget, leaving the video bitrate to pass to your encoder. Switch modes and it does the reverse: enter a bitrate and see how big the file will be.
It is honest about the details that trip people up. You choose whether a megabyte means 1,048,576 bytes (what Discord, Windows and most upload limits mean) or 1,000,000, and there is a container overhead setting because muxing headers and indexes really do take a couple of percent. Preset buttons cover common limits, and the finished settings are shown as a copyable line of ffmpeg flags.
A reference table lists YouTube's published recommended upload bitrates by resolution, with a codec selector that scales them for HEVC, VP9 and AV1. Those scaled figures are rules of thumb, not published targets, and the page says so. Everything is calculated instantly in your browser — nothing is uploaded and no file is needed.
Frequently asked questions
How do I calculate video bitrate from file size?
Multiply the file size in bytes by eight to get bits, then divide by the length in seconds. This calculator does it for you and also subtracts the audio bitrate, so the number it gives you is the video bitrate to put into your encoder.
What bitrate should I use for 1080p video?
YouTube's published recommendation for 1080p SDR uploads is 8 Mbps at standard frame rates and 12 Mbps at 48–60 fps. Those are deliberately generous upload targets — a 1080p clip destined for a website often looks fine at half that.
How do I fit a video under Discord's 10 MB limit?
Click the Discord free preset, enter your clip's length and pick an audio bitrate, and the calculator shows the video bitrate that fits. If that number lands below about 300 kbps, the clip is too long for the limit and needs trimming or a smaller frame size.
Why does the calculator ask about megabytes being 1,048,576 bytes?
Because the two definitions differ by about 5%, which is enough to push a file over an upload limit. Discord, Windows and most services mean 1,048,576 bytes, while drive manufacturers mean 1,000,000, so the calculator makes you pick rather than guessing.
Is HEVC or AV1 really half the bitrate of H.264?
Roughly, for similar perceived quality, but it varies a lot with content and encoder settings. The codec selector here scales the H.264 figures by 55% for HEVC and VP9 and 45% for AV1 as a planning rule of thumb, not as a guaranteed result.
Related tools
Compress Video to Target Size
Compress a video to an exact target size in MB — 8 MB, 10 MB, 25 MB and more. Bitrate is calculated from duration automatically. Nothing is uploaded.
Video Metadata Viewer
See a video's duration, resolution, frame rate, codecs, rotation flag and creation date. Reads MP4, MOV, WebM and MKV headers without uploading the file.
SMPTE Timecode Calculator
Convert between SMPTE timecode and frame numbers at 23.976 to 60 fps, with true drop-frame arithmetic, plus add and subtract two timecodes.
Unit Converter
Convert between units of length, weight, temperature, area, volume, speed, time and data storage instantly, with a swap button and common conversion tables.
Image Compressor
Compress JPG, PNG and WebP images in your browser with an adjustable quality slider. See before/after file size and download the smaller image free.